diff options
author | Andrew Lee <anwlee@google.com> | 2015-02-26 14:26:16 -0800 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-02-26 15:40:08 -0800 |
commit | e83576c5503596480d57ff9991df4ad99d26cfc4 (patch) | |
tree | b7ee42d4ea666a5ce37eaa441622c336d2b4dc37 /src/com/android/dialer/settings/DialerSettingsActivity.java | |
parent | eb2097d840ac4e2f8709041cb7c9282697a309af (diff) |
Convert GeneralSettings to SoundSettings.
Rather than create a new fragment for "Sounds and vibration", reuse
the existing general settings fragment.
The other settings which used to reside general settings have been
moved into their own top-level settings fragments.
+ Rename layout file and fragment.
+ Tweak string names.
- Delete category heading; no longer necessary.
Bug: 19372734
Change-Id: I5690df7ecbd49da5d5af94889e6b68e053ce25ba
Diffstat (limited to 'src/com/android/dialer/settings/DialerSettingsActivity.java')
-rw-r--r-- | src/com/android/dialer/settings/DialerSettingsActivity.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/dialer/settings/DialerSettingsActivity.java b/src/com/android/dialer/settings/DialerSettingsActivity.java index 935b6c7fd..08beffd9b 100644 --- a/src/com/android/dialer/settings/DialerSettingsActivity.java +++ b/src/com/android/dialer/settings/DialerSettingsActivity.java @@ -41,10 +41,10 @@ public class DialerSettingsActivity extends PreferenceActivity { displayOptionsHeader.fragment = DisplayOptionsFragment.class.getName(); target.add(displayOptionsHeader); - Header generalSettingsHeader = new Header(); - generalSettingsHeader.titleRes = R.string.general_settings_label; - generalSettingsHeader.fragment = GeneralSettingsFragment.class.getName(); - target.add(generalSettingsHeader); + Header soundSettingsHeader = new Header(); + soundSettingsHeader.titleRes = R.string.sounds_and_vibration_title; + soundSettingsHeader.fragment = SoundSettingsFragment.class.getName(); + target.add(soundSettingsHeader); Header quickResponseSettingsHeader = new Header(); Intent quickResponseSettingsIntent = |