commit | e3a81bfa05a55c27b3c52f8a2f0b715f97663402 | [log] [tgz] |
---|---|---|
author | tysonwei <tysonwei@realtek.com> | Tue Jul 13 18:49:50 2021 +0800 |
committer | tysonwei <tysonwei@realtek.com> | Tue Jul 13 18:51:34 2021 +0800 |
tree | 8d4121f8a4af65695a69596fa75d8cf030df3521 | |
parent | 2269eedf611b2640e1818e6b632e9741f10dcae3 [diff] |
Retrieve the focus on Gboard after power off/on After power off/on, RCU key doesn't work on Gboard when setting IP address. So retrieve the focus on Gboard. Bug: 193378016 Change-Id: Ic160f01d417878ad7477e6e9c91492f9f28bd043
diff --git a/Settings/src/com/android/tv/settings/connectivity/setup/IpAddressState.java b/Settings/src/com/android/tv/settings/connectivity/setup/IpAddressState.java index 91ff7a2..e8714ec 100644 --- a/Settings/src/com/android/tv/settings/connectivity/setup/IpAddressState.java +++ b/Settings/src/com/android/tv/settings/connectivity/setup/IpAddressState.java
@@ -131,6 +131,12 @@ } @Override + public void onResume() { + super.onResume(); + openInEditMode(mAction); + } + + @Override public long onGuidedActionEditedAndProceed(GuidedAction action) { if (action.getId() == GuidedAction.ACTION_ID_CONTINUE) { mAdvancedOptionsFlowInfo.put(AdvancedOptionsFlowInfo.IP_ADDRESS,