mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1186653 - QR code input setting item test. r=liuche
This commit is contained in:
parent
ce9644d93f
commit
175644f8bd
@ -134,6 +134,8 @@ public class StringHelper {
|
||||
public final String SCROLL_TITLE_BAR_LABEL;
|
||||
public final String VOICE_INPUT_TITLE_LABEL;
|
||||
public final String VOICE_INPUT_SUMMARY_LABEL;
|
||||
public final String QRCODE_INPUT_TITLE_LABEL;
|
||||
public final String QRCODE_INPUT_SUMMARY_LABEL;
|
||||
public final String TEXT_REFLOW_LABEL;
|
||||
public final String CHARACTER_ENCODING_LABEL;
|
||||
public final String PLUGINS_LABEL;
|
||||
@ -323,6 +325,8 @@ public class StringHelper {
|
||||
SCROLL_TITLE_BAR_LABEL = res.getString(R.string.pref_scroll_title_bar2);
|
||||
VOICE_INPUT_TITLE_LABEL = res.getString(R.string.pref_voice_input);
|
||||
VOICE_INPUT_SUMMARY_LABEL = res.getString(R.string.pref_voice_input_summary);
|
||||
QRCODE_INPUT_TITLE_LABEL = res.getString(R.string.pref_qrcode_enabled);
|
||||
QRCODE_INPUT_SUMMARY_LABEL = res.getString(R.string.pref_qrcode_enabled_summary);
|
||||
TEXT_REFLOW_LABEL = res.getString(R.string.pref_reflow_on_zoom);
|
||||
CHARACTER_ENCODING_LABEL = res.getString(R.string.pref_char_encoding);
|
||||
PLUGINS_LABEL = res.getString(R.string.pref_plugins);
|
||||
|
@ -233,6 +233,12 @@ public class testSettingsMenuItems extends PixelTest {
|
||||
String[] voiceInputUi = { mStringHelper.VOICE_INPUT_TITLE_LABEL, mStringHelper.VOICE_INPUT_SUMMARY_LABEL };
|
||||
settingsMap.get(PATH_DISPLAY).add(voiceInputUi);
|
||||
}
|
||||
|
||||
// QR Code input
|
||||
if (InputOptionsUtils.supportsQrCodeReader(this.getActivity().getApplicationContext())) {
|
||||
String[] qrCodeInputUi = { mStringHelper.QRCODE_INPUT_TITLE_LABEL, mStringHelper.QRCODE_INPUT_SUMMARY_LABEL };
|
||||
settingsMap.get(PATH_DISPLAY).add(qrCodeInputUi);
|
||||
}
|
||||
}
|
||||
|
||||
public void checkMenuHierarchy(Map<String[], List<String[]>> settingsMap) {
|
||||
|
Loading…
Reference in New Issue
Block a user