File tree Expand file tree Collapse file tree
libs/binder/aidl/android/content/pm Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717package android.content.pm ;
1818
19+ import android.content.pm.StagedApexInfo ;
20+
1921/**
2022 * This event is designed for notification to native code listener about
2123 * any changes to set of apex packages staged for installation on next boot.
2224 *
2325 * @hide
2426 */
2527parcelable ApexStagedEvent {
26- @utf8InCpp String [] stagedApexModuleNames ;
28+ StagedApexInfo [] stagedApexInfos ;
2729}
Original file line number Diff line number Diff line change @@ -135,13 +135,7 @@ interface IPackageManagerNative {
135135 void unregisterStagedApexObserver (in IStagedApexObserver observer );
136136
137137 /**
138- * Get APEX module names of all APEX that are staged ready for installation
138+ * Get information of staged APEXes.
139139 */
140- @utf8InCpp String [] getStagedApexModuleNames ();
141-
142- /**
143- * Get information of APEX which is staged ready for installation.
144- * Returns null if no such APEX is found.
145- */
146- @nullable StagedApexInfo getStagedApexInfo (in @utf8InCpp String moduleName );
140+ StagedApexInfo [] getStagedApexInfos ();
147141}
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ package android.content.pm;
2222 *
2323 * @hide
2424 */
25+ @JavaDerive(equals = true )
2526parcelable StagedApexInfo {
2627 @utf8InCpp String moduleName ;
2728 @utf8InCpp String diskImagePath ;
You can’t perform that action at this time.
0 commit comments