Merge "Clear the right uid's alarms, please"

This commit is contained in:
TreeHugger Robot
2018-01-17 05:34:39 +00:00
committed by Android (Google) Code Review

View File

@@ -6243,7 +6243,7 @@ public class ActivityManagerService extends IActivityManager.Stub
// Clear its pending alarms
AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class);
ami.removeAlarmsForUid(uid);
ami.removeAlarmsForUid(appInfo.uid);
}
} catch (RemoteException e) {
}