diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-03-27 17:35:54 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-03-30 09:45:59 -0700 |
commit | ab83773e211daf43b6b3ab327be2e94bf61663b3 (patch) | |
tree | e2f6268776a96dd91b1d8a82af255db1d54d240d /quickstep/src/com/android/quickstep/fallback/RecentsTaskController.java | |
parent | 76e2775bb638757216fcaa96f8a62654fb56b19a (diff) | |
download | android_packages_apps_Trebuchet-ab83773e211daf43b6b3ab327be2e94bf61663b3.tar.gz android_packages_apps_Trebuchet-ab83773e211daf43b6b3ab327be2e94bf61663b3.tar.bz2 android_packages_apps_Trebuchet-ab83773e211daf43b6b3ab327be2e94bf61663b3.zip |
Updating fallback activity
> Wallpaper based theme support
> Light/dark system UI
> Swipe gestures to start and dismiss a task
> Fixing insets and task preview size
Bug: 75979063
Change-Id: Id402e6ac50551a7c0849742e3a0e77df3ead5aa2
Diffstat (limited to 'quickstep/src/com/android/quickstep/fallback/RecentsTaskController.java')
-rw-r--r-- | quickstep/src/com/android/quickstep/fallback/RecentsTaskController.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/quickstep/src/com/android/quickstep/fallback/RecentsTaskController.java b/quickstep/src/com/android/quickstep/fallback/RecentsTaskController.java new file mode 100644 index 000000000..9463cc90f --- /dev/null +++ b/quickstep/src/com/android/quickstep/fallback/RecentsTaskController.java @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2018 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.android.quickstep.fallback; + +import com.android.launcher3.uioverrides.TaskViewTouchController; +import com.android.quickstep.RecentsActivity; + +public class RecentsTaskController extends TaskViewTouchController<RecentsActivity> { + + public RecentsTaskController(RecentsActivity activity) { + super(activity); + } + + @Override + protected boolean isRecentsInteractive() { + return mActivity.hasWindowFocus(); + } +} |