diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2015-04-06 19:41:28 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2015-04-07 17:13:32 -0700 |
commit | 0788595e0c9bc5e8c1907c63db595010006ef5b4 (patch) | |
tree | 1f44f98341a3ed4c1e4f81bf597f67d25edbbc88 /test-runner/src | |
parent | 37c905e64655d5bfc5ba06fa0bbee10c1fdc6010 (diff) | |
download | frameworks_base-0788595e0c9bc5e8c1907c63db595010006ef5b4.zip frameworks_base-0788595e0c9bc5e8c1907c63db595010006ef5b4.tar.gz frameworks_base-0788595e0c9bc5e8c1907c63db595010006ef5b4.tar.bz2 |
Add IntentFilter auto verification - part 3
- add private API PackageManager.getAllIntentFilters(String)
for getting all IntentFilters from a given package
- update IntentFilterVerificationInfo to use an ArrayList<String>
for domains instead of a String[]
- if you make an App a default domain handler then make the
others as non default
- create an IntentVerificationInfo even if the App IntentFilters
do not need to be verified. This would be done only if the App
has some domain URLs defined and would allow to make it the
default handler for a domain
- a few code optimizations here and there
Change-Id: I4535372a0bb1a2c8e662e1485be8ca700003e9b3
Diffstat (limited to 'test-runner/src')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index c8b6846..79510d0 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -759,6 +759,11 @@ public class MockPackageManager extends PackageManager { throw new UnsupportedOperationException(); } + @Override + public List<IntentFilter> getAllIntentFilters(String packageName) { + throw new UnsupportedOperationException(); + } + /** * @hide */ |