|
|
|
Looks to resolve into Launcher.java:2497 onClick()
|
|
|
|
-> onClickAllAppsButton()
|
|
|
|
|
|
|
|
Doesn't appear to have a means to control behavior from a resource overlay.
|
|
|
|
Possibility :
|
|
|
|
|
|
|
|
layout: all_apps.xml
|
|
|
|
layout: all_apps_button.xml - textView that might be redefined as enabled=false
|
|
|
|
|
|
|
|
but those aren't controllable
|
|
|
|
|
|
|
|
Likely Sol:
|
|
|
|
in Utilities.java:
|
|
|
|
Add RESTRICT_ALL_APPS_PROPERTY = launcher_restrict_all_apps
|
|
|
|
create static boolean sRestrictAllAppsAccess = isPropertyEnabled( .. );
|
|
|
|
using log.tag.PROPERTY_NAME [VERBOSE|SUPPRESS]
|
|
|
|
|
|
|
|
set value once in static?
|
|
|
|
add isRestrictAllAppsAccess() to Utilities
|
|
|
|
|
|
|
|
Then check the value in Launcher onClick() or onClickAllAppsButton() |