OSDN Git Service

Fix regression in removing settings that aren't relevant for a platform.
authorAmith Yamasani <yamasani@google.com>
Tue, 27 Apr 2010 19:36:33 +0000 (12:36 -0700)
committerAmith Yamasani <yamasani@google.com>
Tue, 27 Apr 2010 20:35:12 +0000 (13:35 -0700)
commit64ab5338cb0f90f8ee0787b0b98611670e6dee7e
tree9abbab6bad4b78cbf8c44ff6c6043be30383fd80
parent6368b25c09992172b1900da3fd326c4fd2fdd203
Fix regression in removing settings that aren't relevant for a platform.

Bug: 2630695

The PreferenceCategories added into the hierarchy caused removePreference() to
not work, since the preferences to be removed were not immediate children of
the preference screen.

Create empty PreferenceCategory elements and pull the preferences to the same
depth as the categories.

Change-Id: I34826ea4d84cda0ecab75c66a73febe3d51e7c68
res/xml/sound_settings.xml