diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-10-30 10:37:55 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-10-30 10:37:55 +0000 |
commit | a2699a02e8a4155c2ad8e91280b029ea3b8063c9 (patch) | |
tree | 550f8ee3c13d4e09d6e86d2ae03f3f81e6120556 /telephony/common | |
parent | 5cbcb587afa11c476439c247fdb6d55fecad19b0 (diff) | |
parent | 853858890b00d734dd298adc9c662e984bc80017 (diff) |
Merge "cleanup the isUpdatedSystemApp" am: f86cf6fb6c am: 2635bb28b4 am: 9149eab591 am: 853858890b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1359902
Change-Id: I986e476cfb549ebb6e37fc81f79722b42a98361f
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 cfc7ac176f89..b92d410f3d6c 100644 --- a/telephony/common/com/android/internal/telephony/CarrierAppUtils.java +++ b/telephony/common/com/android/internal/telephony/CarrierAppUtils.java @@ -125,11 +125,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; } /** |