diff options
| author | 2021-08-19 15:56:48 +0900 | |
|---|---|---|
| committer | 2021-08-19 15:56:48 +0900 | |
| commit | 8ed699e6105042e36c9e3ae68c88f2c2609bd2ab (patch) | |
| tree | 9d7667a0285e2853ff70fa8a1f433e57c7622c63 | |
| parent | cb8f9e3429a6c736939ccec826a779d690ef9a9c (diff) | |
OverlayManager: use typed collection type in AIDL
Use Map<K,V> and List<V>.
Bug: 192615532
Test: m
Change-Id: I5ad7f67b4b08b646362a58214c3b62cd1ada28c0
| -rw-r--r-- | core/java/android/content/om/IOverlayManager.aidl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/content/om/IOverlayManager.aidl b/core/java/android/content/om/IOverlayManager.aidl index 0b950b461285..11ea16f3e288 100644 --- a/core/java/android/content/om/IOverlayManager.aidl +++ b/core/java/android/content/om/IOverlayManager.aidl @@ -39,7 +39,7 @@ interface IOverlayManager { * requested user, an empty map is returned. */ @UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) - Map getAllOverlays(in int userId); + Map<String, List<OverlayInfo>> getAllOverlays(in int userId); /** * Returns information about all overlays for the given target package for @@ -51,7 +51,7 @@ interface IOverlayManager { * @return A list of OverlayInfo objects; if no overlays exist for the * requested package, an empty list is returned. */ - List getOverlayInfosForTarget(in String targetPackageName, in int userId); + List<OverlayInfo> getOverlayInfosForTarget(in String targetPackageName, in int userId); /** * Returns information about the overlay with the given package name for the |