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
This commit is contained in:
Treehugger Robot
2020-10-30 10:37:55 +00:00
committed by Automerger Merge Worker

View File

@@ -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;
}
/**