am d85621c9: Don\'t crash when extra logging is enabled.
Merge commit 'd85621c938286a568b1173e7ab29f80ab93d27e1' into gingerbread-plus-aosp * commit 'd85621c938286a568b1173e7ab29f80ab93d27e1': Don't crash when extra logging is enabled.
This commit is contained in:
@@ -2022,7 +2022,11 @@ class PackageManagerService extends IPackageManager.Stub {
|
||||
ActivityInfo ai = getActivityInfo(pa.mActivity, flags);
|
||||
if (DEBUG_PREFERRED) {
|
||||
Log.v(TAG, "Got preferred activity:");
|
||||
ai.dump(new LogPrinter(Log.INFO, TAG), " ");
|
||||
if (ai != null) {
|
||||
ai.dump(new LogPrinter(Log.VERBOSE, TAG), " ");
|
||||
} else {
|
||||
Log.v(TAG, " null");
|
||||
}
|
||||
}
|
||||
if (ai != null) {
|
||||
for (int j=0; j<N; j++) {
|
||||
|
||||
Reference in New Issue
Block a user