Commit a16f46f
[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:ff4b0f29e5bcaea805fd5106c8f6353cdc92123d)
Merged-In: I9f3ae5ec0b8f00e020d471cc0eddf8bd8bdbb82d
Change-Id: I9f3ae5ec0b8f00e020d471cc0eddf8bd8bdbb82d1 parent 248bde5 commit a16f46f
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 | |
|---|---|---|---|
| |||
2982 | 2982 | | |
2983 | 2983 | | |
2984 | 2984 | | |
| 2985 | + | |
| 2986 | + | |
| 2987 | + | |
| 2988 | + | |
| 2989 | + | |
| 2990 | + | |
| 2991 | + | |
| 2992 | + | |
| 2993 | + | |
| 2994 | + | |
| 2995 | + | |
| 2996 | + | |
| 2997 | + | |
| 2998 | + | |
| 2999 | + | |
| 3000 | + | |
2985 | 3001 | | |
2986 | 3002 | | |
2987 | 3003 | | |
| |||
12951 | 12967 | | |
12952 | 12968 | | |
12953 | 12969 | | |
| 12970 | + | |
| 12971 | + | |
| 12972 | + | |
12954 | 12973 | | |
12955 | | - | |
| 12974 | + | |
12956 | 12975 | | |
12957 | 12976 | | |
12958 | 12977 | | |
12959 | 12978 | | |
12960 | | - | |
| 12979 | + | |
12961 | 12980 | | |
12962 | 12981 | | |
12963 | 12982 | | |
| |||
0 commit comments