commit | 935eb5ed6be35860a99ea242fb753f687d54a308 | [log] [tgz] |
---|---|---|
author | Piyush Mehrotra <piee@google.com> | Thu Jul 27 19:35:14 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Sep 07 21:54:51 2023 +0000 |
tree | 10a69427ff48dd618a5067c12a834ed9f12600ac | |
parent | 08f9c38373848953f04f73f77d4e7aaa441e3421 [diff] |
[DO NOT MERGE] Check caller's uid in backupAgentCreated callback AM.backupAgentCreated() should enforce that caller belongs the package called in the API. Bug: 289549315 Test: atest android.security.cts.ActivityManagerTest#testActivityManager_backupAgentCreated_rejectIfCallerUidNotEqualsPackageUid (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c31434d6a097f815e8daec899ba92348487cbfac) Merged-In: I9f3ae5ec0b8f00e020d471cc0eddf8bd8bdbb82d Change-Id: I9f3ae5ec0b8f00e020d471cc0eddf8bd8bdbb82d