Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 onOutputOrientationChanged outputs wrong value on tablets #2984

Closed
3 of 5 tasks
jaumereg opened this issue Jun 13, 2024 · 7 comments
Closed
3 of 5 tasks

🐛 onOutputOrientationChanged outputs wrong value on tablets #2984

jaumereg opened this issue Jun 13, 2024 · 7 comments
Labels
🐛 bug Something isn't working

Comments

@jaumereg
Copy link

jaumereg commented Jun 13, 2024

What's happening?

On Android tablet, this onOutputOrientationChanged event emits "portrait" when it should be "landscape" and viceversa. (See screenshots and console warns)

My issue is that the output of the photo taken in landscape mode is always 3/4 (vertical/portrait) while the output of the photo taken in portrait mode is always 4/3 (horizontal/landscape) and I suspect this happens due to the wrong orientation calculated by the library.

I've tried using format and it wasn't working either.

1
Captured photo:
1 output

2
Captured photo:
2 output

Reproduceable Code

const device = useCameraDevice('back');

<VisionCamera
    style={StyleSheet.absoluteFill}
    device={device}
    isActive
    ref={cameraRef}
    photo
    onOutputOrientationChanged={setOrientation}
/>

Relevant log output

06-13 15:07:17.498  4771  5129 I CameraView: invokeOnAverageFpsChanged(0.0)
06-13 15:07:18.499  4771  5129 I CameraView: invokeOnAverageFpsChanged(0.0)
06-13 15:07:18.805  4771  6147 D TrafficStats: tagSocket(160) with statsTag=0xffffffff, statsUid=-1
06-13 15:07:19.502  4771  5129 I CameraView: invokeOnAverageFpsChanged(0.0)
06-13 15:07:20.504  4771  5129 I CameraView: invokeOnAverageFpsChanged(0.0)
06-13 15:07:20.815  4771  6149 D TrafficStats: tagSocket(160) with statsTag=0xffffffff, statsUid=-1
06-13 15:07:21.194  4771  4771 I CameraSession: Output orientation changed! PORTRAIT
06-13 15:07:21.208  4771  4771 I CameraView: invokeOnOutputOrientationChanged(PORTRAIT)
06-13 15:07:21.278  4771  4771 I CameraView: Updating CameraSession...
06-13 15:07:21.283  4771  4771 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=90, sourceRotationDegrees=90, isOppositeFacing=true, result=0
06-13 15:07:21.312  4771  4812 D EGL_emulation: app_time_stats: avg=8103.55ms min=155.39ms max=23609.94ms count=3
06-13 15:07:21.322  4771  4771 I CameraSession: configure { ... }: Waiting for lock...
06-13 15:07:21.323  4771  4771 I CameraSession: configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=false, orientationChanged=false, locationChanged=false)
06-13 15:07:21.323  4771  4771 I CameraSession: Creating new Outputs for Camera #10...
06-13 15:07:21.324  4771  4771 I CameraSession: Using FPS Range: null
06-13 15:07:21.324  4771  4771 I CameraSession: Creating Preview output...
06-13 15:07:21.326  4771  4812 D EGL_emulation: app_time_stats: avg=6145.97ms min=65.31ms max=23595.75ms count=4
06-13 15:07:21.327  4771  4771 I CameraSession: Creating Photo output...
06-13 15:07:21.328  4771  4771 I CameraSession: Photo size: 1280x960
06-13 15:07:21.333  4771  4771 I CameraSession: Successfully created new Outputs for Camera #10!
06-13 15:07:21.345  4771  4771 I CameraSession: Binding Camera #10...
06-13 15:07:21.346  4771  4771 I CameraSession: Unbinding 2 use-cases for Camera #10...
06-13 15:07:21.350  4771  4771 D DeferrableSurface: surface closed,  useCount=2 closed=true androidx.camera.core.SurfaceRequest$2@dcc296a
06-13 15:07:21.351  4771  4771 D DeferrableSurface: surface closed,  useCount=0 closed=true androidx.camera.core.processing.SurfaceEdge$SettableSurface@f18155e
06-13 15:07:21.352  4771  4771 D DeferrableSurface: Surface terminated[total_surfaces=2, used_surfaces=2](androidx.camera.core.processing.SurfaceEdge$SettableSurface@f18155e}
06-13 15:07:21.353  4771  4771 D DeferrableSurface: use count-1,  useCount=1 closed=true androidx.camera.core.SurfaceRequest$2@dcc296a
06-13 15:07:21.355  4771  4771 W ScreenFlashWrapper: completePendingScreenFlashClear: none pending!
06-13 15:07:21.357  4771  4771 D ImageCapture: clearPipeline
06-13 15:07:21.358  4771  4771 D DeferrableSurface: surface closed,  useCount=1 closed=true androidx.camera.core.impl.ImmediateSurface@4de6aa4
06-13 15:07:21.360  4771  4771 W ScreenFlashWrapper: completePendingScreenFlashClear: none pending!
06-13 15:07:21.361  4771  4771 I CameraSession: Binding 2 use-cases...
06-13 15:07:21.362  4771  4853 D Camera2CameraImpl: {Camera@71af76[id=10]} Use cases [androidx.camera.core.Preview-b5ec5294-847c-42e4-9ce1-42d6151d1abf73892961, androidx.camera.core.ImageCapture-4f3b1ecc-b5e8-49eb-846f-7101acb68240242162566] now DETACHED for camera
06-13 15:07:21.363  4771  4853 D UseCaseAttachState: All use case: [] for camera: 10
06-13 15:07:21.363  4771  4853 D Camera2CameraImpl: {Camera@71af76[id=10]} Resetting Capture Session
06-13 15:07:21.365  4771  4853 D SyncCaptureSessionImpl: [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@5f50322] Session call close()
06-13 15:07:21.366  4771  4853 D Camera2CameraImpl: {Camera@71af76[id=10]} Releasing session in state OPENED
06-13 15:07:21.366  4771  4853 D UseCaseAttachState: Active and attached use case: [] for camera: 10
06-13 15:07:21.375  4771  4853 D UseCaseAttachState: Active and attached use case: [] for camera: 10
06-13 15:07:21.377  4771  4853 D Camera2CameraImpl: {Camera@71af76[id=10]} Closing camera.
06-13 15:07:21.381  4771  4853 D Camera2CameraImpl: {Camera@71af76[id=10]} Transitioning camera internal state: OPENED --> CLOSING
06-13 15:07:21.384  4771  4853 D CameraStateRegistry: Recalculating open cameras:
06-13 15:07:21.384  4771  4853 D CameraStateRegistry: Camera                                       State
06-13 15:07:21.384  4771  4853 D CameraStateRegistry: -------------------------------------------------------------------
06-13 15:07:21.384  4771  4853 D CameraStateRegistry: Camera@71af76[id=10]                         CLOSING
06-13 15:07:21.384  4771  4853 D CameraStateRegistry: Camera@7c4397f[id=1]                         UNKNOWN
06-13 15:07:21.384  4771  4853 D CameraStateRegistry: -------------------------------------------------------------------
06-13 15:07:21.384  4771  4853 D CameraStateRegistry: Open count: 1 (Max allowed: 1)
06-13 15:07:21.385  4771  4853 D CameraStateMachine: New public camera state CameraState{type=CLOSING, error=null} from CLOSING and null
06-13 15:07:21.386  4771  4771 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
06-13 15:07:21.386  4771  4853 D CameraStateMachine: Publishing new public camera state CameraState{type=CLOSING, error=null}
06-13 15:07:21.387  4771  4771 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
06-13 15:07:21.388  4771  4853 D Camera2CameraImpl: {Camera@71af76[id=10]} Resetting Capture Session
06-13 15:07:21.389  4771  4853 D Camera2CameraImpl: {Camera@71af76[id=10]} Releasing session in state CLOSING
06-13 15:07:21.390  4771  4853 D SyncCaptureSessionImpl: [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@5f50322] Session call super.close()
06-13 15:07:21.392  4771  4853 D UseCaseAttachState: Active and attached use case: [] for camera: 10
06-13 15:07:21.394  4771  4853 D CaptureSession: onSessionFinished()
06-13 15:07:21.395  4771  4853 D Camera2CameraImpl: {Camera@71af76[id=10]} closing camera
06-13 15:07:21.396   428   529 D Camera2ClientBase: Camera 10: start to disconnect
06-13 15:07:21.396   428   529 D Camera2ClientBase: Camera 10: serializationLock acquired
06-13 15:07:21.397   428   529 D Camera2ClientBase: Camera 10: Shutting down
06-13 15:07:21.397   428   529 D Camera2ClientBase: Camera 10: start to cacheDump
06-13 15:07:21.407  4771  4771 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
06-13 15:07:21.411  4771  4771 D DynamicRangeResolver: Resolved dynamic range for use case androidx.camera.core.Preview-74a8c128-53e6-44d9-80f1-d4f728c7a45b to no compatible HDR dynamic ranges.
06-13 15:07:21.411  4771  4771 D DynamicRangeResolver: DynamicRange@efb9212{encoding=UNSPECIFIED, bitDepth=0}
06-13 15:07:21.411  4771  4771 D DynamicRangeResolver: ->
06-13 15:07:21.411  4771  4771 D DynamicRangeResolver: DynamicRange@fd0cd9d{encoding=SDR, bitDepth=8}
06-13 15:07:21.425  4771  4771 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
06-13 15:07:21.427   428   529 I Camera3-Device: disconnectImpl: E
06-13 15:07:21.427   428   529 I CameraLatencyHistogram: ProcessCaptureRequest latency histogram (720) samples:
06-13 15:07:21.430  4771  4771 D DeferrableSurface: Surface created[total_surfaces=3, used_surfaces=2](androidx.camera.core.processing.SurfaceEdge$SettableSurface@973a1e2}06-13 15:07:21.431   388   388 I RefreshRateSelector: Display 4619827259835644672 policy changed
06-13 15:07:21.431   388   388 I RefreshRateSelector: Previous: {defaultModeId=0, allowGroupSwitching=false, primaryRanges={physical=[60.00 Hz, inf Hz], render=[60.00 Hz, 60.00 Hz]}, appRequestRanges={physical=[60.00 Hz, inf Hz], render=[60.00 Hz, 60.00 Hz]}}
06-13 15:07:21.431   388   388 I RefreshRateSelector: Current:  DisplayManagerPolicy{defaultModeId=0, allowGroupSwitching=false, primaryRanges={physical=[0.00 Hz, inf Hz], render=[0.00 Hz, 60.00 Hz]}, appRequestRanges={physical=[0.00 Hz, inf Hz], render=[0.00 Hz, inf Hz]}}
06-13 15:07:21.431   388   388 I RefreshRateSelector: 0 mode changes were performed under the previous policy
06-13 15:07:21.430   428   529 I CameraLatencyHistogram:        40     80    120    160    200    240    280    320    360    inf (max ms)
06-13 15:07:21.431   428   529 I CameraLatencyHistogram:      100.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00 (%)
06-13 15:07:21.444   428   529 I CameraLatencyHistogram: Stream 0 dequeueBuffer latency histogram (720) samples:
06-13 15:07:21.444   428   529 I CameraLatencyHistogram:         5     10     15     20     25     30     35     40     45    inf (max ms)
06-13 15:07:21.444   428   529 I CameraLatencyHistogram:      98.89   0.14   0.00   0.00   0.00   0.42   0.14   0.00   0.14   0.28 (%)
06-13 15:07:21.446   428   529 I Camera3-Device: disconnectImpl: X
06-13 15:07:21.451  4771  4841 I CameraDevices: Camera #10 is now available.
06-13 15:07:21.452  4771  4771 D DeferrableSurface: Surface created[total_surfaces=4, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@badfa2e}
06-13 15:07:21.454   428   529 I CameraService: disconnect: Disconnected client for camera 10 for PID 4771
06-13 15:07:21.454   428   529 D cameraserver: FGS Logger Transaction failed
06-13 15:07:21.454   428   529 D cameraserver: -129
06-13 15:07:21.458  4771  4771 D DeferrableSurface: New surface in use[total_surfaces=4, used_surfaces=3](androidx.camera.core.SurfaceRequest$2@badfa2e}
06-13 15:07:21.458  4771  4771 D DeferrableSurface: use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@badfa2e
06-13 15:07:21.459  4771  4853 D DeferrableSurface: use count-1,  useCount=0 closed=true androidx.camera.core.SurfaceRequest$2@dcc296a
06-13 15:07:21.460  4771  4853 D DeferrableSurface: Surface no longer in use[total_surfaces=4, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@dcc296a}
06-13 15:07:21.460  4771  4771 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
06-13 15:07:21.460  4771  4853 D DeferrableSurface: Surface terminated[total_surfaces=3, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@dcc296a}
06-13 15:07:21.462  4771  4853 D DeferrableSurface: use count-1,  useCount=0 closed=true androidx.camera.core.impl.ImmediateSurface@4de6aa4
06-13 15:07:21.462  4771  4853 D DeferrableSurface: Surface no longer in use[total_surfaces=3, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@4de6aa4}
06-13 15:07:21.462  4771  4853 D DeferrableSurface: Surface terminated[total_surfaces=2, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@4de6aa4}
06-13 15:07:21.463  4771  4853 D Camera2CameraImpl: {Camera@71af76[id=10]} CameraDevice.onClosed()
06-13 15:07:21.464  4771  4853 D Camera2CameraImpl: {Camera@71af76[id=10]} Transitioning camera internal state: CLOSING --> INITIALIZED
06-13 15:07:21.467  4771  4853 D CameraStateRegistry: Recalculating open cameras:
06-13 15:07:21.467  4771  4853 D CameraStateRegistry: Camera                                       State
06-13 15:07:21.467  4771  4853 D CameraStateRegistry: -------------------------------------------------------------------
06-13 15:07:21.467  4771  4853 D CameraStateRegistry: Camera@71af76[id=10]                         CLOSED
06-13 15:07:21.467  4771  4853 D CameraStateRegistry: Camera@7c4397f[id=1]                         UNKNOWN
06-13 15:07:21.467  4771  4853 D CameraStateRegistry: -------------------------------------------------------------------
06-13 15:07:21.467  4771  4853 D CameraStateRegistry: Open count: 0 (Max allowed: 1)
06-13 15:07:21.468  4771  4853 D CameraStateMachine: New public camera state CameraState{type=CLOSED, error=null} from CLOSED and null
06-13 15:07:21.468  4771  4853 D CameraStateMachine: Publishing new public camera state CameraState{type=CLOSED, error=null}
06-13 15:07:21.469  4771  4771 D ImageCapture: createPipeline(cameraId: 10, streamSpec: StreamSpec{resolution=1280x960, dynamicRange=DynamicRange@fd0cd9d{encoding=SDR, bitDepth=8}, expectedFrameRateRange=[0, 0], implementationOptions=androidx.camera.camera2.impl.Camera2ImplConfig@72f2106})
06-13 15:07:21.471  4771  4771 D DeferrableSurface: Surface created[total_surfaces=3, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@bc513c7}
06-13 15:07:21.478  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Use case androidx.camera.core.ImageCapture-0e5cf762-08c6-43af-b1ee-4e37bca6a03d119614346 ACTIVE 06-13 15:07:21.478  4771  4851 D UseCaseAttachState: Active and attached use case: [] for camera: 10
06-13 15:07:21.479  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:21.480  4771  4771 I CameraView: invokeOnInitialized()
06-13 15:07:21.480  4771  4771 I CameraSession: Successfully bound Camera #10!
06-13 15:07:21.480  4771  4771 I CameraSession: configure { ... }: Completed CameraSession Configuration! (State: RESUMED)
06-13 15:07:21.482  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Use case androidx.camera.core.Preview-74a8c128-53e6-44d9-80f1-d4f728c7a45b37716469 ACTIVE
06-13 15:07:21.482  4771  4851 D UseCaseAttachState: Active and attached use case: [] for camera: 10
06-13 15:07:21.489   775   823 V WindowManagerShell: Transition requested: android.os.BinderProxy@b030e15 TransitionRequestInfo { type = CHANGE, triggerTask = null, remoteTransition = null, displayChange = DisplayChange { displayId = 0, startAbsBounds = null, endAbsBounds = null, startRotation = 1, endRotation = 0, physicalDisplayChanged = false } }
06-13 15:07:21.490  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Use case androidx.camera.core.ImageCapture-0e5cf762-08c6-43af-b1ee-4e37bca6a03d119614346 ACTIVE 06-13 15:07:21.490  4771  4851 D UseCaseAttachState: Active and attached use case: [] for camera: 10
06-13 15:07:21.491  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.492  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.492  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.492  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.492  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.493  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.493  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.493  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.493  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.494  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.494  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.494  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.494  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.495  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.495  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.495  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.496  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.496  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.496  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.497   555  5701 I ActivityTaskManager: Config changes=20000580 {1.0 310mcc260mnc [en_US] ldltr sw800dp w1280dp h744dp 320dpi xlrg long land finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 2560, 1600) mAppBounds=Rect(0, 0 - 2560, 1536) mMaxBounds=Rect(0, 0 - 2560, 1600) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1100 fontWeightAdjustment=0}
06-13 15:07:21.497  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.497  4771  4771 I CameraSession: Camera State: CLOSED (has error: false)
06-13 15:07:21.497  4771  4771 D PreviewView: Surface requested by Preview.
06-13 15:07:21.499  4771  4771 D SurfaceViewImpl: Safe to release surface.
06-13 15:07:21.499   555   597 D DisplayManagerService: Ignore redundant display event 0/2 to 10127/1863
06-13 15:07:21.500  4771  4851 D UseCaseAttachState: Active and attached use case: [] for camera: 10
06-13 15:07:21.502  4771  4771 D PreviewView: Preview transformation info updated. TransformationInfo{getCropRect=Rect(0, 0 - 1280, 960), getRotationDegrees=90, getTargetRotation=0, hasCameraTransform=true, getSensorToBufferTransform=Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false}
06-13 15:07:21.502  4771  4771 D PreviewTransform: Transformation info set: TransformationInfo{getCropRect=Rect(0, 0 - 1280, 960), getRotationDegrees=90, getTargetRotation=0, hasCameraTransform=true, getSensorToBufferTransform=Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false} 1280x960 false
06-13 15:07:21.504  4771  4771 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=90, sourceRotationDegrees=90, isOppositeFacing=true, result=0
06-13 15:07:21.505  4771  5129 I CameraView: invokeOnAverageFpsChanged(0.0)
06-13 15:07:21.506  4771  4771 D SurfaceViewImpl: Request canceled: androidx.camera.core.SurfaceRequest@1a24b55
06-13 15:07:21.506  4771  4771 D SurfaceViewImpl: Surface set on Preview.
06-13 15:07:21.508  4771  4771 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=90, sourceRotationDegrees=90, isOppositeFacing=true, result=0
06-13 15:07:21.509  4771  4771 I CameraSession: Preview orientation changed! LANDSCAPE_RIGHT
06-13 15:07:21.517  4771  4771 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=90, sourceRotationDegrees=90, isOppositeFacing=true, result=0
06-13 15:07:21.518  4771  4771 I CameraView: invokeOnPreviewOrientationChanged(LANDSCAPE_RIGHT)
06-13 15:07:21.525   555  5701 I WindowManager: Override config changes=20000580 {1.0 310mcc260mnc [en_US] ldltr sw800dp w1280dp h744dp 320dpi xlrg long land finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 2560, 1600) mAppBounds=Rect(0, 0 - 2560, 1536) mMaxBounds=Rect(0, 0 - 2560, 1600) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1100 fontWeightAdjustment=0} for displayId=0
06-13 15:07:21.526  4771  4771 D StreamStateObserver: Update Preview stream state to IDLE
06-13 15:07:21.530  4771  4771 D PreviewView: Preview transformation info updated. TransformationInfo{getCropRect=Rect(0, 0 - 1280, 960), getRotationDegrees=0, getTargetRotation=1, hasCameraTransform=true, getSensorToBufferTransform=Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false}
06-13 15:07:21.531  4771  4771 D PreviewTransform: Transformation info set: TransformationInfo{getCropRect=Rect(0, 0 - 1280, 960), getRotationDegrees=0, getTargetRotation=1, hasCameraTransform=true, getSensorToBufferTransform=Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}, isMirroring=false} 1280x960 false
06-13 15:07:21.532  4771  4771 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=90, sourceRotationDegrees=90, isOppositeFacing=true, result=0
06-13 15:07:21.533  4771  4771 I CameraView: invokeOnStopped()
06-13 15:07:21.536   775   775 I NoBackGesture: NavbarController: newConfig={1.0 310mcc260mnc [en_US] ldltr sw800dp w1280dp h744dp 320dpi xlrg long land finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 2560, 1600) mAppBounds=Rect(0, 0 - 2560, 1536) mMaxBounds=Rect(0, 0 - 2560, 1600) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1131 fontWeightAdjustment=0} mTaskbarDelegate initialized=true willApplyConfigToNavbars=false navBarCount=0
06-13 15:07:21.536   775   775 I NoBackGesture: Config changed: newConfig={1.0 310mcc260mnc [en_US] ldltr sw800dp w1280dp h744dp 320dpi xlrg long land finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 2560, 1600) mAppBounds=Rect(0, 0 - 2560, 1536) mMaxBounds=Rect(0, 0 - 2560, 1600) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1131 fontWeightAdjustment=0} lastReportedConfig={1.0 310mcc260mnc [en_US] ldltr sw800dp w800dp h1224dp 320dpi xlrg port finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 1600, 2560) mAppBounds=Rect(0, 0 - 1600, 2496) mMaxBounds=Rect(0, 0 - 1600, 2560) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_90} s.1094 fontWeightAdjustment=0}
06-13 15:07:21.537   775   775 D CentralSurfaces: Received new disable state: enaihbcrso.qingr (unchanged)
06-13 15:07:21.545  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Use cases [androidx.camera.core.Preview-74a8c128-53e6-44d9-80f1-d4f728c7a45b37716469, androidx.camera.core.ImageCapture-0e5cf762-08c6-43af-b1ee-4e37bca6a03d119614346] now ATTACHED
06-13 15:07:21.561  4771  4851 D UseCaseAttachState: All use case: [androidx.camera.core.ImageCapture-0e5cf762-08c6-43af-b1ee-4e37bca6a03d119614346, androidx.camera.core.Preview-74a8c128-53e6-44d9-80f1-d4f728c7a45b37716469] for camera: 10
06-13 15:07:21.562  4771  4851 D Camera2CameraImpl: mMeteringRepeating is ATTACHED, SessionConfig Surfaces: 2, CaptureConfig Surfaces: 1
06-13 15:07:21.564  4771  4851 D UseCaseAttachState: Active and attached use case: [androidx.camera.core.ImageCapture-0e5cf762-08c6-43af-b1ee-4e37bca6a03d119614346, androidx.camera.core.Preview-74a8c128-53e6-44d9-80f1-d4f728c7a45b37716469] for camera: 10
06-13 15:07:21.571  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Resetting Capture Session
06-13 15:07:21.571  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Releasing session in state INITIALIZED
06-13 15:07:21.572  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Attempting to force open the camera.
06-13 15:07:21.573  4771  4851 D CameraStateRegistry: tryOpenCamera(Camera@71af76[id=10]) [Available Cameras: 1, Already Open: false (Previous state: CLOSED)] --> SUCCESS 06-13 15:07:21.574   555  5701 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
06-13 15:07:21.575  4771  4851 D CameraStateRegistry: Recalculating open cameras:
06-13 15:07:21.575  4771  4851 D CameraStateRegistry: Camera                                       State
06-13 15:07:21.575  4771  4851 D CameraStateRegistry: -------------------------------------------------------------------
06-13 15:07:21.575  4771  4851 D CameraStateRegistry: Camera@71af76[id=10]                         OPENING
06-13 15:07:21.575  4771  4851 D CameraStateRegistry: Camera@7c4397f[id=1]                         UNKNOWN
06-13 15:07:21.575  4771  4851 D CameraStateRegistry: -------------------------------------------------------------------
06-13 15:07:21.575  4771  4851 D CameraStateRegistry: Open count: 1 (Max allowed: 1)
06-13 15:07:21.576  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Opening camera.
06-13 15:07:21.577  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Transitioning camera internal state: INITIALIZED --> OPENING
06-13 15:07:21.577  4771  4851 D CameraStateMachine: New public camera state CameraState{type=OPENING, error=null} from OPENING and null
06-13 15:07:21.577  4771  4851 D CameraStateMachine: Publishing new public camera state CameraState{type=OPENING, error=null}
06-13 15:07:21.578  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.578  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.579  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.579  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.579  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.579  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.580  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.581  4771  4851 D UseCaseAttachState: All use case: [androidx.camera.core.ImageCapture-0e5cf762-08c6-43af-b1ee-4e37bca6a03d119614346, androidx.camera.core.Preview-74a8c128-53e6-44d9-80f1-d4f728c7a45b37716469] for camera: 10
06-13 15:07:21.581  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.581  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.581  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.581  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.582  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.582  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.582  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.582  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.582  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.582  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.582  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.582  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.583  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.583  4771  4771 I CameraSession: Camera State: OPENING (has error: false)
06-13 15:07:21.592   555  5701 W PackageConfigPersister: App-specific configuration not found for packageName: com.android.settings and userId: 0
06-13 15:07:21.600  1366  1366 W GoogleInputMethodService: GoogleInputMethodService.onConfigurationChanged():1557 onConfigurationChanged() : NewConfig = {1.0 310mcc260mnc [en_US] ldltr sw800dp w1280dp h744dp 320dpi xlrg long land finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 2560, 1600) mAppBounds=Rect(0, 0 - 2560, 1536) mMaxBounds=Rect(0, 0 - 2560, 1600) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1100 fontWeightAdjustment=0}
06-13 15:07:21.600  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.onConfigurationChanged():1575 changedMask : 20000580
06-13 15:07:21.601  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.maybeDestroyExistingKeyboardGroupManager():512 Destroy existing keyboard group manager in eco
06-13 15:07:21.601  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.createKeyboardGroupManagerListenableFuture():124 Create keyboard group manager listenable future in eco
06-13 15:07:21.601  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.maybeDestroyExistingKeyboardGroupManager():512 Destroy existing keyboard group manager in ebn
06-13 15:07:21.601  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.createKeyboardGroupManagerListenableFuture():124 Create keyboard group manager listenable future in ebn
06-13 15:07:21.601  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.maybeDestroyExistingKeyboardGroupManager():512 Destroy existing keyboard group manager in een
06-13 15:07:21.601  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.createKeyboardGroupManagerListenableFuture():124 Create keyboard group manager listenable future in een
06-13 15:07:21.601  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.maybeDestroyExistingKeyboardGroupManager():512 Destroy existing keyboard group manager in csi
06-13 15:07:21.601  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.createKeyboardGroupManagerListenableFuture():124 Create keyboard group manager listenable future in csi
06-13 15:07:21.602  1366  5033 I KeyboardGroupDefParser: KeyboardGroupDefParser.parseKeyboardGroupDef():88 parseKeyboardGroupDef() 2132214024 -> 0_resource_name_obfuscated : WaitTime = 1 ms : RunTime = 0 ms
06-13 15:07:21.602  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.602  1366  5032 I KeyboardGroupDefParser: KeyboardGroupDefParser.parseKeyboardGroupDef():88 parseKeyboardGroupDef() 2132214027 -> 0_resource_name_obfuscated : WaitTime = 1 ms : RunTime = 0 ms
06-13 15:07:21.602  1366  1366 I KeyboardModeManager: KeyboardModeManager.setInputView():364 setInputView() : supportsOneHandedMode=false
06-13 15:07:21.603  1366  5033 I KeyboardGroupDefParser: KeyboardGroupDefParser.parseKeyboardGroupDef():88 parseKeyboardGroupDef() 2132214034 -> 0_resource_name_obfuscated : WaitTime = 1 ms : RunTime = 0 ms
06-13 15:07:21.603  1366  1366 I NormalModeController: NormalModeController.getKeyboardBodyViewHolderPaddingBottom():116 currentPrimeKeyboardType:SOFT systemPaddingBottom:-1
06-13 15:07:21.603  1366  1366 I KeyboardModeManager: KeyboardModeManager.setInputView():356 setInputView() : entry=hwn{languageTag=en-US, variant=qwerty, hasLocalizedResources=true, conditionCacheKey=_device=tablet_device_size=large_enable_adaptive_text_editing=true_enable_inline_suggestions_on_client_side=false_enable_large_tablet_batch_1=false_enable_large_tablet_batch_2=false_enable_more_candidates_view_for_multilingual=false_enable_nav_redesign=false_enable_number_row=false_enable_preemptive_decode=true_enable_secondary_symbols=false_expressions=normal_four_or_more_letter_rows=false_keyboard_mode=normal_language=en-US_orientation=portrait_physical_keyboard=qwerty_show_secondary_digits=true_show_suggestions=true_split_with_duplicate_keys=true_variant=qwerty, imeDef.stringId=ime_english_united_states, imeDef.className=com.google.android.apps.inputmethod.libs.latin5.LatinIme, imeDef.languageTag=en-US}
06-13 15:07:21.603  1366  5033 I KeyboardGroupDefParser: KeyboardGroupDefParser.parseKeyboardGroupDef():88 parseKeyboardGroupDef() 2132214033 -> 0_resource_name_obfuscated : WaitTime = 1 ms : RunTime = 0 ms
06-13 15:07:21.606   555  1111 W System.err: java.lang.SecurityException: Caller with uid 1047 is not android
06-13 15:07:21.607   388   388 I BpBinder: onLastStrongRef automatically unlinking death recipients:
06-13 15:07:21.607   555  1111 W System.err:    at com.android.server.devicepolicy.DevicePolicyManagerService.getCallerIdentity(DevicePolicyManagerService.java:2368)
06-13 15:07:21.607   555  1111 W System.err:    at com.android.server.devicepolicy.DevicePolicyManagerService.getCameraDisabled(DevicePolicyManagerService.java:9311)
06-13 15:07:21.607   555  1111 W System.err:    at android.app.admin.DevicePolicyManager.getCameraDisabled(DevicePolicyManager.java:8423)
06-13 15:07:21.607   555  1111 W System.err:    at com.android.server.camera.CameraServiceProxy$2.isCameraDisabled(CameraServiceProxy.java:622)
06-13 15:07:21.607   555  1111 W System.err:    at android.hardware.ICameraServiceProxy$Stub.onTransact(ICameraServiceProxy.java:174)
06-13 15:07:21.608   555  1111 W System.err:    at android.os.Binder.execTransactInternal(Binder.java:1344)
06-13 15:07:21.608   555  1111 W System.err:    at android.os.Binder.execTransact(Binder.java:1275)
06-13 15:07:21.608   428   529 I CameraService: CameraService::connect call (PID 4771 "com.advise.sales.assist", camera ID 10) and Camera API version 2
06-13 15:07:21.610  1001  1001 D b/254119092: TaskbarManager#mComponentCallbacks.onConfigurationChanged: {1.0 310mcc260mnc [en_US] ldltr sw800dp w1280dp h744dp 320dpi xlrg long land finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 2560, 1600) mAppBounds=Rect(0, 0 - 2560, 1536) mMaxBounds=Rect(0, 0 - 2560, 1600) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1100 fontWeightAdjustment=0}
06-13 15:07:21.610  1001  1001 D b/254119092: mActivity and mContext agree taskbarIsPresent=true
06-13 15:07:21.611  1001  1001 D b/254119092: ComponentCallbacks#onConfigurationChanged() configDiffForRecreate={CONFIG_ORIENTATION, CONFIG_SCREEN_LAYOUT, CONFIG_WINDOW_CONFIGURATION}
06-13 15:07:21.611  1001  1001 D b/254119092: mActivity and mContext agree taskbarIsPresent=true
06-13 15:07:21.613   428   529 I Camera2ClientBase: Camera 10: Opened. Client: com.advise.sales.assist (PID 4771, UID 10190)
06-13 15:07:21.613   428   529 I CameraDeviceClient: CameraDeviceClient 10: Opened
06-13 15:07:21.613   428   529 I CameraService: makeClient: Camera2 API, override to portrait 1
06-13 15:07:21.620  1366  1366 I StyledKeyboardTheme: StyledKeyboardTheme.<init>():87 Pref: [], themeName: [silk:], darkMode: [false], cacheKey: [overlay_builtin_dynamic_color_light_base.binarypb:dynamic-light-fff1f0f7-ffb2c5ff-734dbefe1e6f4840c010420f35e14fb0]
06-13 15:07:21.620   555   595 W Looper  : Slow dispatch took 124ms android.ui h=android.os.Handler c=android.hardware.display.DisplayManagerGlobal$DisplayListenerDelegate$$ExternalSyntheticLambda0@61246d6 m=0
06-13 15:07:21.620  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.621  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.621  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.621  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.621  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.initializeKeyboardTheme():1343 Apply keyboard theme: theme_border_stylesheet_noshadow_gsans_pillkey_silkpopup_materiallight_tablet_large_overlay_builtin_dynamic_color_light_base.binarypb:dynamic-light-fff1f0f7-ffb2c5ff-734dbefe1e6f4840c010420f35e14fb0_land
06-13 15:07:21.627  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.627  1366  1366 I NormalModeController: NormalModeController.getKeyboardBodyViewHolderPaddingBottom():116 currentPrimeKeyboardType:SOFT systemPaddingBottom:-1
06-13 15:07:21.627   555   597 I InputManager-JNI: Viewport [0] to add: local:4619827259835644672, isActive: true
06-13 15:07:21.632   555   664 I InputReader: Reconfiguring input devices, changes=DISPLAY_INFO
06-13 15:07:21.633   555   664 I InputReader: Touch device 'virtio_input_multi_touch_11' could not query the properties of its associated display.  The device will be inoperable until the display size becomes available.
06-13 15:07:21.634  1366  1366 I InputMethodEntryManager: InputMethodEntryManager.startLoadingInputMethodEntrySettings():739 Start loading input method entry settings: [LanguageTagVariantTuple{languageTag=en-US, variant=qwerty}]
06-13 15:07:21.634   555   664 I InputReader: Touch device 'virtio_input_multi_touch_10' could not query the properties of its associated display.  The device will be inoperable until the display size becomes available.
06-13 15:07:21.634   555   664 I InputReader: Touch device 'virtio_input_multi_touch_9' could not query the properties of its associated display.  The device will be inoperable until the display size becomes available.
06-13 15:07:21.635   555   664 I InputReader: Touch device 'virtio_input_multi_touch_8' could not query the properties of its associated display.  The device will be inoperable until the display size becomes available.
06-13 15:07:21.635   555   664 I InputReader: Touch device 'virtio_input_multi_touch_7' could not query the properties of its associated display.  The device will be inoperable until the display size becomes available.
06-13 15:07:21.635   555   664 I InputReader: Touch device 'virtio_input_multi_touch_6' could not query the properties of its associated display.  The device will be inoperable until the display size becomes available.
06-13 15:07:21.635   555   664 I InputReader: Touch device 'virtio_input_multi_touch_5' could not query the properties of its associated display.  The device will be inoperable until the display size becomes available.
06-13 15:07:21.635   555   664 I InputReader: Touch device 'virtio_input_multi_touch_4' could not query the properties of its associated display.  The device will be inoperable until the display size becomes available.
06-13 15:07:21.636   555   664 I InputReader: Touch device 'virtio_input_multi_touch_3' could not query the properties of its associated display.  The device will be inoperable until the display size becomes available.
06-13 15:07:21.637   775   823 V WindowManagerShell: Display changed: 0
06-13 15:07:21.638  1366  1366 I InputMethodEntryManager: InputMethodEntryManager.updateInputMethodEntrySettingsLoadingTask():826 update loading task with resetImplicitlyEnabledEntries is false
06-13 15:07:21.642   555   664 I InputReader: Touch device 'virtio_input_multi_touch_2' could not query the properties of its associated display.  The device will be inoperable until the display size becomes available.
06-13 15:07:21.646  1366  1366 I KeyboardViewUtil: KeyboardViewUtil.getKeyboardHeightRatio():189 systemKeyboardHeightRatio:1.000000; userKeyboardHeightRatio:1.000000.
06-13 15:07:21.668  1366  1366 W StyleResolver: StyleResolver.resolveValue():233 Invalid variable: color_silk_surface_background
06-13 15:07:21.672  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1877 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=com.advise.sales.assist fieldId=0 fieldName=null extras=null}, true)
06-13 15:07:21.672  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.shouldHideHeaderOnInitialState():4008 ShouldHideHeaderOnInitialState = false
06-13 15:07:21.677  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2087 repeatCheckTimes = 2, unlocked = true
06-13 15:07:21.677  1366  1366 W SessionManager: SessionManager.beginSession():53 Try to begin an already begun session [INPUT_SESSION], end it first
06-13 15:07:21.678   864   947 E SystemServiceRegistry: No service published for: ethernet
06-13 15:07:21.678   864   947 E SystemServiceRegistry: android.os.ServiceManager$ServiceNotFoundException: No service published for: ethernet
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.os.ServiceManager.getServiceOrThrow(ServiceManager.java:166)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.app.SystemServiceRegistry$139.createService(SystemServiceRegistry.java:1872)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.app.SystemServiceRegistry$CachedServiceFetcher.getService(SystemServiceRegistry.java:1971)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.app.SystemServiceRegistry.getSystemService(SystemServiceRegistry.java:1645)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.app.ContextImpl.getSystemService(ContextImpl.java:2212)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.content.ContextWrapper.getSystemService(ContextWrapper.java:934)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at com.android.networkstack.tethering.Tethering.isEthernetSupported(Tethering.java:1582)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at com.android.networkstack.tethering.Tethering.makeSupportedDownstreams(Tethering.java:2550)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at com.android.networkstack.tethering.Tethering.updateSupportedDownstreams(Tethering.java:2524)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at com.android.networkstack.tethering.Tethering.updateConfiguration(Tethering.java:546)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at com.android.networkstack.tethering.Tethering.-$$Nest$mupdateConfiguration(Tethering.java:0)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at com.android.networkstack.tethering.Tethering$StateReceiver.onReceive(Tethering.java:1184)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0(LoadedApk.java:1802)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.app.LoadedApk$ReceiverDispatcher$Args.$r8$lambda$gDuJqgxY6Zb-ifyeubKeivTLAwk(Unknown Source:0)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.app.LoadedApk$ReceiverDispatcher$Args$$ExternalSyntheticLambda0.run(Unknown Source:2)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.os.Handler.handleCallback(Handler.java:958)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.os.Handler.dispatchMessage(Handler.java:99)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.os.Looper.loopOnce(Looper.java:205)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.os.Looper.loop(Looper.java:294)
06-13 15:07:21.678   864   947 E SystemServiceRegistry:         at android.os.HandlerThread.run(HandlerThread.java:67)
06-13 15:07:21.680  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.680  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension$3.onSuccess():525 KeyboardGroupManager destroyed in eco.
06-13 15:07:21.680  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension$3.onSuccess():525 KeyboardGroupManager destroyed in ebn.
06-13 15:07:21.680  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension$3.onSuccess():525 KeyboardGroupManager destroyed in een.
06-13 15:07:21.680  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension$3.onSuccess():525 KeyboardGroupManager destroyed in csi.
06-13 15:07:21.690  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.lambda$setDecorViewApplyWindowInsetsListener$10():1155 update screenHeightWithoutNaviBar to: 1504
06-13 15:07:21.691  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.lambda$setDecorViewApplyWindowInsetsListener$10():1161 update max height when insets changes
06-13 15:07:21.692   555  1112 V CameraService_proxy: Disable Rotate and Crop to avoid conflicts with WM force rotation treatment.
06-13 15:07:21.696  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.lambda$setDecorViewApplyWindowInsetsListener$10():1155 update screenHeightWithoutNaviBar to: 1600
06-13 15:07:21.696  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.lambda$setDecorViewApplyWindowInsetsListener$10():1161 update max height when insets changes
06-13 15:07:21.702   428   529 D cameraserver: FGS Logger Transaction failed
06-13 15:07:21.702   428   529 D cameraserver: -129
06-13 15:07:21.737  4771  4841 I CameraDevices: Camera #10 is now unavailable.
06-13 15:07:21.740  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Use case androidx.camera.core.Preview-74a8c128-53e6-44d9-80f1-d4f728c7a45b37716469 ACTIVE
06-13 15:07:21.742  4771  4812 E OpenGLRenderer: Unable to match the desired swap behavior.
06-13 15:07:21.745  1001  1687 E FrameEvents: updateAcquireFence: Did not find frame.
06-13 15:07:21.749  1366  1366 I InputMethodEntryManager: InputMethodEntryManager$5.onSuccess():845 Success load entries: [LanguageTagVariantTuple{languageTag=en-US, variant=qwerty}], resetImplicitlyEnabledEntries=false
06-13 15:07:21.751  1366  1366 I DictionarySuperpacksManager: DictionarySuperpacksManager$1.onEnabledInputMethodEntriesChanged():61 onEnabledInputMethodEntriesChanged
06-13 15:07:21.755  1366  2564 I SP      : Registering content_cache.2022112214, url: https://www.gstatic.com/android/keyboard/modelpack/contentcache/202211221443/superpacks_manifest.json, constraints: W:*:*:*, flags: bg, requested: 2022112214, current: 2022112214
06-13 15:07:21.761   775   884 E OpenGLRenderer: Unable to match the desired swap behavior.
06-13 15:07:21.762  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.maybeDestroyExistingKeyboardGroupManager():512 Destroy existing keyboard group manager in eco
06-13 15:07:21.763  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.createKeyboardGroupManagerListenableFuture():124 Create keyboard group manager listenable future in eco
06-13 15:07:21.764  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.maybeDestroyExistingKeyboardGroupManager():512 Destroy existing keyboard group manager in ebn
06-13 15:07:21.764  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.createKeyboardGroupManagerListenableFuture():124 Create keyboard group manager listenable future in ebn
06-13 15:07:21.764  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.maybeDestroyExistingKeyboardGroupManager():512 Destroy existing keyboard group manager in een
06-13 15:07:21.766  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.createKeyboardGroupManagerListenableFuture():124 Create keyboard group manager listenable future in een
06-13 15:07:21.768  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.maybeDestroyExistingKeyboardGroupManager():512 Destroy existing keyboard group manager in csi
06-13 15:07:21.768  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension.createKeyboardGroupManagerListenableFuture():124 Create keyboard group manager listenable future in csi
06-13 15:07:21.769  1366  5032 I KeyboardGroupDefParser: KeyboardGroupDefParser.parseKeyboardGroupDef():88 parseKeyboardGroupDef() 2132214024 -> 0_resource_name_obfuscated : WaitTime = 5 ms : RunTime = 0 ms
06-13 15:07:21.770  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.771  1001  1001 D b/254119092: DisplayController#onConfigurationChanged: {1.0 310mcc260mnc [en_US] ldltr sw800dp w1280dp h744dp 320dpi xlrg long land finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 2560, 1600) mAppBounds=Rect(0, 0 - 2560, 1536) mMaxBounds=Rect(0, 0 - 2560, 1600) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1100 fontWeightAdjustment=0}
06-13 15:07:21.773  1366  5033 I KeyboardGroupDefParser: KeyboardGroupDefParser.parseKeyboardGroupDef():88 parseKeyboardGroupDef() 2132214027 -> 0_resource_name_obfuscated : WaitTime = 4 ms : RunTime = 1 ms
06-13 15:07:21.774  1366  5032 I KeyboardGroupDefParser: KeyboardGroupDefParser.parseKeyboardGroupDef():88 parseKeyboardGroupDef() 2132214034 -> 0_resource_name_obfuscated : WaitTime = 2 ms : RunTime = 0 ms
06-13 15:07:21.774  1001  1001 D b/254119092: DisplayInfoChangeListener#CHANGE_ROTATION
06-13 15:07:21.774  1001  1001 D b/254119092: mActivity and mContext agree taskbarIsPresent=true
06-13 15:07:21.775  1366  1366 I StyledKeyboardTheme: StyledKeyboardTheme.<init>():87 Pref: [], themeName: [silk:], darkMode: [false], cacheKey: [overlay_builtin_dynamic_color_light_base.binarypb:dynamic-light-fff1f0f7-ffb2c5ff-734dbefe1e6f4840c010420f35e14fb0]
06-13 15:07:21.776  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.777  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.778  1366  5033 I KeyboardGroupDefParser: KeyboardGroupDefParser.parseKeyboardGroupDef():88 parseKeyboardGroupDef() 2132214033 -> 0_resource_name_obfuscated : WaitTime = 5 ms : RunTime = 1 ms
06-13 15:07:21.778  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.778  1366  1366 I DeviceModeUtil: DeviceModeUtil.getDeviceMode():122 Get device mode tablet_large by ui mode:1 and smallestScreenWidthDp:800
06-13 15:07:21.778  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.initializeKeyboardTheme():1343 Apply keyboard theme: theme_border_stylesheet_noshadow_gsans_pillkey_silkpopup_materiallight_tablet_large_overlay_builtin_dynamic_color_light_base.binarypb:dynamic-light-fff1f0f7-ffb2c5ff-734dbefe1e6f4840c010420f35e14fb0_land
06-13 15:07:21.785  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension$3.onSuccess():525 KeyboardGroupManager destroyed in eco.
06-13 15:07:21.786  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension$3.onSuccess():525 KeyboardGroupManager destroyed in ebn.
06-13 15:07:21.786  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension$3.onSuccess():525 KeyboardGroupManager destroyed in een.
06-13 15:07:21.786  1366  1366 I AbstractOpenableExtension: AbstractOpenableExtension$3.onSuccess():525 KeyboardGroupManager destroyed in csi.
06-13 15:07:21.790  1366  2564 I SP      : Registering emoticon_content_description.2022081613, url: https://www.gstatic.com/android/keyboard/emoticon_content_desc/202208161305/superpacks_manifest.json, constraints: W:*:*:*, flags: bg, requested: 2022081613, current: 2022081613
06-13 15:07:21.792  1001  1001 D b/260135164: updateIconAlphaForHome - setIconsAlpha(0), isTaskbarPresent: true
06-13 15:07:21.796   555  5701 I WindowManager: finishDrawing of orientation change: Window{3b53bbb u0 ScreenDecorOverlayBottom} 182ms
06-13 15:07:21.803   388   515 I BpBinder: onLastStrongRef automatically unlinking death recipients:
06-13 15:07:21.815  4771  4851 D UseCaseAttachState: Active and attached use case: [androidx.camera.core.ImageCapture-0e5cf762-08c6-43af-b1ee-4e37bca6a03d119614346, androidx.camera.core.Preview-74a8c128-53e6-44d9-80f1-d4f728c7a45b37716469] for camera: 10
06-13 15:07:21.827  1366  2564 I SP      : Syncing content_cache (2022112214) with slices: [e9a5a2de48a4f8b9a658b411bcfb375d, 8722425f4121ffdea802b1066df73991, fa1da98da1212aad6fb9a8efaff48148], metadata: true
06-13 15:07:21.829  1001  1687 E OpenGLRenderer: Unable to match the desired swap behavior.
06-13 15:07:21.831  1366  2564 I SP      : Syncing emoticon_content_description (2022081613) with slices: [7a635888cb828dfa2fc744b7b9b50f04], metadata: false
06-13 15:07:21.835  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Use case androidx.camera.core.ImageCapture-0e5cf762-08c6-43af-b1ee-4e37bca6a03d119614346 ACTIVE 06-13 15:07:21.837  4771  4851 D UseCaseAttachState: Active and attached use case: [androidx.camera.core.ImageCapture-0e5cf762-08c6-43af-b1ee-4e37bca6a03d119614346, androidx.camera.core.Preview-74a8c128-53e6-44d9-80f1-d4f728c7a45b37716469] for camera: 10
06-13 15:07:21.874  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} CameraDevice.onOpened()
06-13 15:07:21.875  4771  4851 D Camera2CameraImpl: {Camera@71af76[id=10]} Transitioning camera internal state: OPENING --> OPENED
06-13 15:07:21.891  4771  4851 D CameraStateRegistry: Recalculating open cameras:
06-13 15:07:21.891  4771  4851 D CameraStateRegistry: Camera                                       State
06-13 15:07:21.891  4771  4851 D CameraStateRegistry: -------------------------------------------------------------------
06-13 15:07:21.891  4771  4851 D CameraStateRegistry: Camera@71af76[id=10]                         OPEN
06-13 15:07:21.891  4771  4851 D CameraStateRegistry: Camera@7c4397f[id=1]                         UNKNOWN
06-13 15:07:21.891  4771  4851 D CameraStateRegistry: -------------------------------------------------------------------
06-13 15:07:21.891  4771  4851 D CameraStateRegistry: Open count: 1 (Max allowed: 1)
06-13 15:07:21.892  4771  4851 D CameraStateMachine: New public camera state CameraState{type=OPEN, error=null} from OPEN and null
06-13 15:07:21.892  4771  4851 D CameraStateMachine: Publishing new public camera state CameraState{type=OPEN, error=null}
06-13 15:07:21.895  4771  4851 D UseCaseAttachState: All use case: [androidx.camera.core.ImageCapture-0e5cf762-08c6-43af-b1ee-4e37bca6a03d119614346, androidx.camera.core.Preview-74a8c128-53e6-44d9-80f1-d4f728c7a45b37716469] for camera: 10
06-13 15:07:21.907  4771  4851 D UseCaseAttachState: Active and attached use case: [androidx.camera.core.ImageCapture-0e5cf762-08c6-43af-b1ee-4e37bca6a03d119614346, androidx.camera.core.Preview-74a8c128-53e6-44d9-80f1-d4f728c7a45b37716469] for camera: 10
06-13 15:07:21.915  4771  4851 D SyncCaptureSessionBase: [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@f34d7a8] getSurface done with results: [Surface(name=null)/@0x430c240, Surface(name=null)/@0x6aff3cb]
06-13 15:07:21.916  4771  4851 D CaptureSession: Opening capture session.
06-13 15:07:21.920  4771  4851 D SyncCaptureSessionImpl: [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@f34d7a8] start openCaptureSession
06-13 15:07:21.929   555  2506 I WindowManager: finishDrawing of orientation change: Window{38b531c u0 com.advise.sales.assist/com.advise.sales.assist.MainActivity} 319ms 06-13 15:07:21.943   555  2506 I WindowManager: finishDrawing of orientation change: Window{f623671 u0 Taskbar} 330ms
06-13 15:07:21.959   775   884 E OpenGLRenderer: Unable to match the desired swap behavior.
06-13 15:07:21.963  4771  4851 D DeferrableSurface: use count+1, useCount=2 androidx.camera.core.SurfaceRequest$2@badfa2e
06-13 15:07:21.965  4771  4851 D DeferrableSurface: New surface in use[total_surfaces=3, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@bc513c7}
06-13 15:07:21.967  4771  4771 D CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
06-13 15:07:21.975  4771  4851 D DeferrableSurface: use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@bc513c7
06-13 15:07:21.996   428   529 W cameraserver: createSurfaceFromGbp: Camera 10 with consumer usage flag: 2304: Forcing asynchronous mode forstream
06-13 15:07:21.999   428   529 W cameraserver: createSurfaceFromGbp: Camera 10: Overriding format 0x4 to IMPLEMENTATION_DEFINED
06-13 15:07:22.026   555  2506 I WindowManager: finishDrawing of orientation change: Window{e3bc47f u0 StatusBar} 413ms
06-13 15:07:22.031   360   360 D camera.provider.ranchu: CameraDeviceSession:configureStreams:176 cfg={ .streams.size=2, .operationMode=0, .cfg.sessionParams.size()=64,  .streamConfigCounter=1, .multiResolutionInputImage=false }
06-13 15:07:22.031   360   360 D camera.provider.ranchu: CameraDeviceSession:configureStreams:199 stream={ .id=0, .streamType=0, .width=1280, .height=960, .format=IMPLEMENTATION_DEFINED, .usage=0x900, .dataSpace={ .low=0x0, .s=0, .t=0, .r=0 }, .rotation=0, .physicalCameraId='', .bufferSize=0, .groupId=-1, .dynamicRangeProfile=0x1 }
06-13 15:07:22.031   360   360 D camera.provider.ranchu: CameraDeviceSession:configureStreams:199 stream={ .id=1, .streamType=0, .width=1280, .height=960, .format=BLOB, .usage=0x3, .dataSpace={ .low=0x0, .s=2, .t=3, .r=1 }, .rotation=0, .physicalCameraId='', .bufferSize=1228808, .groupId=-1, .dynamicRangeProfile=0x1 }
06-13 15:07:22.305  4771  4771 D SurfaceViewImpl: Surface changed. Size: 1280x960
06-13 15:07:22.315   428   529 D Camera3-Device: Set real time priority for request queue thread (tid 6157)
06-13 15:07:22.317  4771  4851 D SyncCaptureSessionImpl: [androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl@f34d7a8] Session onConfigured()
06-13 15:07:22.318  4771  4851 D CaptureSession: Attempting to send capture request onConfigured
06-13 15:07:22.319  4771  4851 D CaptureSession: Issuing request for session.
06-13 15:07:22.319  4771  4851 D Camera2CaptureRequestBuilder: createCaptureRequest
06-13 15:07:22.328  4771  4851 D CaptureSession: CameraCaptureSession.onConfigured() mState=OPENED
06-13 15:07:22.330  4771  4851 D CaptureSession: CameraCaptureSession.onReady() OPENED
06-13 15:07:22.371  4771  4812 E OpenGLRenderer: Unable to match the desired swap behavior.
06-13 15:07:22.513  4771  5129 I CameraView: invokeOnAverageFpsChanged(0.0)
06-13 15:07:22.517   555  2506 I WindowManager: finishDrawing of orientation change: Window{2df59a u0 com.advise.sales.assist/com.advise.sales.assist.MainActivity} 906ms
06-13 15:07:22.517  4771  4851 D StreamStateObserver: Update Preview stream state to STREAMING
06-13 15:07:22.519  4771  5155 I OpenGLRenderer: Davey! duration=879ms; Flags=0, FrameTimelineVsyncId=424504, IntendedVsync=881147493884, Vsync=881447493872, InputEventId=0, HandleInputStart=881458624000, AnimationStart=881458809100, PerformTraversalsStart=881499525700, DrawStart=881899000700, FrameDeadline=881164160550, FrameInterval=881458246900, FrameStartTime=16666666, SyncQueued=881915799200, SyncStart=881921198600, IssueDrawCommandsStart=881922277100, SwapBuffers=881923558300, FrameCompleted=882032461600, DequeueBufferDuration=73334300, QueueBufferDuration=498600, GpuCompleted=881966901200, SwapBuffersCompleted=882032461600, DisplayPresentTime=0, CommandSubmissionCompleted=881923558300,
06-13 15:07:22.522  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.523  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.523  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.523  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.523  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.523  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.524  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.524  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.525  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.525  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.541  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.541  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.542  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.542  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.542  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.542  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.542  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.542  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.542  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.543  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.543  4771  4771 I CameraSession: Camera State: OPEN (has error: false)
06-13 15:07:22.544  4771  4771 I Choreographer: Skipped 33 frames!  The application may be doing too much work on its main thread.
06-13 15:07:22.629   775   823 V WindowManagerShell: onTransitionReady android.os.BinderProxy@b030e15: {id=43 t=CHANGE f=0x0 trk=0 r=[0@Point(0, 0)] c=[{WCT{android.window.IWindowContainerToken$Stub$Proxy@4738489} m=CHANGE f=NONE p=WCT{android.window.IWindowContainerToken$Stub$Proxy@2875c8e} leash=Surface(name=Task=26)/@0xd3d2924 sb=Rect(0, 0 - 1600, 2560) eb=Rect(0, 0 - 2560, 1600) d=0 r=1->0:0},{WCT{android.window.IWindowContainerToken$Stub$Proxy@5a9dcaf} m=CHANGE f=NONE p=WCT{android.window.IWindowContainerToken$Stub$Proxy@8ea78bc} leash=Surface(name=DefaultTaskDisplayArea)/@0xb6bac8d sb=Rect(0, 0 - 1600, 2560) eb=Rect(0, 0 - 2560, 1600) d=0 r=1->0:-1},{WCT{android.window.IWindowContainerToken$Stub$Proxy@a06e045} m=CHANGE f=IS_DISPLAY leash=Surface(name=WindowedMagnification:0:31)/@0xd799e42 sb=Rect(0, 0 - 1600, 2560) eb=Rect(0, 0 - 2560, 1600) d=0 r=1->0:-1 snapshot=Surface(name=RotationLayer)/@0x40cae53}]}
06-13 15:07:22.630   775   823 V WindowManagerShell: Playing animation for (#43)android.os.BinderProxy@b030e15@0
06-13 15:07:22.630   775   823 V WindowManagerShell:  try handler com.android.wm.shell.transition.DefaultMixedHandler@3f46679
06-13 15:07:22.630   775   823 V WindowManagerShell:  try handler com.android.wm.shell.keyguard.KeyguardTransitionHandler@deafbe
06-13 15:07:22.630   775   823 V WindowManagerShell:  try handler com.android.wm.shell.activityembedding.ActivityEmbeddingController@350e81f
06-13 15:07:22.630   775   823 V WindowManagerShell:  try handler com.android.wm.shell.recents.RecentsTransitionHandler@726776c
06-13 15:07:22.630   775   823 V ShellRecents: RecentsTransitionHandler.startAnimation: no controller found
06-13 15:07:22.630   775   823 V WindowManagerShell:  try handler com.android.wm.shell.pip.PipTransition@d4bf135
06-13 15:07:22.630   775   823 V WindowManagerShell:  try handler com.android.wm.shell.splitscreen.StageCoordinator@d209ca
06-13 15:07:22.631   775   823 V WindowManagerShell:  try handler com.android.wm.shell.transition.RemoteTransitionHandler@4a5e73b
06-13 15:07:22.631   775   823 V WindowManagerShell:  try handler com.android.wm.shell.transition.DefaultTransitionHandler@9b99e58
06-13 15:07:22.631   775   823 V WindowManagerShell: start default transition animation, info = {id=43 t=CHANGE f=0x0 trk=0 r=[0@Point(0, 0)] c=[{WCT{android.window.IWindowContainerToken$Stub$Proxy@4738489} m=CHANGE f=NONE p=WCT{android.window.IWindowContainerToken$Stub$Proxy@2875c8e} leash=Surface(name=Task=26)/@0xd3d2924 sb=Rect(0, 0 - 1600, 2560) eb=Rect(0, 0 - 2560, 1600) d=0 r=1->0:0},{WCT{android.window.IWindowContainerToken$Stub$Proxy@5a9dcaf} m=CHANGE f=NONE p=WCT{android.window.IWindowContainerToken$Stub$Proxy@8ea78bc} leash=Surface(name=DefaultTaskDisplayArea)/@0xb6bac8d sb=Rect(0, 0 - 1600, 2560) eb=Rect(0, 0 - 2560, 1600) d=0 r=1->0:-1},{WCT{android.window.IWindowContainerToken$Stub$Proxy@a06e045} m=CHANGE f=IS_DISPLAY leash=Surface(name=WindowedMagnification:0:31)/@0xd799e42 sb=Rect(0, 0 - 1600, 2560) eb=Rect(0, 0 - 2560, 1600) d=0 r=1->0:-1 snapshot=Surface(name=RotationLayer)/@0x40cae53}]}
06-13 15:07:22.631   775   823 V WindowManagerShell: Display is changing, resolve the animation hint.
06-13 15:07:22.632   775   823 V WindowManagerShell:   task 26 isn't requesting seamless, so not seamless.
06-13 15:07:22.636   555   594 V WindowManager: Sent Transition #43 createdAt=06-13 15:07:21.488 via request=TransitionRequestInfo { type = CHANGE, triggerTask = null, remoteTransition = null, displayChange = DisplayChange { displayId = 0, startAbsBounds = null, endAbsBounds = null, startRotation = 1, endRotation = 0, physicalDisplayChanged = false } }
06-13 15:07:22.636   555   594 V WindowManager:     startWCT=WindowContainerTransaction { changes = {} hops = [] errorCallbackToken=null taskFragmentOrganizer=null }
06-13 15:07:22.636   555   594 V WindowManager:     info={id=43 t=CHANGE f=0x0 trk=0 r=[0@Point(0, 0)] c=[{WCT{RemoteToken{7c0753c Task{7a06e0 #26 type=standard A=10190:com.advise.sales.assist}}} m=CHANGE f=NONE p=WCT{RemoteToken{688dec3 DefaultTaskDisplayArea@178177574}} leash=Surface(name=Task=26)/@0x90ce810 sb=Rect(0, 0 - 1600, 2560) eb=Rect(0, 0 - 2560, 1600) d=0 r=1->0:0},{WCT{RemoteToken{688dec3 DefaultTaskDisplayArea@178177574}} m=CHANGE f=NONE p=WCT{RemoteToken{c836163 Display{#0 state=ON size=2560x1600 ROTATION_0}}} leash=Surface(name=DefaultTaskDisplayArea)/@0xc1532db sb=Rect(0, 0 - 1600, 2560) eb=Rect(0, 0 - 2560, 1600) d=0 r=1->0:-1},{WCT{RemoteToken{c836163 Display{#0 state=ON size=2560x1600 ROTATION_0}}} m=CHANGE f=IS_DISPLAY leash=Surface(name=WindowedMagnification:0:31)/@0x1ce4925 sb=Rect(0, 0 - 1600, 2560) eb=Rect(0, 0 - 2560, 1600) d=0 r=1->0:-1}]}
06-13 15:07:22.644   775   823 V WindowManagerShell:  animated by com.android.wm.shell.transition.DefaultTransitionHandler@9b99e58
06-13 15:07:22.673   775   884 E OpenGLRenderer: Unable to match the desired swap behavior.
06-13 15:07:22.711  4771  4771 I CameraView: invokeOnStarted()
06-13 15:07:22.721   555  2506 I WindowManager: finishDrawing of orientation change: Window{76a6866 u0 ScreenDecorOverlay} 81ms
06-13 15:07:22.738  1366  2564 I SP      : Sync for content_cache succeeded in 921 ms: no changes
06-13 15:07:22.739  1366  2564 I SP      : Sync for emoticon_content_description succeeded in 922 ms: no changes
06-13 15:07:22.740  1366  2564 I SP      : GC for 'content_cache' (10) with ttl of 0 ms took 0 ms (0/0/0)
06-13 15:07:22.742  1366  2564 I SP      : GC for 'emoticon_content_description' (10) with ttl of 0 ms took 0 ms (0/0/0)
06-13 15:07:22.768  4771  4788 I OpenGLRenderer: Davey! duration=757ms; Flags=0, FrameTimelineVsyncId=424745, IntendedVsync=881514160536, Vsync=882064160514, InputEventId=0, HandleInputStart=882083402000, AnimationStart=882083566500, PerformTraversalsStart=882121932000, DrawStart=882176131200, FrameDeadline=881997493850, FrameInterval=882071957000, FrameStartTime=16666666, SyncQueued=882179960600, SyncStart=882200462900, IssueDrawCommandsStart=882200734200, SwapBuffers=882205849200, FrameCompleted=882292294900, DequeueBufferDuration=45998800, QueueBufferDuration=13324300, GpuCompleted=882246172000, SwapBuffersCompleted=882292294900, DisplayPresentTime=0, CommandSubmissionCompleted=882205849200,
06-13 15:07:22.837  4771  6162 D TrafficStats: tagSocket(117) with statsTag=0xffffffff, statsUid=-1
06-13 15:07:22.865   555  2506 I ImeTracker: com.advise.sales.assist:56757ff2: onRequestHide at ORIGIN_SERVER_HIDE_INPUT reason HIDE_SAME_WINDOW_FOCUSED_WITHOUT_EDITOR
06-13 15:07:22.865   555  2506 I ImeTracker: com.advise.sales.assist:56757ff2: onCancelled at PHASE_SERVER_SHOULD_HIDE
06-13 15:07:22.868  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3227
06-13 15:07:22.871  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2087 repeatCheckTimes = 0, unlocked = true
06-13 15:07:22.872  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1877 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=com.advise.sales.assist fieldId=0 fieldName=null extras=null}, false)
06-13 15:07:22.873  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.shouldHideHeaderOnInitialState():4008 ShouldHideHeaderOnInitialState = false
06-13 15:07:22.884  1366  1366 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2087 repeatCheckTimes = 2, unlocked = true
06-13 15:07:22.959   775   823 V WindowManagerShell: Transition animation finished (aborted=false), notifying core (#43)android.os.BinderProxy@b030e15@0
06-13 15:07:22.963   555   594 V WindowManager: Finish Transition #43: created at 06-13 15:07:21.488 collect-started=0.05ms request-sent=0.11ms started=3.582ms ready=111.12ms sent=1138.719ms finished=1473.536ms
06-13 15:07:22.963   775   823 V WindowManagerShell: Track 0 became idle
06-13 15:07:22.964   775   823 V WindowManagerShell: All active transition animations finished
06-13 15:07:22.991  1001  1687 D EGL_emulation: app_time_stats: avg=87.37ms min=5.30ms max=776.38ms count=11
06-13 15:07:23.514  4771  5129 I CameraView: invokeOnAverageFpsChanged(0.0)
06-13 15:07:24.516  4771  5129 I CameraView: invokeOnAverageFpsChanged(0.0)
06-13 15:07:24.856  4771  6164 D TrafficStats: tagSocket(117) with statsTag=0xffffffff, statsUid=-1
06-13 15:07:25.517  4771  5129 I CameraView: invokeOnAverageFpsChanged(0.0)

Camera Device

{                                                 
    "formats": [],                                         
    "sensorOrientation": "landscape-left",                 
    "hardwareLevel": "limited",                            
    "maxZoom": 1,                                          
    "minZoom": 1,                                          
    "maxExposure": 6,                                      
    "supportsLowLightBoost": false,                        
    "neutralZoom": 1,                                      
    "physicalDevices": [                                   
        "ultra-wide-angle-camera"                            
    ],                                                     
    "supportsFocus": false,                                
    "supportsRawCapture": false,                           
    "isMultiCam": false,                                   
    "minFocusDistance": 999.999985098839,                  
    "minExposure": -6,                                     
    "name": "10 (BACK) androidx.camera.camera2",           
    "hasFlash": false,                                     
    "hasTorch": false,                                     
    "position": "back",                                    
    "id": "10"                                             
}

Device

Pixel Tablet API 34

VisionCamera Version

4.2.1

Can you reproduce this issue in the VisionCamera Example app?

Yes, I can reproduce the same issue in the Example app here

Additional information

@jaumereg jaumereg added the 🐛 bug Something isn't working label Jun 13, 2024
Copy link

maintenance-hans bot commented Jun 13, 2024

Guten Tag, Hans here.

Note

New features, bugfixes, updates and other improvements are all handled mostly by @mrousavy in his free time.
To support @mrousavy, please consider 💖 sponsoring him on GitHub 💖.
Sponsored issues will be prioritized.

@maintenance-hans maintenance-hans bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
@maintenance-hans maintenance-hans bot reopened this Jun 13, 2024
@jaumereg jaumereg changed the title 🐛 onOutputOrientationChanged wrong value on tablets Jun 13, 2024
@mrousavy
Copy link
Owner

No relevant outputs on console.

I need the log output. I need to know what happens on the native side and what orientations are computed. If you leave this out, I cannot help you. If you add this, we can reopen the issue.

@mrousavy mrousavy closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
@maintenance-hans maintenance-hans bot reopened this Jun 13, 2024
@jaumereg
Copy link
Author

The log output is what happens when going from portrait (selfie camera left) to landscape (selfie camera top)

@mrousavy
Copy link
Owner

Great, thanks! I'll try to take a look at this sometime soon. Not sure when I'd have the time for that.

@mrousavy
Copy link
Owner

When you say "Preview" in your issue, you mean "Captured Photo", not "Preview" right? The term "Preview" means live preview view for me.

@jaumereg
Copy link
Author

@mrousavy Exactly. I've updated the labelling to avoid confusion.

@mrousavy
Copy link
Owner

Hm, to be honest I don't think there's anything I'm doing wrong. I think this is either a bug of the Android Emulator you are using, or the Camera2 HAL implementation of that Tablet, or CameraX - but there's no explicit portrait handling on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
2 participants