Commit d92504ee authored by luca020400's avatar luca020400

Jelly: Don't allow ime to learn in incognito mode

Change-Id: I40d6b42ede56ba2fa0cc057cba08a64cf5e85ab3
parent 960b547f
......@@ -198,6 +198,11 @@ public class MainActivity extends WebViewExtActivity implements
mThemeColor = savedInstanceState.getInt(STATE_KEY_THEME_COLOR, 0);
}
if (mIncognito) {
autoCompleteTextView.setImeOptions(autoCompleteTextView.getImeOptions() |
EditorInfo.IME_FLAG_NO_PERSONALIZED_LEARNING);
}
// Make sure prefs are set before loading them
PreferenceManager.setDefaultValues(this, R.xml.settings, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment