From 2298ef2f7f89d7a5cab6ef4790d8cbdb189e73e9 Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Mon, 4 Nov 2013 17:02:10 -0800 Subject: Extend preferred-app preload support for complex resolutions Support factory defaults that involve specific type+scheme matching. Bug 11372979 Change-Id: I0d68937797d6b4bc996a8707a7cd21491a3aae3b --- services/java/com/android/server/pm/Settings.java | 26 +++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'services/java/com/android') diff --git a/services/java/com/android/server/pm/Settings.java b/services/java/com/android/server/pm/Settings.java index d3ccba6..0079b54 100644 --- a/services/java/com/android/server/pm/Settings.java +++ b/services/java/com/android/server/pm/Settings.java @@ -1959,10 +1959,14 @@ final class Settings { } boolean doNonData = true; + boolean hasSchemes = false; for (int ischeme=0; ischeme