diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-01-16 17:56:46 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-01-16 18:10:40 -0800 |
commit | e799175b6ba3aadd972f4b861758d675d1f93987 (patch) | |
tree | 2468fd79769eecff660a7c2d2163fb8ae0a11fca /test-runner/src | |
parent | 35654b61e8fe7bc85afcb076ddbb590d51c5865f (diff) | |
download | frameworks_base-e799175b6ba3aadd972f4b861758d675d1f93987.zip frameworks_base-e799175b6ba3aadd972f4b861758d675d1f93987.tar.gz frameworks_base-e799175b6ba3aadd972f4b861758d675d1f93987.tar.bz2 |
AppOps: fix nested op tracking, new API to get apps using
permissions.
Change-Id: I20c7bd58febc01d6911a90440867eaacd133c464
Diffstat (limited to 'test-runner/src')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index 5ee52de..20a26ab 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -146,6 +146,12 @@ public class MockPackageManager extends PackageManager { throw new UnsupportedOperationException(); } + @Override + public List<PackageInfo> getPackagesHoldingPermissions(String[] permissions, + int flags) { + throw new UnsupportedOperationException(); + } + /** @hide */ @Override public List<PackageInfo> getInstalledPackages(int flags, int userId) { |