Loading services/accessibility/java/com/android/server/accessibility/AccessibilityServiceConnection.java +10 −0 Original line number Diff line number Diff line Loading @@ -252,6 +252,16 @@ class AccessibilityServiceConnection extends AbstractAccessibilityServiceConnect } } @Override public void onNullBinding(ComponentName componentName) { // Per guidance from ServiceConnection we must call Context#unbindService here to // release the tracking resources associated with the ServiceConnection, to prevent // Background Activity Launches (BAL). synchronized (mLock) { unbindLocked(); } } @Override protected boolean hasRightsToCurrentUserLocked() { // We treat calls from a profile as if made by its parent as profiles Loading Loading
services/accessibility/java/com/android/server/accessibility/AccessibilityServiceConnection.java +10 −0 Original line number Diff line number Diff line Loading @@ -252,6 +252,16 @@ class AccessibilityServiceConnection extends AbstractAccessibilityServiceConnect } } @Override public void onNullBinding(ComponentName componentName) { // Per guidance from ServiceConnection we must call Context#unbindService here to // release the tracking resources associated with the ServiceConnection, to prevent // Background Activity Launches (BAL). synchronized (mLock) { unbindLocked(); } } @Override protected boolean hasRightsToCurrentUserLocked() { // We treat calls from a profile as if made by its parent as profiles Loading