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

Commit 21df117d authored by Jerry Shi's avatar Jerry Shi
Browse files

Add null check for settings default preference controller

Test: local built and tested
Bug: 281771729
Change-Id: Ib3467c22262125ac7dac00eb9ea68516ddf53b5a
parent 90b344e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ public class DefaultCombinedPreferenceController extends DefaultAppPreferenceCon
                final ServiceInfo serviceInfo = resolveInfo.serviceInfo;

                // If there are multiple autofill services then pick the first one.
                if (mKey.startsWith(serviceInfo.packageName)) {
                if (mKey != null && mKey.startsWith(serviceInfo.packageName)) {
                    final String settingsActivity;
                    try {
                        settingsActivity =