Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

fix typo isDebugLogginEnabled -> isDebugLoggingEnabled #2456

Merged
merged 1 commit into from
Dec 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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