mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Move LauncherApplication's state and code to LauncherAppState.
This removes Launcher's static data and other state out of the Application object. Now LauncherApplication (extends Application) exists only to instantiate LauncherAppState. Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
This commit is contained in:
@@ -437,7 +437,7 @@ public class FocusHelper {
|
||||
* Handles key events in the tab widget.
|
||||
*/
|
||||
static boolean handleTabKeyEvent(AccessibleTabView v, int keyCode, KeyEvent e) {
|
||||
if (!LauncherApplication.isScreenLarge()) return false;
|
||||
if (!LauncherAppState.isScreenLarge()) return false;
|
||||
|
||||
final FocusOnlyTabWidget parent = (FocusOnlyTabWidget) v.getParent();
|
||||
final TabHost tabHost = findTabHostParent(parent);
|
||||
|
||||
Reference in New Issue
Block a user