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

Commit fccc2cb6 authored by Austin Borger's avatar Austin Borger
Browse files

DO NOT MERGE CameraManager: Enable override to portrait by default for devices...

DO NOT MERGE CameraManager: Enable override to portrait by default for devices with the system property turned on.

Bug: 250678880
Test: Checked app behavior on affected device.
Change-Id: If3dcd001f9f393c2fd153aadda116302456df10b
parent 55d73f2e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ import android.annotation.SystemService;
import android.annotation.TestApi;
import android.app.compat.CompatChanges;
import android.compat.annotation.ChangeId;
import android.compat.annotation.Disabled;
import android.compat.annotation.EnabledSince;
import android.compat.annotation.Overridable;
import android.content.Context;
import android.content.pm.PackageManager;
@@ -114,7 +114,7 @@ public final class CameraManager {
     */
    @ChangeId
    @Overridable
    @Disabled
    @EnabledSince(targetSdkVersion = android.os.Build.VERSION_CODES.TIRAMISU)
    @TestApi
    public static final long OVERRIDE_FRONT_CAMERA_APP_COMPAT = 250678880L;