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

Commit e4fe56e1 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Fix settings crash on noti listener screen

Test: manual
Bug: 114417814
Change-Id: I053a62201d3e9a1066d16d4a494a0c13bebccaf7
parent d4764c80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ public abstract class ManagedServiceSettings extends EmptyTextSettings {
            CharSequence title = null;
            try {
                title = mPm.getApplicationInfoAsUser(
                        service.packageName, 0, getCurrentUser(managedProfileId)).loadLabel(mPm);
                        service.packageName, 0, UserHandle.myUserId()).loadLabel(mPm);
            } catch (PackageManager.NameNotFoundException e) {
                // unlikely, as we are iterating over live services.
                Log.e(TAG, "can't find package name", e);