diff --git a/res/values/strings.xml b/res/values/strings.xml
index 2f338788153..a443f7bfdf9 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3022,14 +3022,14 @@
PRL version
MEID (sim slot %1$d)
-
- Both Wi\u2011Fi and Bluetooth are allowed to determine location
-
- Only Wi\u2011Fi is allowed to determine location
-
- Only Bluetooth is allowed to determine location
-
- Neither Wi\u2011Fi nor Bluetooth is allowed to determine location
+
+ Both Wi\u2011Fi and Bluetooth scanning are on
+
+ Wi\u2011Fi scanning is on, Bluetooth scanning is off
+
+ Bluetooth scanning is on, Wi\u2011Fi scanning is off
+
+ Both Wi\u2011Fi and Bluetooth scanning are off
MEID
@@ -3754,13 +3754,25 @@
App permission
Location is off
-
+
-
%1$d
of
%2$d
- app has unlimited access
+ apps has unlimited access
-
%1$d
of
@@ -3771,8 +3783,12 @@
Recent location access
View details
-
+
No apps have requested location recently
+
+ No apps recently accessed location
High battery use
diff --git a/src/com/android/settings/location/RecentLocationAccessPreferenceController.java b/src/com/android/settings/location/RecentLocationAccessPreferenceController.java
index 8a439b7a9ca..a76d3814183 100644
--- a/src/com/android/settings/location/RecentLocationAccessPreferenceController.java
+++ b/src/com/android/settings/location/RecentLocationAccessPreferenceController.java
@@ -74,6 +74,7 @@ public class RecentLocationAccessPreferenceController extends AbstractPreference
mController = AppEntitiesHeaderController.newInstance(mContext, view)
.setHeaderTitleRes(R.string.location_category_recent_location_access)
.setHeaderDetailsRes(R.string.location_recent_location_access_view_details)
+ .setHeaderEmptyRes(R.string.location_no_recent_accesses)
.setHeaderDetailsClickListener((View v) -> {
final Intent intent = new Intent(Intent.ACTION_REVIEW_PERMISSION_USAGE);
intent.putExtra(Intent.EXTRA_PERMISSION_NAME,
@@ -114,8 +115,6 @@ public class RecentLocationAccessPreferenceController extends AbstractPreference
for (; i < MAXIMUM_APP_COUNT; i++) {
mController.removeAppEntity(i);
}
- } else {
- // If there's no item to display, add a "No recent apps" item.
}
mController.apply();
}