Fixing some AIDL warnings.

Can't change the enum values as they are a part of public API (and enum-zero is not a warning apparently).

Fixes: 179836890
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I4d59410ec3476298cc98fdcc9584468b1debcb41
This commit is contained in:
Alex Buynytskyy
2021-02-25 09:09:50 -08:00
parent 6aa114f86e
commit 2645c147b7
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ import android.content.pm.DataLoaderType;
* @hide
*/
parcelable DataLoaderParamsParcel {
DataLoaderType type;
DataLoaderType type = DataLoaderType.NONE;
@utf8InCpp String packageName;
@utf8InCpp String className;
@utf8InCpp String arguments;

View File

@@ -24,7 +24,7 @@ import android.content.pm.InstallationFileLocation;
*/
parcelable InstallationFileParcel {
String name;
InstallationFileLocation location;
InstallationFileLocation location = InstallationFileLocation.UNKNOWN;
long size;
byte[] metadata;
byte[] signature;