commit | db33797d92d20126523f8203c657ebaf854c36dc | [log] [tgz] |
---|---|---|
author | Malcolm Chen <refuhoo@google.com> | Mon Dec 30 13:56:38 2019 -0800 |
committer | Malcolm Chen <refuhoo@google.com> | Wed Jan 08 13:58:26 2020 -0800 |
tree | e46c4ef68a43890dcd433a4cdc8b2ee6de90ea95 | |
parent | db66de125144a4cb9c215a97ef46a157ff3c28e7 [diff] |
Rename sanitizeLocationInfo as we make it System API. Bug: 146905502 Test: build flash and bootup Change-Id: I6b538f78f401ec5e67bb6c27ae7e032b3df384c0 Merged-In: I6b538f78f401ec5e67bb6c27ae7e032b3df384c0
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java index 3ddb267..cafa5be 100755 --- a/src/com/android/phone/PhoneInterfaceManager.java +++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -6030,8 +6030,8 @@ // Scrub out the location info in ServiceState depending on what level of access // the caller has. if (hasFinePermission) return ss; - if (hasCoarsePermission) return ss.sanitizeLocationInfo(false); - return ss.sanitizeLocationInfo(true); + if (hasCoarsePermission) return ss.createLocationInfoSanitizedCopy(false); + return ss.createLocationInfoSanitizedCopy(true); } finally { Binder.restoreCallingIdentity(identity); }