summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2015-07-17 15:39:08 -0700
committerChristopher Tate <ctate@google.com>2015-07-17 15:39:08 -0700
commitd85a66420244eea14588cabf8373cd90e0a6ca49 (patch)
treefaf10a9e54260538bf0c9b9464703cfcadffb5bb /services
parent0f724601d78d8f36a297333227d9c460e10b3203 (diff)
downloadframeworks_base-d85a66420244eea14588cabf8373cd90e0a6ca49.zip
frameworks_base-d85a66420244eea14588cabf8373cd90e0a6ca49.tar.gz
frameworks_base-d85a66420244eea14588cabf8373cd90e0a6ca49.tar.bz2
Don't fall back to domain verification state when looking up app linkage state
This is in support of the always/never/ask UI tweaks in Settings: any "assume always" fallback at the verification layer should not be conflated with the user-facing semantic toggle. This was causing the UI to report apps as being in the 'always open their links' state inappropriately. Bug 22532193 Change-Id: Iaa4bc3a2d5db814e1b0d96bc1c4ecfaafb1e3105
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/pm/Settings.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/services/core/java/com/android/server/pm/Settings.java b/services/core/java/com/android/server/pm/Settings.java
index 312b7b3..279608c 100644
--- a/services/core/java/com/android/server/pm/Settings.java
+++ b/services/core/java/com/android/server/pm/Settings.java
@@ -1056,13 +1056,7 @@ final class Settings {
}
return INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED;
}
- int status = (int)(ps.getDomainVerificationStatusForUser(userId) >> 32);
- if (status == INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED) {
- if (ps.getIntentFilterVerificationInfo() != null) {
- status = ps.getIntentFilterVerificationInfo().getStatus();
- }
- }
- return status;
+ return (int)(ps.getDomainVerificationStatusForUser(userId) >> 32);
}
boolean updateIntentFilterVerificationStatusLPw(String packageName, final int status, int userId) {