Loading packages/CredentialManager/Android.bp +43 −0 Original line number Original line Diff line number Diff line Loading @@ -50,3 +50,46 @@ android_app { proguard_compatibility: false, proguard_compatibility: false, }, }, } } android_app { name: "ClockworkCredentialManager", defaults: ["platform_app_defaults"], certificate: "platform", manifest: "wear/AndroidManifest.xml", srcs: ["wear/src/**/*.kt"], resource_dirs: ["wear/res"], dex_preopt: { profile_guided: true, profile: "wear/profile.txt.prof", }, static_libs: [ "PlatformComposeCore", "androidx.activity_activity-compose", "androidx.appcompat_appcompat", "androidx.compose.foundation_foundation", "androidx.compose.foundation_foundation-layout", "androidx.compose.material_material-icons-core", "androidx.compose.material_material-icons-extended", "androidx.compose.ui_ui", "androidx.core_core-ktx", "androidx.credentials_credentials", "androidx.lifecycle_lifecycle-extensions", "androidx.lifecycle_lifecycle-livedata", "androidx.lifecycle_lifecycle-runtime-ktx", "androidx.lifecycle_lifecycle-viewmodel-compose", "androidx.wear.compose_compose-foundation", "androidx.wear.compose_compose-material", "kotlinx-coroutines-core", ], platform_apis: true, privileged: true, kotlincflags: ["-Xjvm-default=all"], optimize: { proguard_compatibility: false, }, } packages/CredentialManager/wear/AndroidManifest.xml 0 → 100644 +45 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- /* * Copyright (c) 2017 Google Inc. * * 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. */ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.credentialmanager"> <uses-permission android:name="android.permission.LAUNCH_CREDENTIAL_SELECTOR"/> <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/> <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"/> <application android:allowBackup="true" android:dataExtractionRules="@xml/data_extraction_rules" android:fullBackupContent="@xml/backup_rules" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/Theme.CredentialSelector"> <activity android:name=".CredentialSelectorActivity" android:exported="true" android:permission="android.permission.LAUNCH_CREDENTIAL_SELECTOR" android:launchMode="singleTop" android:label="@string/app_name" android:excludeFromRecents="true" android:theme="@style/Theme.CredentialSelector"> </activity> </application> </manifest> packages/CredentialManager/wear/profile.txt.prof 0 → 100644 +0 −0 Empty file added. packages/CredentialManager/wear/res/values/strings.xml 0 → 100644 +21 −0 Original line number Original line 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- The name of this application. Credential Manager is a service that centralizes and provides access to a user's credentials used to sign in to various apps. [CHAR LIMIT=80] --> <string name="app_name">Credential Manager</string> </resources> No newline at end of file packages/CredentialManager/wear/res/values/themes.xml 0 → 100644 +24 −0 Original line number Original line 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 Loading
packages/CredentialManager/Android.bp +43 −0 Original line number Original line Diff line number Diff line Loading @@ -50,3 +50,46 @@ android_app { proguard_compatibility: false, proguard_compatibility: false, }, }, } } android_app { name: "ClockworkCredentialManager", defaults: ["platform_app_defaults"], certificate: "platform", manifest: "wear/AndroidManifest.xml", srcs: ["wear/src/**/*.kt"], resource_dirs: ["wear/res"], dex_preopt: { profile_guided: true, profile: "wear/profile.txt.prof", }, static_libs: [ "PlatformComposeCore", "androidx.activity_activity-compose", "androidx.appcompat_appcompat", "androidx.compose.foundation_foundation", "androidx.compose.foundation_foundation-layout", "androidx.compose.material_material-icons-core", "androidx.compose.material_material-icons-extended", "androidx.compose.ui_ui", "androidx.core_core-ktx", "androidx.credentials_credentials", "androidx.lifecycle_lifecycle-extensions", "androidx.lifecycle_lifecycle-livedata", "androidx.lifecycle_lifecycle-runtime-ktx", "androidx.lifecycle_lifecycle-viewmodel-compose", "androidx.wear.compose_compose-foundation", "androidx.wear.compose_compose-material", "kotlinx-coroutines-core", ], platform_apis: true, privileged: true, kotlincflags: ["-Xjvm-default=all"], optimize: { proguard_compatibility: false, }, }
packages/CredentialManager/wear/AndroidManifest.xml 0 → 100644 +45 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- /* * Copyright (c) 2017 Google Inc. * * 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. */ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.credentialmanager"> <uses-permission android:name="android.permission.LAUNCH_CREDENTIAL_SELECTOR"/> <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/> <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"/> <application android:allowBackup="true" android:dataExtractionRules="@xml/data_extraction_rules" android:fullBackupContent="@xml/backup_rules" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/Theme.CredentialSelector"> <activity android:name=".CredentialSelectorActivity" android:exported="true" android:permission="android.permission.LAUNCH_CREDENTIAL_SELECTOR" android:launchMode="singleTop" android:label="@string/app_name" android:excludeFromRecents="true" android:theme="@style/Theme.CredentialSelector"> </activity> </application> </manifest>
packages/CredentialManager/wear/res/values/strings.xml 0 → 100644 +21 −0 Original line number Original line 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- The name of this application. Credential Manager is a service that centralizes and provides access to a user's credentials used to sign in to various apps. [CHAR LIMIT=80] --> <string name="app_name">Credential Manager</string> </resources> No newline at end of file
packages/CredentialManager/wear/res/values/themes.xml 0 → 100644 +24 −0 Original line number Original line 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