Skip authentication if device was unlocked recently
- Sync the same behavior from SystemUI to Settings
Bug: 365611488
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiNetworkDetailsFragmentTest \
WifiDetailPreferenceController2Test \
WifiTetherSSIDPreferenceControllerTest \
com.android.settings.wifi.dpp.WifiDppUtilsTest
atest -c com.android.settings.spa.wifi.dpp.WifiDppUtilsTest
Change-Id: Ie3e8374b1fdbbc61e9e5bbf0f5162b18ba1452f3
This commit is contained in:
@@ -123,7 +123,7 @@ public class WifiTetherSSIDPreferenceController extends WifiTetherBasePreference
|
||||
}
|
||||
|
||||
private void shareHotspotNetwork(Intent intent) {
|
||||
WifiDppUtils.showLockScreen(mContext, () -> {
|
||||
WifiDppUtils.showLockScreenForWifiSharing(mContext, () -> {
|
||||
mMetricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN,
|
||||
SettingsEnums.ACTION_SETTINGS_SHARE_WIFI_HOTSPOT_QR_CODE,
|
||||
SettingsEnums.SETTINGS_WIFI_DPP_CONFIGURATOR,
|
||||
|
||||
Reference in New Issue
Block a user