Don't take a lock on the UI thread.
am: d4b7862785
Change-Id: Iae6c7832c7ac1c853b3e7aee19c23442e87cebfb
This commit is contained in:
@@ -484,12 +484,13 @@ public class ShortcutService extends IShortcutService.Stub {
|
|||||||
final private IUidObserver mUidObserver = new IUidObserver.Stub() {
|
final private IUidObserver mUidObserver = new IUidObserver.Stub() {
|
||||||
@Override
|
@Override
|
||||||
public void onUidStateChanged(int uid, int procState, long procStateSeq) {
|
public void onUidStateChanged(int uid, int procState, long procStateSeq) {
|
||||||
handleOnUidStateChanged(uid, procState);
|
injectPostToHandler(() -> handleOnUidStateChanged(uid, procState));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onUidGone(int uid, boolean disabled) {
|
public void onUidGone(int uid, boolean disabled) {
|
||||||
handleOnUidStateChanged(uid, ActivityManager.PROCESS_STATE_NONEXISTENT);
|
injectPostToHandler(() ->
|
||||||
|
handleOnUidStateChanged(uid, ActivityManager.PROCESS_STATE_NONEXISTENT));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user