Skip to content

Commit

Permalink
fix typo isDebugLogginEnabled -> isDebugLoggingEnabled (#2456)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin authored and keianhzo committed Dec 11, 2019
1 parent dba24cf commit bfee54e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ public void setSpeechDataCollectionReviewed(boolean isEnabled) {
editor.commit();
}

public boolean isDebugLogginEnabled() {
public boolean isDebugLoggingEnabled() {
return mPrefs.getBoolean(mContext.getString(R.string.settings_key_debug_logging), DEBUG_LOGGING_DEFAULT);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ object EngineProvider {
builder.debugLogging(true)
builder.aboutConfigEnabled(true)
} else {
builder.debugLogging(SettingsStore.getInstance(context).isDebugLogginEnabled)
builder.debugLogging(SettingsStore.getInstance(context).isDebugLoggingEnabled)
}

runtime = GeckoRuntime.create(context, builder.build())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import org.mozilla.vrbrowser.browser.engine.SessionStore;
import org.mozilla.vrbrowser.databinding.OptionsDeveloperBinding;
import org.mozilla.vrbrowser.ui.views.settings.SwitchSetting;
import org.mozilla.vrbrowser.ui.widgets.UISurfaceTextureRenderer;
import org.mozilla.vrbrowser.ui.widgets.WidgetManagerDelegate;

import static org.mozilla.vrbrowser.utils.ServoUtils.isServoAvailable;
Expand Down Expand Up @@ -66,7 +65,7 @@ private void initialize(Context aContext) {
if (BuildConfig.DEBUG) {
mBinding.debugLoggingSwitch.setVisibility(View.GONE);
} else {
setDebugLogging(SettingsStore.getInstance(getContext()).isDebugLogginEnabled(), false);
setDebugLogging(SettingsStore.getInstance(getContext()).isDebugLoggingEnabled(), false);
}

if (!isServoAvailable()) {
Expand Down

0 comments on commit bfee54e

Please sign in to comment.