Merge "Fix missing observer reply callbacks" into mnc-dr-dev am: d1811e07d5
am: a3798d7a92
* commit 'a3798d7a92ecefe1117b99a2e0f5edce1644f1d0':
Fix missing observer reply callbacks
This commit is contained in:
@@ -383,6 +383,12 @@ public class PhoneStatusBarPolicy implements Callback {
|
||||
@Override
|
||||
public void onUserSwitching(int newUserId, IRemoteCallback reply) {
|
||||
mUserInfoController.reloadUserInfo();
|
||||
if (reply != null) {
|
||||
try {
|
||||
reply.sendResult(null);
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1139,6 +1139,12 @@ public class FingerprintService extends SystemService implements IBinder.DeathRe
|
||||
public void onUserSwitching(int newUserId, IRemoteCallback reply) {
|
||||
mHandler.obtainMessage(MSG_USER_SWITCHING, newUserId, 0 /* unused */)
|
||||
.sendToTarget();
|
||||
if (reply != null) {
|
||||
try {
|
||||
reply.sendResult(null);
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public void onUserSwitchComplete(int newUserId) throws RemoteException {
|
||||
|
||||
Reference in New Issue
Block a user