summaryrefslogtreecommitdiff
path: root/telephony/common/android
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2020-07-31 01:16:30 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-31 01:16:30 +0000
commitc0e4e1581a761bb24735e6c8b39b3d63217728db (patch)
treea45009e00eeb9c5cdfdb83d255a1ebd50a705eda /telephony/common/android
parentf0eb770c2daf7266625433ce8a244e4318efa101 (diff)
parentdc82235933e1347c098448e99a8727c8c923a8e6 (diff)
Merge "Update language to comply with Android's inclusive language guidance" am: a005cb30ed am: 3772a5b3fd am: c5ef3b9cae am: 03921ada7b am: dc82235933
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1377136 Change-Id: I99fa531f570a13fd3a27abf522383e631f86ceed
Diffstat (limited to 'telephony/common/android')
-rw-r--r--telephony/common/android/telephony/LocationAccessPolicy.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/telephony/common/android/telephony/LocationAccessPolicy.java b/telephony/common/android/telephony/LocationAccessPolicy.java
index 48794cb37853..502bfa3749eb 100644
--- a/telephony/common/android/telephony/LocationAccessPolicy.java
+++ b/telephony/common/android/telephony/LocationAccessPolicy.java
@@ -47,7 +47,7 @@ public final class LocationAccessPolicy {
ALLOWED,
/**
* Indicates that the denial is due to a transient device state
- * (e.g. app-ops, location master switch)
+ * (e.g. app-ops, location main switch)
*/
DENIED_SOFT,
/**
@@ -316,7 +316,7 @@ public final class LocationAccessPolicy {
return LocationPermissionResult.ALLOWED;
}
- // Check the system-wide requirements. If the location master switch is off or
+ // Check the system-wide requirements. If the location main switch is off or
// the app's profile isn't in foreground, return a soft denial.
if (!checkSystemLocationAccess(context, query.callingUid, query.callingPid)) {
return LocationPermissionResult.DENIED_SOFT;
@@ -340,7 +340,7 @@ public final class LocationAccessPolicy {
}
// At this point, we're out of location checks to do. If the app bypassed all the previous
- // ones due to the SDK grandfathering schemes, allow it access.
+ // ones due to the SDK backwards compatibility schemes, allow it access.
return LocationPermissionResult.ALLOWED;
}