diff options
author | Winson Chung <winsonc@google.com> | 2014-05-14 11:05:00 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2014-05-14 12:11:01 -0700 |
commit | 1147c406515bbfbcb7dbd750f81c7a5de928c5c6 (patch) | |
tree | 23907ba99f99780028fc82bb254f42cd6b11b5dc /core/java/android/app/IAppTask.aidl | |
parent | 9e317da9364bae6a7d40c94cd46748b2255c7e1e (diff) | |
download | frameworks_base-1147c406515bbfbcb7dbd750f81c7a5de928c5c6.zip frameworks_base-1147c406515bbfbcb7dbd750f81c7a5de928c5c6.tar.gz frameworks_base-1147c406515bbfbcb7dbd750f81c7a5de928c5c6.tar.bz2 |
Adding method for applications to query their own tasks. (Bug 14627210)
Change-Id: I33299bf59784849171b19af4a5be2ab7665581c5
Diffstat (limited to 'core/java/android/app/IAppTask.aidl')
-rw-r--r-- | core/java/android/app/IAppTask.aidl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/core/java/android/app/IAppTask.aidl b/core/java/android/app/IAppTask.aidl new file mode 100644 index 0000000..268b4dd --- /dev/null +++ b/core/java/android/app/IAppTask.aidl @@ -0,0 +1,25 @@ +/** + * Copyright (c) 2014, 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 android.app; + +import android.app.ActivityManager; + +/** @hide */ +interface IAppTask { + void finishAndRemoveTask(); + ActivityManager.RecentTaskInfo getTaskInfo(); +} |