Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a667543d authored by Yisroel Forta's avatar Yisroel Forta Committed by Android (Google) Code Review
Browse files

Merge "Remove unnecessary checks for internal only addStartInfoTimestamp" into main

parents 03f6c10f eead22bb
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -18003,14 +18003,6 @@ public class ActivityManagerService extends IActivityManager.Stub
        @Override
        public void addStartInfoTimestamp(int key, long timestampNs, int uid, int pid,
                int userId) {
            // For the simplification, we don't support USER_ALL nor USER_CURRENT here.
            if (userId == UserHandle.USER_ALL || userId == UserHandle.USER_CURRENT) {
                throw new IllegalArgumentException("Unsupported userId");
            }
            mUserController.handleIncomingUser(pid, uid, userId, true,
                    ALLOW_NON_FULL, "addStartInfoTimestampSystem", null);
            addStartInfoTimestampInternal(key, timestampNs, userId, uid);
        }