Merge "Improve Wi-Fi Easy Connect lock screen UI information"

This commit is contained in:
Arc Wang
2019-03-22 02:19:48 +00:00
committed by Android (Google) Code Review
8 changed files with 49 additions and 34 deletions

View File

@@ -771,14 +771,7 @@ public class WifiDetailPreferenceController extends AbstractPreferenceController
* Share the wifi network with QR code.
*/
private void shareNetwork() {
final String title = mContext.getString(
R.string.lockpassword_confirm_your_pattern_header);
final String description = String.format(
mContext.getString(R.string.wifi_sharing_message),
mAccessPoint.getSsidStr());
WifiDppUtils.showLockScreen(mContext, title, description,
() -> launchWifiDppConfiguratorActivity());
WifiDppUtils.showLockScreen(mContext, () -> launchWifiDppConfiguratorActivity());
}
/**