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

Commit ef486e69 authored by Hao Dong's avatar Hao Dong
Browse files

Extract some classes to BiometricsSharedLib.

Test: N/A

Change-Id: Ic41f684fe3e2e46fa3e540445015b8a3f3922fab
parent 01c224cd
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1665,14 +1665,6 @@
    <!-- Developer setting: enable animations when a back gesture is executed, full explanation[CHAR LIMIT=NONE] -->
    <string name="back_navigation_animation_dialog">This setting enables system animations for predictive gesture animation. It requires setting per-app "enableOnBackInvokedCallback" to true in the manifest file.</string>

    <!-- [CHAR LIMIT=NONE] Messages shown when users press outside of udfps region during -->
    <string-array name="udfps_accessibility_touch_hints">
        <item>Move left</item>
        <item>Move down</item>
        <item>Move right</item>
        <item>Move up</item>
    </string-array>

    <!-- Formatting states for the scale of font size, in percent. Double "%" is required to represent the symbol "%". [CHAR LIMIT=20] -->
    <string name="font_scale_percentage"> <xliff:g id="percentage">%1$d</xliff:g> %%</string>

+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ android_library {
        ":wm_shell_util-sources",
    ],
    static_libs: [
        "BiometricsSharedLib",
        "PluginCoreLib",
        "SystemUIAnimationLib",
        "SystemUIPluginLib",
+20 −0
Original line number Diff line number Diff line
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_packages_SystemUI_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_packages_SystemUI_license"],
}

android_library {
    name: "BiometricsSharedLib",
    srcs: [
        "src/**/*.java",
        "src/**/*.kt",
    ],
    resource_dirs: [
        "res",
    ],
    min_sdk_version: "current",
}
+20 −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.
  -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.android.systemui.shared.biometrics">
</manifest>
 No newline at end of file
+27 −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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
    <!-- [CHAR LIMIT=NONE] Messages shown when users press outside udfps region during -->
    <string name="udfps_accessibility_touch_hints_left"> Move left </string>
    <!-- [CHAR LIMIT=NONE] Messages shown when users press outside udfps region during -->
    <string name="udfps_accessibility_touch_hints_down"> Move down </string>
    <!-- [CHAR LIMIT=NONE] Messages shown when users press outside udfps region during -->
    <string name="udfps_accessibility_touch_hints_right"> Move right </string>
    <!-- [CHAR LIMIT=NONE] Messages shown when users press outside udfps region during -->
    <string name="udfps_accessibility_touch_hints_up"> Move up </string>
</resources>
 No newline at end of file
Loading