Add "FILTER_NOT_HIDE" for all app filters.
The "FILTER_NOT_HIDE" is used to filter out apps that "blacklisted" by the carrier. So when user insert a specific sim card, these apps are hiden in settings > apps unless user enable them. Bug: 31823872 Test: Manual Change-Id: I28a38b5780cb63fe22af12d80cc24e965b2b83cf
This commit is contained in:
@@ -887,6 +887,8 @@ public class ManageApplications extends InstrumentedFragment
|
|||||||
comparatorObj = ApplicationsState.ALPHA_COMPARATOR;
|
comparatorObj = ApplicationsState.ALPHA_COMPARATOR;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
filterObj = new CompoundFilter(filterObj, ApplicationsState.FILTER_NOT_HIDE);
|
||||||
|
|
||||||
AppFilter finalFilterObj = filterObj;
|
AppFilter finalFilterObj = filterObj;
|
||||||
mBgHandler.post(() -> {
|
mBgHandler.post(() -> {
|
||||||
final ArrayList<AppEntry> entries = mSession.rebuild(finalFilterObj,
|
final ArrayList<AppEntry> entries = mSession.rebuild(finalFilterObj,
|
||||||
|
Reference in New Issue
Block a user