1190fe3bf88388fcb109af64571e3baa0d01f1c37Winson/* 2190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * Copyright (C) 2015 The Android Open Source Project 3190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * 4190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * Licensed under the Apache License, Version 2.0 (the "License"); 5190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * you may not use this file except in compliance with the License. 6190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * You may obtain a copy of the License at 7190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * 8190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * http://www.apache.org/licenses/LICENSE-2.0 9190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * 10190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * Unless required by applicable law or agreed to in writing, software 11190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * distributed under the License is distributed on an "AS IS" BASIS, 12190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * See the License for the specific language governing permissions and 14190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * limitations under the License. 15190fe3bf88388fcb109af64571e3baa0d01f1c37Winson */ 16190fe3bf88388fcb109af64571e3baa0d01f1c37Winson 17190fe3bf88388fcb109af64571e3baa0d01f1c37Winsonpackage com.android.systemui.recents.events.component; 18190fe3bf88388fcb109af64571e3baa0d01f1c37Winson 19190fe3bf88388fcb109af64571e3baa0d01f1c37Winsonimport android.content.Context; 20c0d7058b14c24cd07912f5629c26b39b7b4673d5Winson 21190fe3bf88388fcb109af64571e3baa0d01f1c37Winsonimport com.android.systemui.recents.events.EventBus; 22190fe3bf88388fcb109af64571e3baa0d01f1c37Winson 23190fe3bf88388fcb109af64571e3baa0d01f1c37Winson/** 24190fe3bf88388fcb109af64571e3baa0d01f1c37Winson * This is sent when we want to start screen pinning. 25190fe3bf88388fcb109af64571e3baa0d01f1c37Winson */ 26190fe3bf88388fcb109af64571e3baa0d01f1c37Winsonpublic class ScreenPinningRequestEvent extends EventBus.Event { 27190fe3bf88388fcb109af64571e3baa0d01f1c37Winson 28190fe3bf88388fcb109af64571e3baa0d01f1c37Winson public final Context applicationContext; 290f051f5abdb31024d862a954cc4c4716b1dde616Andrii Kulian public final int taskId; 30190fe3bf88388fcb109af64571e3baa0d01f1c37Winson 310f051f5abdb31024d862a954cc4c4716b1dde616Andrii Kulian public ScreenPinningRequestEvent(Context context, int taskId) { 32190fe3bf88388fcb109af64571e3baa0d01f1c37Winson this.applicationContext = context.getApplicationContext(); 330f051f5abdb31024d862a954cc4c4716b1dde616Andrii Kulian this.taskId = taskId; 34190fe3bf88388fcb109af64571e3baa0d01f1c37Winson } 35190fe3bf88388fcb109af64571e3baa0d01f1c37Winson} 36