diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-10-30 08:38:43 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-10-30 08:38:43 +0000 |
commit | f86cf6fb6c5f5bd70a93d277d73106f3e1d30bd6 (patch) | |
tree | b0507537679672479b2eee49c56d28ac57b7d488 /telephony/common | |
parent | 36bd16e5ab191a7d273242ed569dca00a7bd3dbe (diff) | |
parent | 836adb41f198b0fa97cf66ca053fd1265ad932a5 (diff) |
Merge "cleanup the isUpdatedSystemApp"
Diffstat (limited to 'telephony/common')
-rw-r--r-- | telephony/common/com/android/internal/telephony/CarrierAppUtils.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/telephony/common/com/android/internal/telephony/CarrierAppUtils.java b/telephony/common/com/android/internal/telephony/CarrierAppUtils.java index e57b03098758..7aecfdde71bc 100644 --- a/telephony/common/com/android/internal/telephony/CarrierAppUtils.java +++ b/telephony/common/com/android/internal/telephony/CarrierAppUtils.java @@ -124,11 +124,7 @@ public final class CarrierAppUtils { } private static boolean isUpdatedSystemApp(ApplicationInfo ai) { - if ((ai.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { - return true; - } - - return false; + return (ai.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0; } /** |