Merge "Move IPlatformCompat.aidl definition to framework.jar" into stage-aosp-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
77a833f3e0
@@ -342,6 +342,7 @@ java_defaults {
|
|||||||
"core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
|
"core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
|
||||||
"core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
|
"core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
|
||||||
"core/java/android/companion/IFindDeviceCallback.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/IDreamManager.aidl",
|
||||||
"core/java/android/service/dreams/IDreamService.aidl",
|
"core/java/android/service/dreams/IDreamService.aidl",
|
||||||
"core/java/android/service/oemlock/IOemLockService.aidl",
|
"core/java/android/service/oemlock/IOemLockService.aidl",
|
||||||
|
|||||||
@@ -14,12 +14,16 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.server.compat;
|
package android.compat;
|
||||||
|
|
||||||
import android.content.pm.ApplicationInfo;
|
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}
|
* {@hide}
|
||||||
*/
|
*/
|
||||||
interface IPlatformCompat
|
interface IPlatformCompat
|
||||||
@@ -13,7 +13,6 @@ java_library_static {
|
|||||||
},
|
},
|
||||||
srcs: [
|
srcs: [
|
||||||
"java/**/*.java",
|
"java/**/*.java",
|
||||||
":platformcompat_aidl",
|
|
||||||
":dumpstate_aidl",
|
":dumpstate_aidl",
|
||||||
":idmap2_aidl",
|
":idmap2_aidl",
|
||||||
":installd_aidl",
|
":installd_aidl",
|
||||||
@@ -82,11 +81,3 @@ prebuilt_etc {
|
|||||||
name: "gps_debug.conf",
|
name: "gps_debug.conf",
|
||||||
src: "java/com/android/server/location/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",
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
package com.android.server.compat;
|
package com.android.server.compat;
|
||||||
|
|
||||||
|
import android.compat.IPlatformCompat;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.pm.ApplicationInfo;
|
import android.content.pm.ApplicationInfo;
|
||||||
import android.util.Slog;
|
import android.util.Slog;
|
||||||
|
|||||||
Reference in New Issue
Block a user