Loading proguard.flags +5 −2 Original line number Diff line number Diff line Loading @@ -23,7 +23,10 @@ # support jar. -keep class androidx.recyclerview.widget.RecyclerView { *; } # Preference fragments # Fragments -keep class ** extends androidx.fragment.app.Fragment { public <init>(...); } -keep class ** extends android.app.Fragment { public <init>(...); } Loading protos/launcher_log.proto +2 −1 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ message Target { optional TargetExtension extension = 16; optional TipType tip_type = 17; optional int32 search_query_length = 18; optional bool is_work_app = 19; } // Used to define what type of item a Target would represent. Loading Loading @@ -92,7 +93,7 @@ enum ContainerType { TASKSWITCHER = 12; // Recents UI Container (QuickStep) APP = 13; // Foreground activity is another app (QuickStep) TIP = 14; // Onboarding texts (QuickStep) SIDELOADED_LAUNCHER = 15; OTHER_LAUNCHER_APP = 15; } // Used to define what type of control a Target would represent. Loading quickstep/recents_ui_overrides/src/com/android/quickstep/FallbackActivityInterface.java +1 −1 Original line number Diff line number Diff line Loading @@ -226,7 +226,7 @@ public final class FallbackActivityInterface implements RecentsActivity activity = getCreatedActivity(); boolean visible = activity != null && activity.isStarted() && activity.hasWindowFocus(); return visible ? LauncherLogProto.ContainerType.SIDELOADED_LAUNCHER ? LauncherLogProto.ContainerType.OTHER_LAUNCHER_APP : LauncherLogProto.ContainerType.APP; } Loading quickstep/recents_ui_overrides/src/com/android/quickstep/FallbackSwipeHandler.java +3 −1 Original line number Diff line number Diff line Loading @@ -453,8 +453,10 @@ public class FallbackSwipeHandler extends BaseSwipeUpHandler<RecentsActivity, Fa @Override public void onRecentsAnimationCanceled(ThumbnailData thumbnailData) { super.onRecentsAnimationCanceled(thumbnailData); mStateCallback.setStateOnUiThread(STATE_HANDLER_INVALIDATED); // Defer clearing the controller and the targets until after we've updated the state super.onRecentsAnimationCanceled(thumbnailData); } /** Loading quickstep/recents_ui_overrides/src/com/android/quickstep/LauncherSwipeHandler.java +4 −2 Original line number Diff line number Diff line Loading @@ -610,10 +610,12 @@ public class LauncherSwipeHandler<T extends BaseDraggingActivity> @Override public void onRecentsAnimationCanceled(ThumbnailData thumbnailData) { super.onRecentsAnimationCanceled(thumbnailData); ActiveGestureLog.INSTANCE.addLog("cancelRecentsAnimation"); mActivityInitListener.unregister(); mStateCallback.setStateOnUiThread(STATE_GESTURE_CANCELLED | STATE_HANDLER_INVALIDATED); ActiveGestureLog.INSTANCE.addLog("cancelRecentsAnimation"); // Defer clearing the controller and the targets until after we've updated the state super.onRecentsAnimationCanceled(thumbnailData); } @Override Loading Loading
proguard.flags +5 −2 Original line number Diff line number Diff line Loading @@ -23,7 +23,10 @@ # support jar. -keep class androidx.recyclerview.widget.RecyclerView { *; } # Preference fragments # Fragments -keep class ** extends androidx.fragment.app.Fragment { public <init>(...); } -keep class ** extends android.app.Fragment { public <init>(...); } Loading
protos/launcher_log.proto +2 −1 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ message Target { optional TargetExtension extension = 16; optional TipType tip_type = 17; optional int32 search_query_length = 18; optional bool is_work_app = 19; } // Used to define what type of item a Target would represent. Loading Loading @@ -92,7 +93,7 @@ enum ContainerType { TASKSWITCHER = 12; // Recents UI Container (QuickStep) APP = 13; // Foreground activity is another app (QuickStep) TIP = 14; // Onboarding texts (QuickStep) SIDELOADED_LAUNCHER = 15; OTHER_LAUNCHER_APP = 15; } // Used to define what type of control a Target would represent. Loading
quickstep/recents_ui_overrides/src/com/android/quickstep/FallbackActivityInterface.java +1 −1 Original line number Diff line number Diff line Loading @@ -226,7 +226,7 @@ public final class FallbackActivityInterface implements RecentsActivity activity = getCreatedActivity(); boolean visible = activity != null && activity.isStarted() && activity.hasWindowFocus(); return visible ? LauncherLogProto.ContainerType.SIDELOADED_LAUNCHER ? LauncherLogProto.ContainerType.OTHER_LAUNCHER_APP : LauncherLogProto.ContainerType.APP; } Loading
quickstep/recents_ui_overrides/src/com/android/quickstep/FallbackSwipeHandler.java +3 −1 Original line number Diff line number Diff line Loading @@ -453,8 +453,10 @@ public class FallbackSwipeHandler extends BaseSwipeUpHandler<RecentsActivity, Fa @Override public void onRecentsAnimationCanceled(ThumbnailData thumbnailData) { super.onRecentsAnimationCanceled(thumbnailData); mStateCallback.setStateOnUiThread(STATE_HANDLER_INVALIDATED); // Defer clearing the controller and the targets until after we've updated the state super.onRecentsAnimationCanceled(thumbnailData); } /** Loading
quickstep/recents_ui_overrides/src/com/android/quickstep/LauncherSwipeHandler.java +4 −2 Original line number Diff line number Diff line Loading @@ -610,10 +610,12 @@ public class LauncherSwipeHandler<T extends BaseDraggingActivity> @Override public void onRecentsAnimationCanceled(ThumbnailData thumbnailData) { super.onRecentsAnimationCanceled(thumbnailData); ActiveGestureLog.INSTANCE.addLog("cancelRecentsAnimation"); mActivityInitListener.unregister(); mStateCallback.setStateOnUiThread(STATE_GESTURE_CANCELLED | STATE_HANDLER_INVALIDATED); ActiveGestureLog.INSTANCE.addLog("cancelRecentsAnimation"); // Defer clearing the controller and the targets until after we've updated the state super.onRecentsAnimationCanceled(thumbnailData); } @Override Loading