Remove the feature flag for using new title.
- remove all code that check for the feature flag, and use the new logic by default. Change-Id: I7fbe60da84c1c0f35e7241402a71d2bc4cd300e6 Fixes: 64564191 Test: make RunSettingsRoboTests
This commit is contained in:
@@ -216,8 +216,7 @@ public class ToggleScreenMagnificationPreferenceFragment extends
|
||||
mInitialSetting = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED);
|
||||
}
|
||||
|
||||
if (usePreferenceScreenTitle()
|
||||
&& arguments.containsKey(AccessibilitySettings.EXTRA_TITLE_RES)) {
|
||||
if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE_RES)) {
|
||||
final int titleRes = arguments.getInt(AccessibilitySettings.EXTRA_TITLE_RES);
|
||||
if (titleRes > 0) {
|
||||
getActivity().setTitle(titleRes);
|
||||
|
Reference in New Issue
Block a user