RejectedExecutionException in DataUsageLIst
RejectedPolicy throw Exception which will interrupt users Bug: https://code.google.com/p/android/issues/detail?id=237575 Test: open as many online apps as possible and then open the DataUsageList Change-Id: I2dabc6ee53cd0f27f59098328fe2a16172f71d0b
This commit is contained in:
@@ -90,8 +90,7 @@ public class AppDataUsagePreference extends Preference {
|
|||||||
if (cachedDetail != null) {
|
if (cachedDetail != null) {
|
||||||
bindView(cachedDetail, target);
|
bindView(cachedDetail, target);
|
||||||
} else {
|
} else {
|
||||||
new UidDetailTask(provider, item, target).executeOnExecutor(
|
new UidDetailTask(provider, item, target).execute();
|
||||||
AsyncTask.THREAD_POOL_EXECUTOR);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user