From 1bf069f839f261fbed00326fd238df7603b448e7 Mon Sep 17 00:00:00 2001 From: Yuchen Chang Date: Wed, 14 Mar 2018 17:16:05 +0800 Subject: [PATCH] Request focus in wifi screen in add network and secure wifi Request focus from parent view in controller. Based on framework patch, it can be placed in a parent and focus will go to whatever view is the default focusable in that hierarchy. Fixes: 68776177 Fixes: 72882629 Test: RunSettingsRobotests and Manual test Change-Id: I3bcdc4ec814f68079a00e40435f46bdfa53f4425 --- res/layout/wifi_dialog.xml | 1 + .../settings/wifi/WifiConfigController.java | 3 +++ .../settings/wifi/WifiConfigControllerTest.java | 16 ++++++++++++++++ 3 files changed, 20 insertions(+) diff --git a/res/layout/wifi_dialog.xml b/res/layout/wifi_dialog.xml index 2c4a1edfdff..9f8d035cce1 100644 --- a/res/layout/wifi_dialog.xml +++ b/res/layout/wifi_dialog.xml @@ -21,6 +21,7 @@ android:scrollIndicators="top|bottom">