Commit 935eb5e
[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: I9f3ae5ec0b8f00e020d471cc0eddf8bd8bdbb82d1 parent 08f9c38 commit 935eb5e
1 file changed
Lines changed: 21 additions & 2 deletions
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2988 | 2988 | | |
2989 | 2989 | | |
2990 | 2990 | | |
| 2991 | + | |
| 2992 | + | |
| 2993 | + | |
| 2994 | + | |
| 2995 | + | |
| 2996 | + | |
| 2997 | + | |
| 2998 | + | |
| 2999 | + | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
2991 | 3007 | | |
2992 | 3008 | | |
2993 | 3009 | | |
| |||
12918 | 12934 | | |
12919 | 12935 | | |
12920 | 12936 | | |
| 12937 | + | |
| 12938 | + | |
| 12939 | + | |
12921 | 12940 | | |
12922 | | - | |
| 12941 | + | |
12923 | 12942 | | |
12924 | 12943 | | |
12925 | 12944 | | |
12926 | 12945 | | |
12927 | | - | |
| 12946 | + | |
12928 | 12947 | | |
12929 | 12948 | | |
12930 | 12949 | | |
| |||
0 commit comments