Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 462bac92 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android Git Automerger
Browse files

am e7884d68: am d85621c9: Don\'t crash when extra logging is enabled.

Merge commit 'e7884d68'

* commit 'e7884d68':
  Don't crash when extra logging is enabled.
parents b062f02d e7884d68
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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++) {