Determine rear display status only based on device states
onRequestCanceled callback came before device state callback, which caused updateRearDisplayStatusListeners in line 553 to call back with STATUS_ACTIVE after the cancelation callback. onRequestActivated and onRequestCanceled don't need to update rear display status listeners, because there are always device state callbacks that will trigger updateRearDisplayStatusListeners. Bug: 264962409 Test: atest ExtensionRearDisplayTest Change-Id: Ibaf8ecfa3da8544a4a07ee803989fa136200c350
Loading
Please register or sign in to comment