diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-09-05 12:47:21 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-09-05 17:32:50 -0700 |
commit | cf300fc9800fe9e351276cd62c5b899ccad7490c (patch) | |
tree | c24cdc1ad617dfe05d07487188ac2ce4a681e559 /src_ui_overrides | |
parent | 6b597b823d861699a1de1670f0248bdffe02293d (diff) | |
download | packages_apps_Trebuchet-cf300fc9800fe9e351276cd62c5b899ccad7490c.tar.gz packages_apps_Trebuchet-cf300fc9800fe9e351276cd62c5b899ccad7490c.tar.bz2 packages_apps_Trebuchet-cf300fc9800fe9e351276cd62c5b899ccad7490c.zip |
Creating a separate state for launcehr as background app
This makes is simpler to control the swipe to overview UI, and ties the
transition with the state machine
Bug: 113287120
Bug: 79755195
Bug: 112203163
Change-Id: I3041dbb659b46ccea6284855addc91e370815be6
Diffstat (limited to 'src_ui_overrides')
-rw-r--r-- | src_ui_overrides/com/android/launcher3/uioverrides/BackgroundAppState.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src_ui_overrides/com/android/launcher3/uioverrides/BackgroundAppState.java b/src_ui_overrides/com/android/launcher3/uioverrides/BackgroundAppState.java new file mode 100644 index 000000000..9133b07ec --- /dev/null +++ b/src_ui_overrides/com/android/launcher3/uioverrides/BackgroundAppState.java @@ -0,0 +1,26 @@ +/* + * 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.launcher3.uioverrides; + +/** + * A dummy background app state + */ +public class BackgroundAppState extends OverviewState { + + public BackgroundAppState(int id) { + super(id); + } +} |