Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62e6a40d authored by Bryan Owens's avatar Bryan Owens Committed by Gerrit Code Review
Browse files

Themes: Expose manifest styles for themes



Change-Id: I5c706654538a435738419f69d4909d205d26abb8
Signed-off-by: default avatarBryan Owens <djbryan3540@gmail.com>
parent aec68c49
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -2815,7 +2815,7 @@
                android:label="@string/managed_profile_label">
        </activity-alias>
        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
                android:theme="@style/Theme.Material.Light.Dialog"
                android:theme="@style/HeavyWeightSwitcherActivityTheme"
                android:label="@string/heavy_weight_switcher_title"
                android:finishOnCloseSystemDialogs="true"
                android:excludeFromRecents="true"
@@ -2848,7 +2848,7 @@
        <activity android:name="android.accounts.ChooseAccountActivity"
                android:excludeFromRecents="true"
                android:exported="true"
                android:theme="@style/Theme.Material.Light.Dialog"
                android:theme="@style/ChooseAccountActivityTheme"
                android:label="@string/choose_account_label"
                android:process=":ui">
        </activity>
@@ -2856,14 +2856,14 @@
        <activity android:name="android.accounts.ChooseTypeAndAccountActivity"
                android:excludeFromRecents="true"
                android:exported="true"
                android:theme="@style/Theme.Material.Light.Dialog"
                android:theme="@style/ChooseTypeAndAccountActivityTheme"
                android:label="@string/choose_account_label"
                android:process=":ui">
        </activity>

        <activity android:name="android.accounts.ChooseAccountTypeActivity"
                android:excludeFromRecents="true"
                android:theme="@style/Theme.Material.Light.Dialog"
                android:theme="@style/ChooseAccountTypeActivityTheme"
                android:label="@string/choose_account_label"
                android:process=":ui">
        </activity>
@@ -2871,19 +2871,19 @@
        <activity android:name="android.accounts.CantAddAccountActivity"
                android:excludeFromRecents="true"
                android:exported="true"
                android:theme="@style/Theme.Material.Light.Dialog.NoActionBar"
                android:theme="@style/CantAddAccountActivityTheme"
                android:process=":ui">
        </activity>

        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
                android:excludeFromRecents="true"
                android:exported="true"
                android:theme="@style/Theme.Material.Light.DialogWhenLarge"
                android:theme="@style/GrantCredentialsPermissionActivityTheme"
                android:process=":ui">
        </activity>

        <activity android:name="android.content.SyncActivityTooManyDeletes"
               android:theme="@style/Theme.Material.Light.Dialog"
               android:theme="@style/SyncActivityTooManyDeletesTheme"
               android:label="@string/sync_too_many_deletes"
               android:process=":ui">
        </activity>
@@ -2903,7 +2903,7 @@
        </activity>

        <activity android:name="com.android.internal.app.NetInitiatedActivity"
                android:theme="@style/Theme.Material.Light.Dialog.Alert"
                android:theme="@style/NetInitiatedActivityTheme"
                android:excludeFromRecents="true"
                android:process=":ui">
        </activity>
+37 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2016 The CyanogenMod 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>

    <!-- Exposed manifest styles -->

    <style name="HeavyWeightSwitcherActivityTheme" parent="Theme.Material.Light.Dialog" />

    <style name="ChooseAccountActivityTheme" parent="Theme.Material.Light.Dialog" />

    <style name="ChooseTypeAndAccountActivityTheme" parent="Theme.Material.Light.Dialog" />

    <style name="ChooseAccountTypeActivityTheme" parent="Theme.Material.Light.Dialog" />

    <style name="CantAddAccountActivityTheme" parent="Theme.Material.Light.Dialog.NoActionBar" />

    <style name="GrantCredentialsPermissionActivityTheme" parent="Theme.Material.Light.DialogWhenLarge" />

    <style name="SyncActivityTooManyDeletesTheme" parent="Theme.Material.Light.Dialog" />

    <style name="NetInitiatedActivityTheme" parent="Theme.Material.Light.Dialog.Alert" />

</resources>