commit | 2bf65c6e5c8068ec498aa1940a2ea77b11db6b6e | [log] [tgz] |
---|---|---|
author | Bernardo Rufino <brufino@google.com> | Tue Apr 24 11:29:02 2018 +0100 |
committer | Bernardo Rufino <brufino@google.com> | Tue Apr 24 11:41:13 2018 +0100 |
tree | 6d2c313a8b4fc0ceddf4a8283ccaedf6f8df89a5 | |
parent | d8c77c94ff404d647f27546e7694f610bf0e2cb9 [diff] |
Check self permission in BackupManager#isBackupServiceActive Old method only checked for IPC caller, method isn't an IPC, adding check for self permission as well. Bug: 78467264 Test: atest com.google.android.gts.devicepolicy.DeviceOwnerTest#testBackupServiceActive Change-Id: If9eed90f2deaaf1a4f2376fdf1881e62ee8954fb