Merge "Move IPlatformCompat.aidl definition to framework.jar" into stage-aosp-master

This commit is contained in:
Anna Trostanetski
2019-08-15 13:35:29 +00:00
committed by Android (Google) Code Review
4 changed files with 8 additions and 11 deletions

View File

@@ -342,6 +342,7 @@ java_defaults {
"core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
"core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
"core/java/android/companion/IFindDeviceCallback.aidl",
"core/java/android/compat/IPlatformCompat.aidl",
"core/java/android/service/dreams/IDreamManager.aidl",
"core/java/android/service/dreams/IDreamService.aidl",
"core/java/android/service/oemlock/IOemLockService.aidl",

View File

@@ -14,12 +14,16 @@
* limitations under the License.
*/
package com.android.server.compat;
package android.compat;
import android.content.pm.ApplicationInfo;
/**
* System private API for talking with the PlatformCompat service.
* Platform private API for talking with the PlatformCompat service.
*
* <p> Should be used for gating and logging from non-app processes.
* For app processes please use android.compat.Compatibility API.
*
* {@hide}
*/
interface IPlatformCompat

View File

@@ -13,7 +13,6 @@ java_library_static {
},
srcs: [
"java/**/*.java",
":platformcompat_aidl",
":dumpstate_aidl",
":idmap2_aidl",
":installd_aidl",
@@ -82,11 +81,3 @@ prebuilt_etc {
name: "gps_debug.conf",
src: "java/com/android/server/location/gps_debug.conf",
}
filegroup {
name: "platformcompat_aidl",
srcs: [
"java/com/android/server/compat/IPlatformCompat.aidl",
],
path: "java",
}

View File

@@ -16,6 +16,7 @@
package com.android.server.compat;
import android.compat.IPlatformCompat;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.util.Slog;