Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarFragment.java +5 −0 Original line number Diff line number Diff line Loading @@ -281,6 +281,7 @@ public class NavigationBarFragment extends Fragment implements Callbacks { IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_OFF); filter.addAction(Intent.ACTION_SCREEN_ON); filter.addAction(Intent.ACTION_USER_SWITCHED); getContext().registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, filter, null, null); notifyNavigationBarScreenOn(); mOverviewProxyService.addCallback(mOverviewProxyListener); Loading Loading @@ -1084,6 +1085,10 @@ public class NavigationBarFragment extends Fragment implements Callbacks { || Intent.ACTION_SCREEN_ON.equals(action)) { notifyNavigationBarScreenOn(); } if (Intent.ACTION_USER_SWITCHED.equals(action)) { // The accessibility settings may be different for the new user updateAccessibilityServicesState(mAccessibilityManager); }; } }; Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarFragment.java +5 −0 Original line number Diff line number Diff line Loading @@ -281,6 +281,7 @@ public class NavigationBarFragment extends Fragment implements Callbacks { IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_OFF); filter.addAction(Intent.ACTION_SCREEN_ON); filter.addAction(Intent.ACTION_USER_SWITCHED); getContext().registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, filter, null, null); notifyNavigationBarScreenOn(); mOverviewProxyService.addCallback(mOverviewProxyListener); Loading Loading @@ -1084,6 +1085,10 @@ public class NavigationBarFragment extends Fragment implements Callbacks { || Intent.ACTION_SCREEN_ON.equals(action)) { notifyNavigationBarScreenOn(); } if (Intent.ACTION_USER_SWITCHED.equals(action)) { // The accessibility settings may be different for the new user updateAccessibilityServicesState(mAccessibilityManager); }; } }; Loading