Merge "cleanup the isUpdatedSystemApp" am: f86cf6fb6c am: 2635bb28b4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1359902 Change-Id: I141384774f55dec9cf72ebc3fd4710766999d4d5
This commit is contained in:
@@ -124,11 +124,7 @@ public final class CarrierAppUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static boolean isUpdatedSystemApp(ApplicationInfo ai) {
|
private static boolean isUpdatedSystemApp(ApplicationInfo ai) {
|
||||||
if ((ai.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) {
|
return (ai.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user