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

Commit 16a8b84b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add NPE protection to NextAlarmController dump" into sc-qpr1-dev am:...

Merge "Add NPE protection to NextAlarmController dump" into sc-qpr1-dev am: 61671b41 am: dd799dcc

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15818573

Change-Id: Ia60b73947fb439c5f2dac22ac19e24f2e6783caf
parents b7e0cc8c dd799dcc
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -71,7 +71,11 @@ public class NextAlarmControllerImpl extends BroadcastReceiver
        if (mNextAlarm != null) {
            pw.println(new Date(mNextAlarm.getTriggerTime()));
            pw.print("  PendingIntentPkg=");
            if (mNextAlarm.getShowIntent() != null) {
                pw.println(mNextAlarm.getShowIntent().getCreatorPackage());
            } else {
                pw.println("showIntent=null");
            }
        } else {
            pw.println("null");
        }