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

Commit fd37f240 authored by Lei Yu's avatar Lei Yu
Browse files

Add help uri for smart battery page

Bug: 77299457
Test: Build
Change-Id: I3d0ba355e0ded6f830eddd501f57af601c0b33c7
parent 3a9fbac5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -9868,6 +9868,9 @@
    <!-- Help URI, battery saver page [DO NOT TRANSLATE] -->
    <string name="help_url_battery_saver_settings" translatable="false"></string>
    <!-- Help URI, smart battery page [DO NOT TRANSLATE] -->
    <string name="help_uri_smart_battery_settings" translatable="false"></string>
    <!-- Title label for new device suggestion, which is displayed in Settings homepage [CHAR LIMIT=100] -->
    <string name="new_device_suggestion_title">What\'s new and exciting?</string>
+5 −0
Original line number Diff line number Diff line
@@ -59,6 +59,11 @@ public class SmartBatterySettings extends DashboardFragment {
        return R.xml.smart_battery_detail;
    }

    @Override
    public int getHelpResource() {
        return R.string.help_uri_smart_battery_settings;
    }

    @Override
    protected List<AbstractPreferenceController> createPreferenceControllers(Context context) {
        return buildPreferenceControllers(context, (SettingsActivity) getActivity(), this);