зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1091897 - Update Remote debugging UI. r=margaret
This commit is contained in:
Родитель
ada69e3e6d
Коммит
88657566f7
|
@ -514,8 +514,6 @@ just addresses the organization to follow, e.g. "This site is run by " -->
|
|||
|
||||
<!ENTITY searchable_description "Bookmarks and history">
|
||||
|
||||
<!ENTITY devtools_remote_debugging_forward "Don\'t forget to set up port forwarding!">
|
||||
|
||||
<!-- Updater notifications -->
|
||||
<!ENTITY updater_start_title2 "Update available for &brandShortName;">
|
||||
<!ENTITY updater_start_select2 "Touch to download">
|
||||
|
|
|
@ -708,18 +708,6 @@ OnSharedPreferenceChangeListener
|
|||
i--;
|
||||
continue;
|
||||
}
|
||||
|
||||
final Context thisContext = this;
|
||||
pref.setOnPreferenceClickListener(new OnPreferenceClickListener() {
|
||||
@Override
|
||||
public boolean onPreferenceClick(Preference preference) {
|
||||
// Display toast to remind setting up tcp forwarding.
|
||||
if (((CheckBoxPreference) preference).isChecked()) {
|
||||
Toast.makeText(thisContext, R.string.devtools_remote_debugging_forward, Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
});
|
||||
} else if (PREFS_RESTORE_SESSION.equals(key) ||
|
||||
PREFS_BROWSER_LOCALE.equals(key)) {
|
||||
// Set the summary string to the current entry. The summary
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
<org.mozilla.gecko.preferences.AlignRightLinkPreference android:key="android.not_a_preference.remote_debugging.link"
|
||||
android:title="@string/pref_learn_more"
|
||||
android:persistent="false"
|
||||
url="https://developer.mozilla.org/docs/Tools/Remote_Debugging" />
|
||||
url="https://developer.mozilla.org/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_with_WebIDE" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
|
|
@ -437,8 +437,6 @@
|
|||
|
||||
<string name="searchable_description">&searchable_description;</string>
|
||||
|
||||
<string name="devtools_remote_debugging_forward">&devtools_remote_debugging_forward;</string>
|
||||
|
||||
<!-- Updater notifications -->
|
||||
<string name="updater_start_title">&updater_start_title2;</string>
|
||||
<string name="updater_start_select">&updater_start_select2;</string>
|
||||
|
|
Загрузка…
Ссылка в новой задаче