summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alex Buynytskyy <alexbuy@google.com> 2021-02-25 09:09:50 -0800
committer Alex Buynytskyy <alexbuy@google.com> 2021-02-25 20:08:39 +0000
commit2645c147b7f9b9966198d6ebb09600ca4300e356 (patch)
tree1c786766df8e93662ad39f7c56b62b6c4c85de44
parent6aa114f86e020471338b77e831dc3e36dff215fa (diff)
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
-rw-r--r--core/java/android/content/pm/DataLoaderParamsParcel.aidl2
-rw-r--r--core/java/android/content/pm/InstallationFileParcel.aidl2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/content/pm/DataLoaderParamsParcel.aidl b/core/java/android/content/pm/DataLoaderParamsParcel.aidl
index d40012fd5718..29d472e6e927 100644
--- a/core/java/android/content/pm/DataLoaderParamsParcel.aidl
+++ b/core/java/android/content/pm/DataLoaderParamsParcel.aidl
@@ -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;
diff --git a/core/java/android/content/pm/InstallationFileParcel.aidl b/core/java/android/content/pm/InstallationFileParcel.aidl
index b7efc1947cc3..09d1a3291b69 100644
--- a/core/java/android/content/pm/InstallationFileParcel.aidl
+++ b/core/java/android/content/pm/InstallationFileParcel.aidl
@@ -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;