This fixes the forgetfulness on orientation change. The code was
already in, but there was a typo in the key string that saved the tab.
Bug: 6000318
Change-Id: If29f42b83aa0ec9f05061b8690e0bdbe8c4a2812
As part of the Wi-Fi refresh, this CL hides the action bar, menu, and
Settings icon in the context of the Setup Wizard. Dead code related
to WifiSettingsForSetupWizardXL has also been removed.
Bug: 5364589
Change-Id: Ib6716500153879b939a18a7007f1f6521b73890b
Since the home-as-up icon is delivered through onOptionsItemSelected,
need to check the ID.
Bug: 6388649
Change-Id: I00041b1a15e102826d05a40fdd288a9d8712dc48
If it is called in onCreate(), it's too early for Wifi Settings,
which does its initialization in onActivityCreated().
Change-Id: I3d9b49f63d342e724fd4795fbca48d08faa3c3cc
Since Settings runs in system UID, it needs to export statfs()
operations to IMediaContainerService.
Bug: 6346248
Change-Id: I5801948211f0e55040da4850e3dd55b93f80798f
Returned value should be false if preference is removed or was already deleted/missing.
Change-Id: I2a48bd8e0f5a82b76b60b2d11fac2305f0e27eed
Signed-off-by: Shuhrat Dehkanov <uzbmaster@gmail.com>
Hide "Data usage" item when kernel support isn't available and
enabled. Change "restrict background" strings to reflect metered
status. Hide app settings button when no package found. Always
start limit sweep above any warning. Imply metered state for
networks with limits.
Bug: 6303364, 5465643, 5379686, 6376276, 6368329, 6376276
Change-Id: I4faccc9a50f2f741fd937bb8c361a3ca055135e2
Bug 6326750
The font size around the text was removed when its content is replaced.
This is WAI since the spans created from <font> html tags have a
SPAN_EXCLUSIVE_EXCLUSIVE flag. These are removed when their length
becomes 0. The bug came from a recent enforcement of this constraint.
The fix is to change the flags of these AbsoluteSizeSpan spans.
This CL also changes the code to avoid the creation of the int[] array.
Change-Id: Ib58270bb9d1cf0c7609ba1e36d6c0cca841300db
The second text field next to "Available devices" in the Bluetooth
Settings device list creates a cluttered heading that wraps to multiple
lines in some locales. It's unnecessary because there's a graphical
progress spinner when searching for devices, and "Touch to pair" is
easily discoverable. Remove the second text field and the "Searching"
and "Touch to pair" string resources.
Bug: 5496221
Change-Id: I7b71222415152014426cf54fc112fe5379d350dc
Always show apps with background data restricted, even when not
used in selected time period. Combine measurement disclaimer into
single string, and only show for mobile networks. Unify limit
dialog string.
Bug: 6007276, 5505010, 5495020, 5456087
Change-Id: I0ec307b330838dc9528d7e63e0ac1edd14ba122c
The use of this drawable made the view look out of place on the new Holo theme,
so removing it makes things look a bit more consistent.
Change-Id: Id12ad9c7d13b7a9813f656b0a3e4ac51fcc988cd
Signed-off-by: Eddie Ringle <eddie.ringle@gmail.com>
Additionally, hide all Dreams settings if the feature is
disabled (R.bool.config_enableDreams).
(Depends on change Idfe9d430)
Change-Id: Ifa05f125e411ca58605c33481de26cd29a926807