Merge "Refactoring getPreferenceKey method" into ub-launcher3-burnaby-polish

This commit is contained in:
Sunny Goyal authored and Android (Google) Code Review committed 2015-10-20 17:17:08 +00:00
commit fe3db428ab
11 files changed
+33 -65

No files matched your search

@@ -28,8 +28,7 @@ public class RotationPreferenceTest extends InstrumentationTestCase {
mDevice = UiDevice.getInstance(getInstrumentation());
mTargetContext = getInstrumentation().getTargetContext();
mTargetPackage = mTargetContext.getPackageName();
mPrefs = mTargetContext.getSharedPreferences(
LauncherAppState.getSharedPreferencesKey(), Context.MODE_PRIVATE);
mPrefs = Utilities.getPrefs(mTargetContext);
mOriginalRotationValue = mPrefs.getBoolean(Utilities.ALLOW_ROTATION_PREFERENCE_KEY, false);
}