From 2f90dd784f8318a5c7df5b95015bcf261c9b02fd Mon Sep 17 00:00:00 2001 From: Lei Yu Date: Fri, 12 Apr 2019 13:03:57 -0700 Subject: [PATCH] Hide app usage time in high usage dialog Also update strings a little bit Bug: 112285389 Test: Manual Change-Id: I5c4f3e2de635eb0b880d2d3d5a1550e1af41d931 --- res/values/strings.xml | 6 +++--- .../settings/fuelgauge/batterytip/HighUsageAdapter.java | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index d7e5c84c336..b61c8ae8e79 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -5321,11 +5321,11 @@ Battery may run out earlier than usual - Your phone has been used more than usual. Your battery may run out sooner than expected.\n\nMost used apps since full charge: + Your phone has been used more than usual. Your battery may run out sooner than expected.\n\nTop apps by battery usage: - Your tablet has been used more than usual. Your battery may run out sooner than expected.\n\nMost used apps since full charge: + Your tablet has been used more than usual. Your battery may run out sooner than expected.\n\nTop apps by battery usage: - Your device has been used more than usual. Your battery may run out sooner than expected.\n\nMost used apps since full charge: + Your device has been used more than usual. Your battery may run out sooner than expected.\n\nTop apps by battery usage: Includes high-power background activity diff --git a/src/com/android/settings/fuelgauge/batterytip/HighUsageAdapter.java b/src/com/android/settings/fuelgauge/batterytip/HighUsageAdapter.java index d832640736a..cd79ea04f27 100644 --- a/src/com/android/settings/fuelgauge/batterytip/HighUsageAdapter.java +++ b/src/com/android/settings/fuelgauge/batterytip/HighUsageAdapter.java @@ -79,9 +79,6 @@ public class HighUsageAdapter extends RecyclerView.Adapter