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

Commit 1414f89d authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8535289 from c59bba90 to tm-qpr1-release

Change-Id: I9c647da5502bf699866ca79e55b5766ecab7d942
parents 28028d1a c59bba90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -306,7 +306,7 @@ public final class ManualBenchmarkState {

    private void fillStatus(Bundle status, String key, Stats stats) {
        if (shouldReport(StatsReport.FLAG_ITERATION)) {
            status.putLong(key + "_iteration (ns)", stats.getSize());
            status.putLong(key + "_iteration", stats.getSize());
        }
        if (shouldReport(StatsReport.FLAG_MEDIAN)) {
            status.putLong(key + "_median (ns)", stats.getMedian());
+19 −2
Original line number Diff line number Diff line
@@ -3925,15 +3925,32 @@ public class Activity extends ContextThemeWrapper
     *         task will be moved to the back of the activity stack instead of being finished.
     *         Other activities will simply be finished.
     *
     *         <p>If you target version {@link android.os.Build.VERSION_CODES#S} or later and
     *         override this method, it is strongly recommended to call through to the superclass
     *      <li><p>If you target version {@link android.os.Build.VERSION_CODES#S} and
     *         override this method, we strongly recommend to call through to the superclass
     *         implementation after you finish handling navigation within the app.
     *
     *      <li><p>If you target version {@link android.os.Build.VERSION_CODES#TIRAMISU} or later,
     *          you should not use this method but register an {@link OnBackInvokedCallback} on an
     *          {@link OnBackInvokedDispatcher} that you can retrieve using
     *          {@link #getOnBackInvokedDispatcher()}. You should also set
     *          {@code android:enableOnBackInvokedCallback="true"} in the application manifest.
     *          <p>Alternatively, you can use
     *          {@code  androidx.activity.ComponentActivity#getOnBackPressedDispatcher()}
     *          for backward compatibility.
     * </ul>
     *
     * @see #moveTaskToBack(boolean)
     *
     * @deprecated Use {@link OnBackInvokedCallback} or
     * {@code androidx.activity.OnBackPressedCallback} to handle back navigation instead.
     * <p>
     * Starting from Android 13 (API level 33), back event handling is
     * moving to an ahead-of-time model and {@link Activity#onBackPressed()} and
     * {@link KeyEvent#KEYCODE_BACK} should not be used to handle back events (back gesture or
     * back button click). Instead, an {@link OnBackInvokedCallback} should be registered using
     * {@link Activity#getOnBackInvokedDispatcher()}
     * {@link OnBackInvokedDispatcher#registerOnBackInvokedCallback(int, OnBackInvokedCallback)
     * .registerOnBackInvokedCallback(priority, callback)}.
     */
    @Deprecated
    public void onBackPressed() {
+19 −0
Original line number Diff line number Diff line
@@ -720,8 +720,27 @@ public class Dialog implements DialogInterface, Window.Callback,
     * key.  The default implementation simply cancels the dialog (only if
     * it is cancelable), but you can override this to do whatever you want.
     *
     * <p>
     * If you target version {@link android.os.Build.VERSION_CODES#TIRAMISU} or later, you
     * should not use this method but register an {@link OnBackInvokedCallback} on an
     * {@link OnBackInvokedDispatcher} that you can retrieve using
     * {@link #getOnBackInvokedDispatcher()}. You should also set
     * {@code android:enableOnBackInvokedCallback="true"} in the application manifest.
     *
     * <p>Alternatively, you
     * can use {@code androidx.activity.ComponentDialog#getOnBackPressedDispatcher()}
     * for backward compatibility.
     *
     * @deprecated Use {@link OnBackInvokedCallback} or
     * {@code androidx.activity.OnBackPressedCallback} to handle back navigation instead.
     * <p>
     * Starting from Android 13 (API level 33), back event handling is
     * moving to an ahead-of-time model and {@link #onBackPressed()} and
     * {@link KeyEvent#KEYCODE_BACK} should not be used to handle back events (back gesture or
     * back button click). Instead, an {@link OnBackInvokedCallback} should be registered using
     * {@link Dialog#getOnBackInvokedDispatcher()}
     * {@link OnBackInvokedDispatcher#registerOnBackInvokedCallback(int, OnBackInvokedCallback)
     * .registerOnBackInvokedCallback(priority, callback)}.
     */
    @Deprecated
    public void onBackPressed() {
+4 −2
Original line number Diff line number Diff line
@@ -1414,9 +1414,11 @@ public class PackageParser {
        final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing();
        final ParseResult<android.content.pm.SigningDetails> result;
        if (skipVerify) {
            // systemDir APKs are already trusted, save time by not verifying
            // systemDir APKs are already trusted, save time by not verifying; since the signature
            // is not verified and some system apps can have their V2+ signatures stripped allow
            // pulling the certs from the jar signature.
            result = ApkSignatureVerifier.unsafeGetCertsWithoutVerification(
                    input, apkPath, minSignatureScheme);
                    input, apkPath, SigningDetails.SignatureSchemeVersion.JAR);
        } else {
            result = ApkSignatureVerifier.verify(input, apkPath, minSignatureScheme);
        }
+0 −8
Original line number Diff line number Diff line
@@ -1436,13 +1436,5 @@ public final class DisplayManager {
         * @hide
         */
        String KEY_HIGH_REFRESH_RATE_BLACKLIST = "high_refresh_rate_blacklist";

        /**
         * Whether to allow the creation of always unlocked virtual displays by apps having the
         * required permissions.
         * @hide
         */
        String KEY_ALLOW_ALWAYS_UNLOCKED_VIRTUAL_DISPLAYS =
                "allow_always_unlocked_virtual_displays";
    }
}
Loading