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

Commit faa5fea8 authored by Romain Hunault's avatar Romain Hunault 🚴🏻
Browse files

Merge branch 'pie-1078-fix' into 'v1-pie'

Rename the updater settings entry to "System Updater"

See merge request !43
parents adfe966f bfd5b645
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -108,6 +108,7 @@ public final class Utils extends com.android.settingslib.Utils {
     * Set the preference's title to the matching activity's label.
     */
    public static final int UPDATE_PREFERENCE_FLAG_SET_TITLE_TO_MATCHING_ACTIVITY = 1;
    public static final int UPDATE_PREFERENCE_FLAG_DONT_SET_TITLE_TO_MATCHING_ACTIVITY = 0;

    /**
     * Color spectrum to use to indicate badness.  0 is completely transparent (no data),
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ public class SystemUpdatePreferenceController extends BasePreferenceController {
        if (isAvailable()) {
            Utils.updatePreferenceToSpecificActivityOrRemove(mContext, screen,
                    getPreferenceKey(),
                    Utils.UPDATE_PREFERENCE_FLAG_SET_TITLE_TO_MATCHING_ACTIVITY);
                    Utils.UPDATE_PREFERENCE_FLAG_DONT_SET_TITLE_TO_MATCHING_ACTIVITY);
        }
    }