Initial commit of 3 button work
Home, Back and Recents basic functionality working Fixes: 180046394 Change-Id: Ifc5c767e35e88183500d14d14736eb40df436369
This commit is contained in:
@@ -259,6 +259,7 @@ public class TouchInteractionService extends Service implements PluginListener<O
|
||||
};
|
||||
|
||||
private static boolean sConnected = false;
|
||||
private static TouchInteractionService sInstance;
|
||||
private static boolean sIsInitialized = false;
|
||||
private RotationTouchHelper mRotationTouchHelper;
|
||||
|
||||
@@ -266,6 +267,11 @@ public class TouchInteractionService extends Service implements PluginListener<O
|
||||
return sConnected;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static TouchInteractionService getInstance() {
|
||||
return sInstance;
|
||||
}
|
||||
|
||||
public static boolean isInitialized() {
|
||||
return sIsInitialized;
|
||||
}
|
||||
@@ -293,6 +299,10 @@ public class TouchInteractionService extends Service implements PluginListener<O
|
||||
|
||||
private DisplayManager mDisplayManager;
|
||||
|
||||
public TouchInteractionService() {
|
||||
sInstance = this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
@@ -389,6 +399,10 @@ public class TouchInteractionService extends Service implements PluginListener<O
|
||||
onOverviewTargetChange(mOverviewComponentObserver.isHomeAndOverviewSame());
|
||||
}
|
||||
|
||||
public OverviewCommandHelper getOverviewCommandHelper() {
|
||||
return mOverviewCommandHelper;
|
||||
}
|
||||
|
||||
private void resetHomeBounceSeenOnQuickstepEnabledFirstTime() {
|
||||
if (!mDeviceState.isUserUnlocked() || mDeviceState.isButtonNavMode()) {
|
||||
// Skip if not yet unlocked (can't read user shared prefs) or if the current navigation
|
||||
|
||||
Reference in New Issue
Block a user