diff options
author | Svetoslav <svetoslavganov@google.com> | 2015-06-10 18:43:22 -0700 |
---|---|---|
committer | Svetoslav <svetoslavganov@google.com> | 2015-06-10 21:24:13 -0700 |
commit | f7c06eb03ab4479b9d0656a23a4733d17e995183 (patch) | |
tree | 4f2fd559d9db7eafd59dbef2f2ad2a6bc35d6bff /test-runner/src | |
parent | 970b59cbe377e23e9c681a5cef30c01f730c7377 (diff) | |
download | frameworks_base-f7c06eb03ab4479b9d0656a23a4733d17e995183.zip frameworks_base-f7c06eb03ab4479b9d0656a23a4733d17e995183.tar.gz frameworks_base-f7c06eb03ab4479b9d0656a23a4733d17e995183.tar.bz2 |
Add system API to watch for permission changes
Change-Id: I1ce450a59fb326c14848f46732d877dea33f33c7
Diffstat (limited to 'test-runner/src')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index 3b7aa9f..ac92dc0 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -224,6 +224,18 @@ public class MockPackageManager extends PackageManager { throw new UnsupportedOperationException(); } + /** @hide */ + @Override + public void addOnPermissionsChangeListener(OnPermissionsChangedListener listener) { + throw new UnsupportedOperationException(); + } + + /** @hide */ + @Override + public void removeOnPermissionsChangeListener(OnPermissionsChangedListener listener) { + throw new UnsupportedOperationException(); + } + @Override public int checkSignatures(String pkg1, String pkg2) { throw new UnsupportedOperationException(); |