Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14f9c1a3 authored by lpeter's avatar lpeter
Browse files

Update java docs for PreapprovalDetails.Builder#setLocale()

Bug: 290050474
Test: build pass and boot success
Test: atest PreapprovalInstallTest
Change-Id: I92f7e48a9a6fdcf1f321c38e41055a931d7aea15
parent 32d56c47
Loading
Loading
Loading
Loading
+6 −2
Original line number Original line Diff line number Diff line
@@ -4132,7 +4132,8 @@ public class PackageInstaller {
         * @param label
         * @param label
         *   The label representing the app to be installed.
         *   The label representing the app to be installed.
         * @param locale
         * @param locale
         *   The locale of the app label being used.
         *   The locale is used to get the app label from the APKs (includes the base APK and
         *   split APKs) related to the package to be installed.
         * @param packageName
         * @param packageName
         *   The package name of the app to be installed.
         *   The package name of the app to be installed.
         * @hide
         * @hide
@@ -4239,7 +4240,10 @@ public class PackageInstaller {
            }
            }


            /**
            /**
             * The locale of the app label being used.
             * The locale is used to get the app label from the APKs (includes the base APK and
             * split APKs) related to the package to be installed. The caller needs to make sure
             * the app label is consistent with the app label of {@link PreapprovalDetails} when
             * validating the installation. Otherwise, the pre-approval install session will fail.
             */
             */
            public @NonNull Builder setLocale(@NonNull ULocale value) {
            public @NonNull Builder setLocale(@NonNull ULocale value) {
                checkNotUsed();
                checkNotUsed();