Update to show new location monitoring op.
Change-Id: I921e95327c743c5b9b89bfe5a94beca67bfdb7de
This commit is contained in:
@@ -909,6 +909,7 @@ public class PowerUsageSummary extends PreferenceFragment implements Runnable {
|
||||
BatterySipper bs;
|
||||
synchronized (mRequestQueue) {
|
||||
if (mRequestQueue.isEmpty() || mAbort) {
|
||||
mHandler.sendEmptyMessage(MSG_REPORT_FULLY_DRAWN);
|
||||
mRequestThread = null;
|
||||
return;
|
||||
}
|
||||
@@ -919,6 +920,7 @@ public class PowerUsageSummary extends PreferenceFragment implements Runnable {
|
||||
}
|
||||
|
||||
static final int MSG_UPDATE_NAME_ICON = 1;
|
||||
static final int MSG_REPORT_FULLY_DRAWN = 2;
|
||||
|
||||
Handler mHandler = new Handler() {
|
||||
|
||||
@@ -935,6 +937,9 @@ public class PowerUsageSummary extends PreferenceFragment implements Runnable {
|
||||
pgp.setTitle(bs.name);
|
||||
}
|
||||
break;
|
||||
case MSG_REPORT_FULLY_DRAWN:
|
||||
getActivity().reportFullyDrawn();
|
||||
break;
|
||||
}
|
||||
super.handleMessage(msg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user