зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1494026 - Part 0b: Cleanup javadoc. r=VladBaicu
Somehow that comment ended up in the wrong file after refactoring. Differential Revision: https://phabricator.services.mozilla.com/D29972 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
f4c63a5267
Коммит
9036a5ab11
|
@ -23,6 +23,10 @@ public class DefaultBrowserPreference extends LinkPreference {
|
|||
super(context, attrs, defStyle);
|
||||
}
|
||||
|
||||
/**
|
||||
* Open Default apps screen of Settings for API Levels>=24.
|
||||
* Support URL will open for lower API levels.
|
||||
*/
|
||||
@Override
|
||||
protected void onClick() {
|
||||
if (GeckoPreferences.PREFS_DEFAULT_BROWSER.equals(getKey()) && AppConstants.Versions.feature24Plus) {
|
||||
|
|
|
@ -27,9 +27,6 @@ class LinkPreference extends Preference {
|
|||
mUrl = url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Open Default apps screen of Settings for API Levels>=24. Support URL will open for lower API levels
|
||||
*/
|
||||
@Override
|
||||
protected void onClick() {
|
||||
Tabs.getInstance().loadUrlInTab(mUrl);
|
||||
|
|
Загрузка…
Ссылка в новой задаче