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

Commit 64590ec7 authored by Andrew Sapperstein's avatar Andrew Sapperstein
Browse files

Add help uri for process stats summary and apps.

Bug: 62903521
Test: manual
Change-Id: I55cdb061d79232676d4064677bd7f5936700e8b7
parent 69eeb6c3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6249,6 +6249,8 @@
    <string name="help_url_double_tap_screen" translatable="false"></string>
    <string name="help_url_account_detail" translatable="false"></string>
    <string name="help_url_icc_lock" translatable="false"></string>
    <string name="help_uri_process_stats_summary" translatable="false"></string>
    <string name="help_uri_process_stats_apps" translatable="false"></string>
    <!-- User account title [CHAR LIMIT=30] -->
    <string name="user_account_title">Account for content</string>
+5 −0
Original line number Diff line number Diff line
@@ -102,6 +102,11 @@ public class ProcessStatsSummary extends ProcessStatsBase implements OnPreferenc
        return MetricsEvent.PROCESS_STATS_SUMMARY;
    }

    @Override
    protected int getHelpResource() {
        return R.string.help_uri_process_stats_summary;
    }

    @Override
    public boolean onPreferenceClick(Preference preference) {
        if (preference == mAppListPreference) {
+5 −0
Original line number Diff line number Diff line
@@ -95,6 +95,11 @@ public class ProcessStatsUi extends ProcessStatsBase {
        return MetricsEvent.APPLICATIONS_PROCESS_STATS_UI;
    }

    @Override
    protected int getHelpResource() {
        return R.string.help_uri_process_stats_apps;
    }

    @Override
    public void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);