home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.33k stars 651 forks source link

Camera stream no longer plays on 2023.6.0-full #3585

Closed msp1974 closed 1 year ago

msp1974 commented 1 year ago

Home Assistant Android app version(s): 2023.6.0-full

Android version(s): 13

Device model(s): Samsung S23 Ultra

Home Assistant version: 2023.6.1

Last working Home Assistant release (if known):2023.5.4 (app 2023.3.0-full)

Description of problem, include YAML if issue is related to notifications:Camera streams no longer play on companion app. Working fine in browser but just show static camera image and time bar moves like it is playing. Camera streams come from a Hikvision DVR in H264.

Companion App Logs: 6-14 16:37:14.197 5290 5290 I DecorView: notifyKeepScreenOnChanged: keepScreenOn=false 06-14 16:37:14.200 5290 5290 D InsetsController: onStateChanged: InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2316), mDisplayCutout=DisplayCutout{insets=Rect(0, 75 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(693, 0 - 747, 75), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2316 physicalDisplayWidth=1440 physicalDisplayHeight=3088 density={2.8125} cutoutSpec={M 0,0 H -9.466666666666667 V 26.66666666666667‬ H 9.466666666666667 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=9, center=Point(9, 9)}, RoundedCorner{position=TopRight, radius=9, center=Point(1071, 9)}, RoundedCorner{position=BottomRight, radius=9, center=Point(1071, 2307)}, RoundedCorner{position=BottomLeft, radius=9, center=Point(9, 2307)}]} mRoundedCornerFrame=Rect(0, 0 - 1080, 2316), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(948, 0 - 1080, 75) rotation=0}, mSources= { InsetsSource: {mType=ITYPE_STATUS_BAR, mFrame=[0,0][1080,75], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_NAVIGATION_BAR, mFrame=[0,2172][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_GESTURES, mFrame=[0,0][0,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_GESTURES, mFrame=[1080,0][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_MANDATORY_GESTURES, mFrame=[0,0][1080,111], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_MANDATORY_GESTURES, mFrame=[0,2172][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_DISPLAY_CUTOUT, mFrame=[0,0][-100000,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_DISPLAY_CUTOUT, mFrame=[0,0][1080,75], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_DISPLAY_CUTOUT, mFrame=[100000,0][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_DISPLAY_CUTOUT, mFrame=[0,100000][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_TAPPABLE_ELEMENT, mFrame=[0,0][1080,75], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_TAPPABLE_ELEMENT, mFrame=[0,2172][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false} } host=io.homeassistant.companion.android/io.homeassistant.companion.android.webview.WebViewActivity from=android.view.ViewRootImpl.setView:1732 06-14 16:37:14.200 5290 5290 I ViewRootImpl@89f93e5[WebViewActivity]: setView = com.android.internal.policy.DecorView@beb0d9 TM=true 06-14 16:37:14.200 5290 5290 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@beb0d9[WebViewActivity] 06-14 16:37:14.206 5290 5290 D InputMethodManager: startInputInner - Id : 0 06-14 16:37:14.210 5290 5571 W AudioCapabilities: Unsupported mime audio/x-ape 06-14 16:37:14.211 5290 5571 W AudioCapabilities: Unsupported mime audio/x-ima 06-14 16:37:14.211 5290 5290 D CompatibilityChangeReporter: Compat change id reported: 193247900; UID 10355; state: ENABLED 06-14 16:37:14.211 5290 5571 W AudioCapabilities: Unsupported mime audio/mpeg-L1 06-14 16:37:14.211 5290 5571 W AudioCapabilities: Unsupported mime audio/mpeg-L2 06-14 16:37:14.211 5290 5571 W VideoCapabilities: Unsupported mime video/wvc1 06-14 16:37:14.211 5290 5571 W VideoCapabilities: Unsupported mime video/x-ms-wmv 06-14 16:37:14.211 5290 5290 I SurfaceView@f52a0d8: onWindowVisibilityChanged(0) false android.view.SurfaceView{f52a0d8 G.E...... ......I. 0,0-0,0} of ViewRootImpl@89f93e5[WebViewActivity] 06-14 16:37:14.211 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.211 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: performTraversals params={(0,0)(fillxfill) sim={adjust=resize forwardNavigation} ty=BASE_APPLICATION wanim=0x1030309 sysuil=true 06-14 16:37:14.211 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: fl=81810100 06-14 16:37:14.211 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: pfl=16020040 06-14 16:37:14.211 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: vsysui=2010 06-14 16:37:14.211 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: apr=LIGHT_STATUS_BARS LIGHT_NAVIGATION_BARS 06-14 16:37:14.211 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: bhv=DEFAULT 06-14 16:37:14.211 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: fitSides= naviIconColor=0} 06-14 16:37:14.212 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: performTraversals mFirst=true windowShouldResize=true viewVisibilityChanged=false mForceNextWindowRelayout=false params={(0,0)(fillxfill) sim={adjust=resize forwardNavigation} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030309 sysuil=true 06-14 16:37:14.212 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: fl=81810100 06-14 16:37:14.212 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: pfl=16020040 06-14 16:37:14.212 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: vsysui=2010 06-14 16:37:14.212 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: apr=LIGHT_STATUS_BARS LIGHT_NAVIGATION_BARS 06-14 16:37:14.212 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: bhv=DEFAULT 06-14 16:37:14.212 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: fitSides= naviIconColor=0} 06-14 16:37:14.216 5290 5290 D InsetsController: onStateChanged: InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2316), mDisplayCutout=DisplayCutout{insets=Rect(0, 75 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(693, 0 - 747, 75), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2316 physicalDisplayWidth=1440 physicalDisplayHeight=3088 density={2.8125} cutoutSpec={M 0,0 H -9.466666666666667 V 26.66666666666667‬ H 9.466666666666667 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=9, center=Point(9, 9)}, RoundedCorner{position=TopRight, radius=9, center=Point(1071, 9)}, RoundedCorner{position=BottomRight, radius=9, center=Point(1071, 2307)}, RoundedCorner{position=BottomLeft, radius=9, center=Point(9, 2307)}]} mRoundedCornerFrame=Rect(0, 0 - 1080, 2316), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(948, 0 - 1080, 75) rotation=0}, mSources= { InsetsSource: {mType=ITYPE_STATUS_BAR, mFrame=[0,0][1080,75], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_NAVIGATION_BAR, mFrame=[0,2172][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_GESTURES, mFrame=[0,0][0,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_GESTURES, mFrame=[1080,0][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_MANDATORY_GESTURES, mFrame=[0,0][1080,111], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_MANDATORY_GESTURES, mFrame=[0,2172][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_DISPLAY_CUTOUT, mFrame=[0,0][-100000,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_DISPLAY_CUTOUT, mFrame=[0,0][1080,75], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_DISPLAY_CUTOUT, mFrame=[100000,0][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_DISPLAY_CUTOUT, mFrame=[0,100000][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_TAPPABLE_ELEMENT, mFrame=[0,0][1080,75], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_TAPPABLE_ELEMENT, mFrame=[0,2172][1080,2316], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_IME, mFrame=[0,0][0,0], mVisible=false, mInsetsRoundedCornerFrame=false} } host=io.homeassistant.companion.android/io.homeassistant.companion.android.webview.WebViewActivity from=android.view.ViewRootImpl.relayoutWindow:9798 06-14 16:37:14.216 5290 5290 I BLASTBufferQueue: new BLASTBufferQueue, mName= ViewRootImpl@89f93e5[WebViewActivity] mNativeObject= 0xb4000077c4a61400 sc.mNativeObject= 0xb4000078419c4b60 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2905 android.view.ViewRootImpl.relayoutWindow:9843 android.view.ViewRootImpl.performTraversals:3880 android.view.ViewRootImpl.doTraversal:3112 android.view.ViewRootImpl$TraversalRunnable.run:10881 android.view.Choreographer$CallbackRecord.run:1301 android.view.Choreographer$CallbackRecord.run:1309 android.view.Choreographer.doCallbacks:923 android.view.Choreographer.doFrame:852 android.view.Choreographer$FrameDisplayEventReceiver.run:1283 06-14 16:37:14.216 5290 5290 I BLASTBufferQueue: update, w= 1080 h= 2316 mName = ViewRootImpl@89f93e5[WebViewActivity] mNativeObject= 0xb4000077c4a61400 sc.mNativeObject= 0xb4000078419c4b60 format= -3 caller= android.graphics.BLASTBufferQueue.:84 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2905 android.view.ViewRootImpl.relayoutWindow:9843 android.view.ViewRootImpl.performTraversals:3880 android.view.ViewRootImpl.doTraversal:3112 android.view.ViewRootImpl$TraversalRunnable.run:10881 06-14 16:37:14.217 5290 5290 I ViewRootImpl@89f93e5[WebViewActivity]: Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=4 res=0x3 s={true 0xb4000077a2171800} ch=true seqId=0 06-14 16:37:14.217 5290 5290 I ViewRootImpl@89f93e5[WebViewActivity]: performConfigurationChange setNightDimText nightDimLevel=0 06-14 16:37:14.217 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: mThreadedRenderer.initialize() mSurface={isValid=true 0xb4000077a2171800} hwInitialized=true 06-14 16:37:14.217 5290 5380 D OpenGLRenderer: eglCreateWindowSurface 06-14 16:37:14.217 5290 5571 W VideoCapabilities: Unsupported mime image/vnd.android.heic 06-14 16:37:14.217 5290 5290 I SurfaceView@f52a0d8: windowStopped(false) false android.view.SurfaceView{f52a0d8 G.E...... ......I. 0,0-0,0} of ViewRootImpl@89f93e5[WebViewActivity] 06-14 16:37:14.217 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.217 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: reportNextDraw android.view.ViewRootImpl.performTraversals:4434 android.view.ViewRootImpl.doTraversal:3112 android.view.ViewRootImpl$TraversalRunnable.run:10881 android.view.Choreographer$CallbackRecord.run:1301 android.view.Choreographer$CallbackRecord.run:1309 06-14 16:37:14.217 5290 5571 W VideoCapabilities: Unsupported mime image/vnd.android.heic 06-14 16:37:14.217 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.217 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: Setup new sync id=0 06-14 16:37:14.217 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: Setting syncFrameCallback 06-14 16:37:14.217 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: registerCallbacksForSync syncBuffer=false 06-14 16:37:14.217 5290 5571 W VideoCapabilities: Unrecognized profile/level 32768/256 for video/mp4v-es 06-14 16:37:14.218 5290 5408 D ViewRootImpl@89f93e5[WebViewActivity]: Received frameDrawingCallback syncResult=0 frameNum=1. 06-14 16:37:14.220 5290 5571 W cr_VAUtil: Unknown profile: 1 or level: 524288 for codec video/avc 06-14 16:37:14.220 5290 5408 D ViewRootImpl@89f93e5[WebViewActivity]: Setting up sync and frameCommitCallback 06-14 16:37:14.220 5290 5571 W cr_VAUtil: Unknown profile: 65536 or level: 524288 for codec video/avc 06-14 16:37:14.220 5290 5571 W cr_VAUtil: Unknown profile: 2 or level: 524288 for codec video/avc 06-14 16:37:14.220 5290 5571 W cr_VAUtil: Unknown profile: 8 or level: 524288 for codec video/avc 06-14 16:37:14.220 5290 5571 W cr_VAUtil: Unknown profile: 524288 or level: 524288 for codec video/avc 06-14 16:37:14.220 5290 5571 W cr_VAUtil: Unknown profile: 1 or level: 524288 for codec video/avc 06-14 16:37:14.220 5290 5571 W cr_VAUtil: Unknown profile: 65536 or level: 524288 for codec video/avc 06-14 16:37:14.220 5290 5571 W cr_VAUtil: Unknown profile: 2 or level: 524288 for codec video/avc 06-14 16:37:14.220 5290 5571 W cr_VAUtil: Unknown profile: 8 or level: 524288 for codec video/avc 06-14 16:37:14.220 5290 5571 W cr_VAUtil: Unknown profile: 524288 or level: 524288 for codec video/avc 06-14 16:37:14.239 5290 5587 W chromium: [WARNING:display_webview.cc(32)] WebView overlays are enabled! 06-14 16:37:14.239 5290 5380 I BLASTBufferQueue: ViewRootImpl@89f93e5[WebViewActivity]#1 onFrameAvailable the first frame is available 06-14 16:37:14.239 5290 5380 D ViewRootImpl@89f93e5[WebViewActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true 06-14 16:37:14.239 5290 5380 D OpenGLRenderer: CFMS:: SetUp Pid : 5290 Tid : 5380 06-14 16:37:14.242 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: onSyncComplete 06-14 16:37:14.242 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: setupSync seqId=0 mSyncId=0 fn=1 caller=android.view.ViewRootImpl$$ExternalSyntheticLambda11.accept:6 android.window.SurfaceSyncer.lambda$setupSync$1$android-window-SurfaceSyncer:128 android.window.SurfaceSyncer$$ExternalSyntheticLambda1.accept:8 android.window.SurfaceSyncer$SyncSet.checkIfSyncIsComplete:382 android.window.SurfaceSyncer$SyncSet.markSyncReady:359 android.window.SurfaceSyncer.markSyncReady:151 android.view.ViewRootImpl.performTraversals:4499 06-14 16:37:14.243 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: reportDrawFinished seqId=0 mSyncId=-1 fn=1 mSurfaceChangedTransaction=0xb4000077a1f1c900 06-14 16:37:14.245 5290 5290 I ViewRootImpl@756fd55[LaunchActivity]: MSG_WINDOW_FOCUS_CHANGED 0 0 06-14 16:37:14.247 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.253 5290 5365 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.254 5290 5416 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=5fd12ff2-7cae-4e0e-aa07-6dbb69b5902d, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ] 06-14 16:37:14.254 5290 5290 I ViewRootImpl@89f93e5[WebViewActivity]: MSG_WINDOW_FOCUS_CHANGED 1 0 06-14 16:37:14.254 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb4000077a2171800} 06-14 16:37:14.255 5290 5290 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.255 5290 5290 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1686757034255) 06-14 16:37:14.255 5290 5290 I cr_DWTrigger: updateDWServiceStatus() : isEnabled = true 06-14 16:37:14.255 5290 5290 I cr_DWTrigger: updateDWServiceStatus() : isEnabled = true 06-14 16:37:14.256 5290 5290 D InputMethodManager: startInputInner - Id : 0 06-14 16:37:14.256 5290 5290 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus 06-14 16:37:14.259 5290 5290 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.259 5290 5290 D ServerConnectionInfo: Using cloud / remote UI URL 06-14 16:37:14.259 5290 5290 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.259 5290 5290 D ServerConnectionInfo: Using cloud / remote UI URL 06-14 16:37:14.261 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.263 5290 5416 I WM-Processor: Moving WorkSpec (37a38fd3-ccbb-4d57-b4c6-30a4f16e58b1) to the foreground 06-14 16:37:14.286 5290 5290 I ViewRootImpl@756fd55[LaunchActivity]: handleAppVisibility mAppVisible = true visible = false 06-14 16:37:14.287 5290 5290 I ViewRootImpl@756fd55[LaunchActivity]: stopped(true) old = false 06-14 16:37:14.287 5290 5290 D ViewRootImpl@756fd55[LaunchActivity]: WindowStopped on io.homeassistant.companion.android/io.homeassistant.companion.android.launch.LaunchActivity set to true 06-14 16:37:14.289 5290 5290 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@f2710e5[LaunchActivity] 06-14 16:37:14.290 5290 5290 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@f2710e5[LaunchActivity] 06-14 16:37:14.290 5290 5380 D OpenGLRenderer: setSurface called with nullptr 06-14 16:37:14.290 5290 5380 D OpenGLRenderer: setSurface() destroyed EGLSurface 06-14 16:37:14.290 5290 5380 D OpenGLRenderer: destroyEglSurface 06-14 16:37:14.291 5290 5290 I ViewRootImpl@756fd55[LaunchActivity]: dispatchDetachedFromWindow 06-14 16:37:14.293 5290 5290 D InputTransport: Input channel destroyed: '66cc83e', fd=112 06-14 16:37:14.294 5290 5290 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=io.homeassistant.companion.android/androidx.work.impl.foreground.SystemForegroundService (has extras) } 06-14 16:37:14.294 5290 5371 D SensorWorker: Updating all Sensors in foreground. 06-14 16:37:14.296 5290 5371 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.324 5290 5442 D LocBroadcastReceiver: Zone enabled servers changed. Reconfigure zones. 06-14 16:37:14.324 5290 5442 D LocBroadcastReceiver: Removing geofence location requests. 06-14 16:37:14.324 5290 5442 D LocBroadcastReceiver: Registering for zone based location updates 06-14 16:37:14.330 5290 5442 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.336 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.340 5290 5371 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.341 5290 5371 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.394 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.401 5290 5735 D WebviewActivity: External bus {"type":"config/get","id":1} 06-14 16:37:14.401 5290 5290 D WebviewActivity: externalBus({"id":1,"type":"result","success":true,"result":{"hasSettingsScreen":true,"canWriteTag":true,"hasExoPlayer":true,"canCommissionMatter":true}}); 06-14 16:37:14.410 5290 5290 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.410 5290 5290 D ServerConnectionInfo: Using cloud / remote UI URL 06-14 16:37:14.411 5290 5290 D WebviewActivity: Callback null 06-14 16:37:14.411 5290 5290 D WebviewActivity: Color from webview is "#03a9f4-SPACER-#fafafa" 06-14 16:37:14.411 5290 5290 D WebviewActivity: Color from webview is "#03a9f4-SPACER-#fafafa" 06-14 16:37:14.411 5290 5371 D WebViewPresenterImpl: Try getting color from webview color "#03a9f4". 06-14 16:37:14.411 5290 5371 I WebViewPresenterImpl: Found color -16537100. 06-14 16:37:14.411 5290 5371 D WebViewPresenterImpl: Try getting color from webview color "#fafafa". 06-14 16:37:14.411 5290 5371 I WebViewPresenterImpl: Found color -328966. 06-14 16:37:14.419 5290 5290 I DecorView: notifyKeepScreenOnChanged: keepScreenOn=false 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: performTraversals params={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030309 sysuil=true 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: fl=81810100 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: pfl=16020040 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: vsysui=10 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: apr=LIGHT_NAVIGATION_BARS 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: bhv=DEFAULT 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: fitSides= naviIconColor=0} 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: performTraversals mFirst=false windowShouldResize=false viewVisibilityChanged=false mForceNextWindowRelayout=false params={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030309 sysuil=true 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: fl=81810100 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: pfl=16020040 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: vsysui=10 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: apr=LIGHT_NAVIGATION_BARS 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: bhv=DEFAULT 06-14 16:37:14.419 5290 5290 D ViewRootImpl@89f93e5[WebViewActivity]: fitSides= naviIconColor=0} 06-14 16:37:14.421 5290 5290 I BLASTBufferQueue: update, w= 1080 h= 2316 mName = ViewRootImpl@89f93e5[WebViewActivity] mNativeObject= 0xb4000077c4a61400 sc.mNativeObject= 0xb4000077c490b3a0 format= -3 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2894 android.view.ViewRootImpl.relayoutWindow:9843 android.view.ViewRootImpl.performTraversals:3880 android.view.ViewRootImpl.doTraversal:3112 android.view.ViewRootImpl$TraversalRunnable.run:10881 android.view.Choreographer$CallbackRecord.run:1301 06-14 16:37:14.421 5290 5290 I ViewRootImpl@89f93e5[WebViewActivity]: Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=2 res=0x0 s={true 0xb4000077a2171800} ch=false seqId=0 06-14 16:37:14.421 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.431 5290 5371 D LocBroadcastReceiver: Registering for location updates. 06-14 16:37:14.437 5290 5371 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.464 5290 5371 D SensorReceiver: Nothing to update for server 2 (Home) 06-14 16:37:14.464 5290 5371 I SensorReceiver: Sensor updates and sync completed 06-14 16:37:14.531 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.536 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.545 5290 5371 D SensorReceiver: Nothing to update for server 2 (Home) 06-14 16:37:14.545 5290 5371 I SensorReceiver: Sensor updates and sync completed 06-14 16:37:14.545 5290 5415 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=37a38fd3-ccbb-4d57-b4c6-30a4f16e58b1, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ] 06-14 16:37:14.546 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.547 5290 5290 I WM-SystemFgDispatcher: Stopping foreground service 06-14 16:37:14.548 5290 5290 D ConnectivityManager: StackLog: [android.net.ConnectivityManager.unregisterNetworkCallback(ConnectivityManager.java:4863)] [androidx.work.impl.utils.NetworkApi21.unregisterNetworkCallbackCompat(NetworkApi21.kt:31)] [androidx.work.impl.constraints.trackers.NetworkStateTracker24.stopTracking(NetworkStateTracker.kt:154)] [androidx.work.impl.constraints.trackers.ConstraintTracker.removeListener(ConstraintTracker.kt:73)] [androidx.work.impl.constraints.controllers.ConstraintController.replace(ConstraintController.kt:80)] [androidx.work.impl.constraints.WorkConstraintsTrackerImpl.replace(WorkConstraintsTracker.kt:92)] [androidx.work.impl.foreground.SystemForegroundDispatcher.onExecuted(SystemForegroundDispatcher.java:148)] [androidx.work.impl.Processor.onExecuted(Processor.java:385)] [androidx.work.impl.Processor$FutureListener.run(Processor.java:484)] 06-14 16:37:14.556 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.561 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.569 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.578 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.586 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.590 5290 5365 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.590 5290 5365 D ServerConnectionInfo: Using cloud / remote UI URL 06-14 16:37:14.592 5290 5365 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.592 5290 5365 D ServerConnectionInfo: Using cloud / remote UI URL 06-14 16:37:14.594 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.595 5290 5737 D TrafficStats: tagSocket(119) with statsTag=0xffffffff, statsUid=-1 06-14 16:37:14.602 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.611 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.620 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.627 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.636 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.644 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.653 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.662 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.670 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.678 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.686 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.694 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.701 5290 5735 D WebviewActivity: External bus {"type":"connection-status","payload":{"event":"connected"},"id":2} 06-14 16:37:14.702 5290 5290 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 06-14 16:37:14.703 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.711 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.719 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.727 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.736 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.745 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.752 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame 06-14 16:37:14.758 5290 5365 D LocBroadcastReceiver: Background location updates appear to have stopped, restarting location updates 06-14 16:37:14.758 5290 5365 D LocBroadcastReceiver: Removing background location requests. 06-14 16:37:14.761 5290 5365 D LocBroadcastReceiver: Registering for location updates. 06-14 16:37:14.762 5290 5290 D SurfaceView@f52a0d8: updateSurface: has no frame

Screenshot or video of problem:

Additional information:

dshokouhi commented 1 year ago

When you say working fine in browser are you using Chrome for Android on the same device? Because that is hte actual check we would ask you to do.

msp1974 commented 1 year ago

Ah good point - no, I meant browser on PC. It behaves in the same way on the browser too. In doing this, I have got it to work maybe 1 out of 10 times. Is this then more likley a core issue or android issue than companion app?

dshokouhi commented 1 year ago

yes this is a HA frontend issue, please open a new issue and make sure to follow their issue template as they request different logs etc... You may also want to check open issues in case someone else already filed it.

https://github.com/home-assistant/frontend/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml