Fix special access summary text
Use ApplicationState to count number of apps using unrestricted_data. Change-Id: I083ff50e3e516536c87afa71d786b22e83d9a498 Fixes: 69313992 Test: robotests
This commit is contained in:
@@ -45,7 +45,7 @@ public abstract class AppStateBaseBridge implements ApplicationsState.Callbacks
|
||||
// the same time as us as well.
|
||||
mHandler = new BackgroundHandler(mAppState != null ? mAppState.getBackgroundLooper()
|
||||
: Looper.getMainLooper());
|
||||
mMainHandler = new MainHandler();
|
||||
mMainHandler = new MainHandler(Looper.getMainLooper());
|
||||
}
|
||||
|
||||
public void resume() {
|
||||
@@ -106,11 +106,16 @@ public abstract class AppStateBaseBridge implements ApplicationsState.Callbacks
|
||||
}
|
||||
|
||||
protected abstract void loadAllExtraInfo();
|
||||
|
||||
protected abstract void updateExtraInfo(AppEntry app, String pkg, int uid);
|
||||
|
||||
private class MainHandler extends Handler {
|
||||
private static final int MSG_INFO_UPDATED = 1;
|
||||
|
||||
public MainHandler(Looper looper) {
|
||||
super(looper);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleMessage(Message msg) {
|
||||
switch (msg.what) {
|
||||
|
Reference in New Issue
Block a user