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

Commit b0d729f4 authored by nayanrath's avatar nayanrath Committed by Cherrypicker Worker
Browse files

Adding Dark or Transparent theme for the splash screen of Credential Manager

BUG: 379815309
Test: manual
After: http://b/379815309#attachment63533070
(cherry picked from https://partner-android-review.googlesource.com/q/commit:9ad18b8a967cac8ae1c081f93ed605249bc9c78d)
Merged-In: Ie0ede038228b2c30d65e8a5e7fa80369487261ed
Change-Id: Ie0ede038228b2c30d65e8a5e7fa80369487261ed
parent 9dd1b5f0
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -32,7 +32,8 @@
        android:dataExtractionRules="@xml/data_extraction_rules"
        android:fullBackupContent="@xml/backup_rules"
        android:label="@string/app_name"
        android:supportsRtl="true">
        android:supportsRtl="true"
        android:theme="@style/Theme.CredentialSelector">

        <!-- Activity called by GMS has to be exactly:
        com.android.credentialmanager.CredentialSelectorActivity -->
@@ -42,7 +43,8 @@
            android:exported="true"
            android:label="@string/app_name"
            android:launchMode="singleTop"
            android:permission="android.permission.LAUNCH_CREDENTIAL_SELECTOR" />
            android:permission="android.permission.LAUNCH_CREDENTIAL_SELECTOR"
            android:theme="@style/Theme.CredentialSelector"/>
    </application>

</manifest>
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2023 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="Theme.CredentialSelector" parent="@*android:style/ThemeOverlay.DeviceDefault.Accent.DayNight">
    <item name="android:windowContentOverlay">@null</item>
    <item name="android:windowNoTitle">true</item>
    <item name="android:windowBackground">@android:color/transparent</item>
    <item name="android:windowIsTranslucent">true</item>
  </style>
</resources>
 No newline at end of file