Skip to content

Commit 56e7563

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "Fix issue #7342364: JellyBean broke Toddler Lock, again" into jb-mr1-dev
2 parents e1655c9 + 77119bc commit 56e7563

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

services/java/com/android/server/pm/PackageManagerService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2522,7 +2522,8 @@ ResolveInfo findPreferredActivity(Intent intent, String resolvedType,
25222522
if (pa.mPref.mMatch != match) {
25232523
continue;
25242524
}
2525-
final ActivityInfo ai = getActivityInfo(pa.mPref.mComponent, flags, userId);
2525+
final ActivityInfo ai = getActivityInfo(pa.mPref.mComponent,
2526+
flags | PackageManager.GET_DISABLED_COMPONENTS, userId);
25262527
if (DEBUG_PREFERRED) {
25272528
Log.v(TAG, "Got preferred activity:");
25282529
if (ai != null) {

services/java/com/android/server/wm/WindowManagerService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10561,7 +10561,8 @@ void dumpWindowsNoHeaderLocked(PrintWriter pw, boolean dumpAll,
1056110561
pw.print(": "); pw.println(pair.second);
1056210562
}
1056310563
}
10564-
pw.println(" DisplayContents");
10564+
pw.println();
10565+
pw.println(" DisplayContents:");
1056510566
if (mDisplayReady) {
1056610567
DisplayContentsIterator dCIterator = new DisplayContentsIterator();
1056710568
while (dCIterator.hasNext()) {

0 commit comments

Comments
 (0)