Merge "cleanup the isUpdatedSystemApp"

This commit is contained in:
Treehugger Robot
2020-10-30 08:38:43 +00:00
committed by Gerrit Code Review

View File

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