diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-12-28 02:35:07 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-12-28 02:35:07 +0000 |
commit | 281998c825ad48d842bb653e2f462719fdb0c1d9 (patch) | |
tree | bc8bfcce809257b3ddbb423a9808082292b9f6a3 /java/com/android/dialer/telecom/TelecomUtil.java | |
parent | fc81a030a7b4f6d4a497f71aed593d398795e7da (diff) | |
parent | 183cb71663320f16149d83eeebaff7795a4b55f2 (diff) |
Merge "Remove field prefixes."
Diffstat (limited to 'java/com/android/dialer/telecom/TelecomUtil.java')
-rw-r--r-- | java/com/android/dialer/telecom/TelecomUtil.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/com/android/dialer/telecom/TelecomUtil.java b/java/com/android/dialer/telecom/TelecomUtil.java index c64a50231..f79ca8607 100644 --- a/java/com/android/dialer/telecom/TelecomUtil.java +++ b/java/com/android/dialer/telecom/TelecomUtil.java @@ -52,7 +52,7 @@ import java.util.concurrent.ConcurrentHashMap; public abstract class TelecomUtil { private static final String TAG = "TelecomUtil"; - private static boolean sWarningLogged = false; + private static boolean warningLogged = false; private static TelecomUtilImpl instance = new TelecomUtilImpl(); @@ -326,12 +326,12 @@ public abstract class TelecomUtil { TextUtils.equals( context.getPackageName(), getTelecomManager(context).getDefaultDialerPackage()); if (result) { - sWarningLogged = false; + warningLogged = false; } else { - if (!sWarningLogged) { + if (!warningLogged) { // Log only once to prevent spam. LogUtil.w(TAG, "Dialer is not currently set to be default dialer"); - sWarningLogged = true; + warningLogged = true; } } return result; |