From e799175b6ba3aadd972f4b861758d675d1f93987 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Wed, 16 Jan 2013 17:56:46 -0800 Subject: AppOps: fix nested op tracking, new API to get apps using permissions. Change-Id: I20c7bd58febc01d6911a90440867eaacd133c464 --- test-runner/src/android/test/mock/MockPackageManager.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test-runner/src') 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 getPackagesHoldingPermissions(String[] permissions, + int flags) { + throw new UnsupportedOperationException(); + } + /** @hide */ @Override public List getInstalledPackages(int flags, int userId) { -- cgit v1.1