If reboot happens too quickly, the video output freezes during the fade in window enter animation. This leads to the text on the shutdown UI being hard to read, as the window is still transparent and text from underneath might shine through. To resolve this, this change removes the window animations from the shutdown UI for TVs, so that the UI appears instantly without a fade. Bug: 152509487 Test: flash build and reboot / factory reset Change-Id: I28153a56f3b5cfc4f89b06fcc8fe6fba935eb30b
26 lines
1.1 KiB
XML
26 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2006 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<style name="Theme.SystemUI.Dialog" parent="@android:style/Theme.DeviceDefault.Dialog" />
|
|
<style name="Theme.SystemUI.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Dialog.Alert" />
|
|
|
|
<style name="Animation.ShutdownUi">
|
|
<item name="android:windowEnterAnimation">@null</item>
|
|
<item name="android:windowExitAnimation">@null</item>
|
|
</style>
|
|
</resources>
|