Files
wilsonshih d716934266 Fix SecondaryLauncher crash when started.
SecondaryLauncher crash after change material source.
From the error log the style of this component should be
Theme.MaterialComponents or as descendant.
Change theme parent to fix it.

Bug: 130151609
Bug: 130182878
Test: atest MultiDisplaySystemDecorationTests
Change-Id: Iad2817864326b04fac00bfc57b8ab6eaf2bd9c13
2019-04-09 11:07:28 +08:00

31 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* Copyright (C) 2018 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>
<style name="SecondaryLauncherTheme" parent="Theme.MaterialComponents.NoActionBar" >
<item name="android:windowShowWallpaper">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowBackground">@android:color/transparent</item>
</style>
</resources>