Loading src/com/android/settings/Utils.java +2 −2 Original line number Diff line number Diff line Loading @@ -1180,10 +1180,10 @@ public final class Utils extends com.android.settingslib.Utils { try { return context.getPackageManager().getApplicationInfo(packageName, 0).enabled; } catch (Exception e) { Log.e(TAG, "Error while retrieving application info for package " + packageName, e); } // Expected, package is not installed or not enabled. return false; } } /** Get {@link Resources} by subscription id if subscription id is valid. */ public static Resources getResourcesForSubId(Context context, int subId) { Loading Loading
src/com/android/settings/Utils.java +2 −2 Original line number Diff line number Diff line Loading @@ -1180,10 +1180,10 @@ public final class Utils extends com.android.settingslib.Utils { try { return context.getPackageManager().getApplicationInfo(packageName, 0).enabled; } catch (Exception e) { Log.e(TAG, "Error while retrieving application info for package " + packageName, e); } // Expected, package is not installed or not enabled. return false; } } /** Get {@link Resources} by subscription id if subscription id is valid. */ public static Resources getResourcesForSubId(Context context, int subId) { Loading