Merge "Fix print page starts multiple activities"
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ef5facf..84b14d0 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2352,8 +2352,7 @@
</activity>
<activity
android:name="Settings$MobileDataUsageListActivity"
- android:label="@string/cellular_data_usage"
- android:parentActivityName="Settings">
+ android:label="@string/cellular_data_usage">
<intent-filter android:priority="1">
<action android:name="android.settings.MOBILE_DATA_USAGE" />
<category android:name="android.intent.category.DEFAULT" />
diff --git a/src/com/android/settings/fuelgauge/BatteryInfo.java b/src/com/android/settings/fuelgauge/BatteryInfo.java
index 34a8b91..ab03b65 100644
--- a/src/com/android/settings/fuelgauge/BatteryInfo.java
+++ b/src/com/android/settings/fuelgauge/BatteryInfo.java
@@ -160,7 +160,7 @@
callback.onBatteryInfoLoaded(batteryInfo);
BatteryUtils.logRuntime(LOG_TAG, "time for callback", startTime);
}
- }.execute();
+ }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
}
public static BatteryInfo getBatteryInfo(final Context context,