summaryrefslogtreecommitdiff
path: root/tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2020-10-19 19:37:30 +0100
committerTobias Thierer <tobiast@google.com>2020-11-02 21:49:17 +0000
commitb2ab2c414fcac5f68edd8d790d3773f1f9330e3b (patch)
tree1a8cea726d91aaa5795eb483deba968f5dffdfa1 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
parent3a20a22ea67a44b7a1cc330d70c1067bc302b48f (diff)
Enforce BACKUP permission on Service end.
BackupManager runs in the client process, whereas BackupManagerService runs in the system server process. Therefore, apps permissions need should be enforced on the service side. Bug: 158482162 Test: Manually checked that a sample app encounters SecurityException after but not before this CL, when running code similar to the sample in http://b/158482162#comment1 to figure out whether isBackupServiceActive() for its own uid. Change-Id: I59693819542a80a065a9c88373393b0ba0dbef65
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions