summaryrefslogtreecommitdiffstats
path: root/test-runner/src
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-01-16 17:56:46 -0800
committerDianne Hackborn <hackbod@google.com>2013-01-16 18:10:40 -0800
commite799175b6ba3aadd972f4b861758d675d1f93987 (patch)
tree2468fd79769eecff660a7c2d2163fb8ae0a11fca /test-runner/src
parent35654b61e8fe7bc85afcb076ddbb590d51c5865f (diff)
downloadframeworks_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.java6
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) {