Fixes a regression in launching certain settings activities.

Some undocumented settings and class names are being used by NotificationManagerService.
Added compatibility activities to handle them.

Bug: 3258668
This commit is contained in:
Amith Yamasani
2010-12-15 14:12:43 -08:00
parent 744b8af2fb
commit eb99f2f3f4
2 changed files with 39 additions and 0 deletions

View File

@@ -261,6 +261,8 @@ public class SoundSettings extends SettingsPreferenceFragment implements
// updateState in fact updates the UI to reflect the system state
private void updateState(boolean force) {
if (getActivity() == null) return;
final int ringerMode = mAudioManager.getRingerMode();
// NB: in the UI we now simply call this "silent mode". A separate