Loading res/values/e_config.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright Murena SAS 2024 ~ This program is free software: you can redistribute it and/or modify ~ it under the terms of the GNU General Public License as published by ~ the Free Software Foundation, either version 3 of the License, or ~ (at your option) any later version. ~ ~ This program is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ~ GNU General Public License for more details. ~ ~ You should have received a copy of the GNU General Public License ~ along with this program. If not, see <https://www.gnu.org/licenses/>. --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- Indicates whether device uses Google's sfps implementation --> <bool name="config_use_google_side_fps" translatable="false">false</bool> </resources> src/com/android/settings/biometrics/fingerprint/feature/SfpsEnrollmentFeatureImpl.java +3 −1 Original line number Diff line number Diff line Loading @@ -111,7 +111,9 @@ public class SfpsEnrollmentFeatureImpl implements SfpsEnrollmentFeature { } private void resumeEnrollmentIfNecessary(int helpMsgId, String helpString, Supplier supplier) { if (helpMsgId == HELP_RESUME_ENROLL_MSG) { final boolean useGoogleSfps = getResources().getBoolean( R.bool.config_use_google_side_fps); if (helpMsgId == HELP_RESUME_ENROLL_MSG && useGoogleSfps) { SfpsUtils.resumeEnroll(); } } Loading Loading
res/values/e_config.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright Murena SAS 2024 ~ This program is free software: you can redistribute it and/or modify ~ it under the terms of the GNU General Public License as published by ~ the Free Software Foundation, either version 3 of the License, or ~ (at your option) any later version. ~ ~ This program is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ~ GNU General Public License for more details. ~ ~ You should have received a copy of the GNU General Public License ~ along with this program. If not, see <https://www.gnu.org/licenses/>. --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- Indicates whether device uses Google's sfps implementation --> <bool name="config_use_google_side_fps" translatable="false">false</bool> </resources>
src/com/android/settings/biometrics/fingerprint/feature/SfpsEnrollmentFeatureImpl.java +3 −1 Original line number Diff line number Diff line Loading @@ -111,7 +111,9 @@ public class SfpsEnrollmentFeatureImpl implements SfpsEnrollmentFeature { } private void resumeEnrollmentIfNecessary(int helpMsgId, String helpString, Supplier supplier) { if (helpMsgId == HELP_RESUME_ENROLL_MSG) { final boolean useGoogleSfps = getResources().getBoolean( R.bool.config_use_google_side_fps); if (helpMsgId == HELP_RESUME_ENROLL_MSG && useGoogleSfps) { SfpsUtils.resumeEnroll(); } } Loading