Merge "Fix restoring debug mode in InputTestBase"

main
Tadashi G. Takaoka 2012-04-03 19:55:50 -07:00 committed by Android (Google) Code Review
commit 1bdc2ca1d9
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public class InputTestsBase extends ServiceTestCase<LatinIME> {
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mLatinIME);
final boolean previousDebugSetting = prefs.getBoolean(PREF_DEBUG_MODE, false);
final SharedPreferences.Editor editor = prefs.edit();
editor.putBoolean(PREF_DEBUG_MODE, true);
editor.putBoolean(PREF_DEBUG_MODE, mode);
editor.commit();
return previousDebugSetting;
}