mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Go home when new tab is installed
Bug: 150943778 Test: Manual Change-Id: Iccd7f62c4cad856849fc1afb2faac9b9fa2f9f97
This commit is contained in:
@@ -95,7 +95,7 @@ public class UserCache {
|
||||
|
||||
private void removeUserChangeListener(Runnable command) {
|
||||
synchronized (this) {
|
||||
mUserChangeListeners.add(command);
|
||||
mUserChangeListeners.remove(command);
|
||||
if (mUserChangeListeners.isEmpty()) {
|
||||
// Disable cache and stop listening
|
||||
mContext.unregisterReceiver(mUserChangeReceiver);
|
||||
|
||||
Reference in New Issue
Block a user