Flags instead of booleans for countPermissionApps
Test: Checked that the api retunred the results Bug: 123697839 Change-Id: Iadb1c4307933635e6114d3d32a2a2b1ed87949f4
This commit is contained in:
@@ -71,7 +71,7 @@ public class TopLevelLocationPreferenceController extends BasePreferenceControll
|
||||
return;
|
||||
}
|
||||
mContext.getSystemService(PermissionControllerManager.class).countPermissionApps(
|
||||
Arrays.asList(ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION), false, false,
|
||||
Arrays.asList(ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION), 0,
|
||||
(numApps) -> {
|
||||
setLocationAppCount(numApps);
|
||||
}, null);
|
||||
|
Reference in New Issue
Block a user