Loading packages/SystemUI/src/com/android/systemui/biometrics/SideFpsController.kt +9 −4 Original line number Diff line number Diff line Loading @@ -180,14 +180,19 @@ constructor( override fun show( sensorId: Int, @BiometricRequestConstants.RequestReason reason: Int ) = ) { Log.d(TAG, "ISidefpsController#show invoked $sensorId, $reason") if (reason.isReasonToAutoShow(activityTaskManager)) { show(SideFpsUiRequestSource.AUTO_SHOW, reason) } else { hide(SideFpsUiRequestSource.AUTO_SHOW) } } override fun hide(sensorId: Int) = hide(SideFpsUiRequestSource.AUTO_SHOW) override fun hide(sensorId: Int) { Log.d(TAG, "ISidefpsController#hide invoked $sensorId") hide(SideFpsUiRequestSource.AUTO_SHOW) } } ) listenForAlternateBouncerVisibility() Loading Loading @@ -247,9 +252,9 @@ constructor( /** Hides the fps overlay if shown. */ fun hide(request: SideFpsUiRequestSource) { SideFpsControllerRefactor.assertInLegacyMode() mainExecutor.execute { Log.d(TAG, "hide(request=${request.name}): removing request") requests.remove(request) mainExecutor.execute { if (requests.isEmpty()) { traceSection("SideFpsController#hide(${request.name})") { Log.d( Loading Loading
packages/SystemUI/src/com/android/systemui/biometrics/SideFpsController.kt +9 −4 Original line number Diff line number Diff line Loading @@ -180,14 +180,19 @@ constructor( override fun show( sensorId: Int, @BiometricRequestConstants.RequestReason reason: Int ) = ) { Log.d(TAG, "ISidefpsController#show invoked $sensorId, $reason") if (reason.isReasonToAutoShow(activityTaskManager)) { show(SideFpsUiRequestSource.AUTO_SHOW, reason) } else { hide(SideFpsUiRequestSource.AUTO_SHOW) } } override fun hide(sensorId: Int) = hide(SideFpsUiRequestSource.AUTO_SHOW) override fun hide(sensorId: Int) { Log.d(TAG, "ISidefpsController#hide invoked $sensorId") hide(SideFpsUiRequestSource.AUTO_SHOW) } } ) listenForAlternateBouncerVisibility() Loading Loading @@ -247,9 +252,9 @@ constructor( /** Hides the fps overlay if shown. */ fun hide(request: SideFpsUiRequestSource) { SideFpsControllerRefactor.assertInLegacyMode() mainExecutor.execute { Log.d(TAG, "hide(request=${request.name}): removing request") requests.remove(request) mainExecutor.execute { if (requests.isEmpty()) { traceSection("SideFpsController#hide(${request.name})") { Log.d( Loading