blob: cf2a68e2cf9559764a55f1f8a636f5bf8152208e [file] [log] [blame]
Winson88737542016-02-17 13:27:33 -08001/*
2 * Copyright (C) 2015 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.android.systemui.recents.events.activity;
18
19import com.android.systemui.recents.events.EventBus;
20
21/**
22 * This is sent by the activity whenever the multi-window state has changed.
23 */
24public class MultiWindowStateChangedEvent extends EventBus.Event {
25
26 public final boolean inMultiWindow;
Winson500ba752016-03-30 11:59:22 -070027 public final boolean hasStackTasks;
Winson88737542016-02-17 13:27:33 -080028
Winson500ba752016-03-30 11:59:22 -070029 public MultiWindowStateChangedEvent(boolean inMultiWindow, boolean hasStackTasks) {
Winson88737542016-02-17 13:27:33 -080030 this.inMultiWindow = inMultiWindow;
Winson500ba752016-03-30 11:59:22 -070031 this.hasStackTasks = hasStackTasks;
Winson88737542016-02-17 13:27:33 -080032 }
33}