Merge "OverlayManager: use typed collection type in AIDL" am: 497e28ecf3 am: c1a5b99f86 am: 444b1e27b0 am: 51121c1e70

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1801774

Change-Id: I899a971e248d682bfe076f96b735f92be50d207f
This commit is contained in:
Treehugger Robot
2021-08-24 02:44:13 +00:00
committed by Automerger Merge Worker

View File

@@ -40,7 +40,7 @@ interface IOverlayManager {
* requested user, an empty map is returned. * requested user, an empty map is returned.
*/ */
@UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) @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 * Returns information about all overlays for the given target package for
@@ -52,7 +52,7 @@ interface IOverlayManager {
* @return A list of OverlayInfo objects; if no overlays exist for the * @return A list of OverlayInfo objects; if no overlays exist for the
* requested package, an empty list is returned. * 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 * Returns information about the overlay with the given package name for the