From 06745a3d7e92809f980a4d3e2f177f5a7d526214 Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Tue, 12 Aug 2025 16:18:35 +0800 Subject: [PATCH] delete_code_AutoFillType Signed-off-by: zhangzezhong --- frameworks/ets/ets/BUILD.gn | 17 ------- .../ets/ets/application/AutoFillType.ets | 51 ------------------- 2 files changed, 68 deletions(-) delete mode 100644 frameworks/ets/ets/application/AutoFillType.ets diff --git a/frameworks/ets/ets/BUILD.gn b/frameworks/ets/ets/BUILD.gn index 128a246f4b8..dc85eea7cc8 100644 --- a/frameworks/ets/ets/BUILD.gn +++ b/frameworks/ets/ets/BUILD.gn @@ -958,22 +958,6 @@ ohos_prebuilt_etc("ability_runtime_connect_options_abc_etc") { deps = [ ":ability_runtime_connect_options_abc" ] } -generate_static_abc("ability_runtime_auto_fill_type_abc") { - base_url = "./" - files = [ "./application/AutoFillType.ets" ] - - is_boot_abc = "True" - device_dst_file = "/system/framework/ability_runtime_auto_fill_type_abc.abc" -} - -ohos_prebuilt_etc("ability_runtime_auto_fill_type_abc_etc") { - source = "$target_out_dir/ability_runtime_auto_fill_type_abc.abc" - module_install_dir = "framework" - subsystem_name = "ability" - part_name = "ability_runtime" - deps = [ ":ability_runtime_auto_fill_type_abc" ] -} - generate_static_abc("ability_runtime_error_code_abc") { base_url = "./" files = [ "./@ohos.ability.errorCode.ets" ] @@ -1291,7 +1275,6 @@ group("ets_packages") { ":ability_runtime_app_state_data_abc_etc", ":ability_runtime_application_context_abc_etc", ":ability_runtime_auto_fill_manager_abc_etc", - ":ability_runtime_auto_fill_type_abc_etc", ":ability_runtime_application_state_change_callback_abc_etc", ":ability_runtime_base_context_abc_etc", ":ability_runtime_caller_callee_abc_etc", diff --git a/frameworks/ets/ets/application/AutoFillType.ets b/frameworks/ets/ets/application/AutoFillType.ets deleted file mode 100644 index 122dee5a175..00000000000 --- a/frameworks/ets/ets/application/AutoFillType.ets +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) 2025 Huawei Device Co., Ltd. - * 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. - */ - -export enum AutoFillType { - UNSPECIFIED = 0, - PASSWORD = 1, - USER_NAME = 2, - NEW_PASSWORD = 3, - FULL_STREET_ADDRESS = 4, - HOUSE_NUMBER = 5, - DISTRICT_ADDRESS = 6, - CITY_ADDRESS = 7, - PROVINCE_ADDRESS = 8, - COUNTRY_ADDRESS = 9, - PERSON_FULL_NAME = 10, - PERSON_LAST_NAME = 11, - PERSON_FIRST_NAME = 12, - PHONE_NUMBER = 13, - PHONE_COUNTRY_CODE = 14, - FULL_PHONE_NUMBER = 15, - EMAIL_ADDRESS = 16, - BANK_CARD_NUMBER = 17, - ID_CARD_NUMBER = 18, - NICKNAME = 24, - DETAIL_INFO_WITHOUT_STREET = 25, - FORMAT_ADDRESS = 26, - PASSPORT_NUMBER = 27, - VALIDITY = 28, - ISSUE_AT = 29, - ORGANIZATION = 30, - TAX_ID = 31, - ADDRESS_CITY_AND_STATE = 32, - FLIGHT_NUMBER = 33, - LICENSE_NUMBER = 34, - LICENSE_FILE_NUMBER = 35, - LICENSE_PLATE = 36, - ENGINE_NUMBER = 37, - LICENSE_CHASSIS_NUMBER = 38 -} \ No newline at end of file -- Gitee