cleanup the isUpdatedSystemApp

cleanup the isUpdatedSystemApp function

Test: build
Change-Id: I543a30ec8e88586e672c2a54c0c0c55ae8f3ba41
This commit is contained in:
Sooraj Sasindran
2020-07-09 15:31:47 -07:00
parent 68a510ac32
commit 836adb41f1

View File

@@ -128,11 +128,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;
}
/**