Merge "[a11y] Set focus on "Pairing device" text once QR code is scanned."
This commit is contained in:
committed by
Android (Google) Code Review
commit
a4f0893796
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.android.settings.wifi.dpp;
|
||||
|
||||
import android.content.Context;
|
||||
import android.text.TextUtils;
|
||||
|
||||
/**
|
||||
@@ -53,4 +54,13 @@ public class AdbQrCode extends WifiQrCode {
|
||||
public WifiNetworkConfig getAdbNetworkConfig() {
|
||||
return mAdbConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
* Triggers a vibration to notify of a valid QR code.
|
||||
*
|
||||
* @param context The context to use
|
||||
*/
|
||||
public static void triggerVibrationForQrCodeRecognition(Context context) {
|
||||
WifiDppUtils.triggerVibrationForQrCodeRecognition(context);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user