diff options
author | dcashman <dcashman@google.com> | 2014-08-14 09:54:51 -0700 |
---|---|---|
committer | dcashman <dcashman@google.com> | 2014-08-14 22:13:24 -0700 |
commit | c6f22499f3046684d7175e10ca42cce1492cd36f (patch) | |
tree | 64ae9686ff5c0a99576d996d90834218558ddcbb /test-runner/src/android/test/mock/MockPackageManager.java | |
parent | 14690b0aa380697179eb0432939a8ce96e6561f0 (diff) | |
download | frameworks_base-c6f22499f3046684d7175e10ca42cce1492cd36f.zip frameworks_base-c6f22499f3046684d7175e10ca42cce1492cd36f.tar.gz frameworks_base-c6f22499f3046684d7175e10ca42cce1492cd36f.tar.bz2 |
Address KeySet API Review
Hide KeySet API. Change getKeySetByAlias to not require aliases from the calling
package. Make KeySet parcelable. Add hashCode method.
Bug: 16895228
Bug: 17009318
Change-Id: I75951947dfc7a3cca9f8873bda72576d11abaaf0
Diffstat (limited to 'test-runner/src/android/test/mock/MockPackageManager.java')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index c84f40e..cd7d178 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -617,21 +617,25 @@ public class MockPackageManager extends PackageManager { throw new UnsupportedOperationException(); } + /** @hide */ @Override public KeySet getKeySetByAlias(String packageName, String alias) { throw new UnsupportedOperationException(); } + /** @hide */ @Override public KeySet getSigningKeySet(String packageName) { throw new UnsupportedOperationException(); } + /** @hide */ @Override public boolean isSignedBy(String packageName, KeySet ks) { throw new UnsupportedOperationException(); } + /** @hide */ @Override public boolean isSignedByExactly(String packageName, KeySet ks) { throw new UnsupportedOperationException(); |