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

Commit 14f42ca9 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am 110ddbfe: Merge "Fix NullPointerException issue when user change"

* commit '110ddbfe':
  Fix NullPointerException issue when user change
parents d6b0b172 110ddbfe
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -841,8 +841,10 @@ public class RunningState {
                            info, context.getResources());
                }
                String name = info != null ? info.name : null;
                if (name == null) {
                if (name == null && info != null) {
                    name = Integer.toString(info.id);
                } else if (info == null) {
                    name = context.getString(R.string.unknown);
                }
                userItem.mUser.mLabel = context.getResources().getString(
                        R.string.running_process_item_user_label, name);