From 2ff71edc1cdbcbf044a1ca721e78cbe3cefa4419 Mon Sep 17 00:00:00 2001 From: sunnyshao Date: Thu, 21 Dec 2023 12:05:35 +0800 Subject: [PATCH] Disabled the "Double-tap to activate" - disabled the listview in the createVerifiedLinksDialog Fixes: 242822432 Test: manual test Change-Id: Iee884691d5900ff016f41a9ca120604d52dfc362 --- .../settings/applications/intentpicker/AppLaunchSettings.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/settings/applications/intentpicker/AppLaunchSettings.java b/src/com/android/settings/applications/intentpicker/AppLaunchSettings.java index 72f754379aa..676c35a3226 100644 --- a/src/com/android/settings/applications/intentpicker/AppLaunchSettings.java +++ b/src/com/android/settings/applications/intentpicker/AppLaunchSettings.java @@ -288,6 +288,7 @@ public class AppLaunchSettings extends AppInfoBase implements .create(); if (dialog.getListView() != null) { dialog.getListView().setTextDirection(View.TEXT_DIRECTION_LOCALE); + dialog.getListView().setEnabled(false); } else { Log.w(TAG, "createVerifiedLinksDialog: dialog.getListView() is null, please check it."); }