diff options
Diffstat (limited to 'java/com/android/incallui/calllocation')
-rw-r--r-- | java/com/android/incallui/calllocation/impl/GoogleLocationSettingHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/android/incallui/calllocation/impl/GoogleLocationSettingHelper.java b/java/com/android/incallui/calllocation/impl/GoogleLocationSettingHelper.java index ed2e84368..305ab4377 100644 --- a/java/com/android/incallui/calllocation/impl/GoogleLocationSettingHelper.java +++ b/java/com/android/incallui/calllocation/impl/GoogleLocationSettingHelper.java @@ -26,7 +26,7 @@ import android.net.Uri; import android.provider.Settings.Secure; import android.provider.Settings.SettingNotFoundException; import com.android.dialer.common.LogUtil; -import com.android.dialer.strictmode.DialerStrictMode; +import com.android.dialer.strictmode.StrictModeUtils; /** * Helper class to check if Google Location Services is enabled. This class is based on @@ -121,7 +121,7 @@ public class GoogleLocationSettingHelper { if (!isEnforceable(context)) { return true; } - int locationServiceStatus = DialerStrictMode.bypass(() -> getUseLocationForServices(context)); + int locationServiceStatus = StrictModeUtils.bypass(() -> getUseLocationForServices(context)); return locationServiceStatus == USE_LOCATION_FOR_SERVICES_ON; } } |