Use separate PreferenceScreen for navigation bar settings

Signed-off-by: Paul Beeler <sparksco@gmail.com>
volume rocker music control

Signed-off-by: Paul Beeler <sparksco@gmail.com>
wifiSettings: Updating the networkinfo on supplicant event

In framework we update the networkId on supplicant state change
these changes in the network info should be reflected in settings.
there by updating the networkinfo.
The problem we are facing without this fix is when we have single
saved AP profile Switching off the AP when we are in connecting
tate resulting in a behavior Where UI keep showing connecting
to that AP instead of showing it as out of range.

Change-Id: I04073b9a4068f4b75216ebfd431adc126583f15c
P2PSetting:Avoid p2p_find on group removal event

Immediately after group termination p2p_find is being issued
from settings and this causing issue whenever user sends
connection request immediately after group_removal_event.

Change-Id: I41e5f520f7d9475d0ec890d40eea172d9d66d06e
Settings: Add summary for launch music app when headset is connected

This commit adds a summary for the 'launch music app when headset is
connected' feature. I made this change because in some languages
(e.g. German) the title to descripe this feature got to long for
one line. That just looked aweful.

Before: http://goo.gl/TNDX7
After:  http://goo.gl/PYVme

Change-Id: I67d74e4df5824a8bfaf13dbe708cdef87fbe738c

Conflicts:
	res/values/strings.xml
Settings: Lockscreen Targets Icon Revamp

Adjust the size of custom app icons and resize and round the corners
of gallery icons for a more uniform look.

Before http://imgur.com/cTOqdwX

After http://imgur.com/EKAeFiw

Change-Id: I75f3656ae5b4ac4a4bd1c1cbed6c07ab2863f4fd
Settings: Make Safe headset volume handling user configurable (2 of 2)

Patch set 1  : Initial commit
Patch set 2  : Code cleanup and dedupe

Settings: Safe headset volume override legal waiver

Patch set 1  : Initial commit
Patch set 2  : Remove alert icon (per Design guidelines)
Patch set 3  : Fix per Danesh's comment

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Settings: Add support for variable size pattern lockscreen (Part 2/2)

Add a menu to choose the pattern unlock screen size (currently 3x3 to 6x6)
Default size is specified in the frameworks

Patch Set 1+2: Initial port

Patch Set 3: Use AOSP code style

Patch Set 4: Fix copy/paste issue

Patch Set 5+6: Comply with framework changes

Intent now pointed correctly to ChooseLockPattern

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Fix Settings app crash after enabled multi-user

Bug: 8128225
Change-Id: I2918a5ec36e861a1ce4b2e67cf7607929732a7bf
Prevent cursor from causing global reference leaks.

To fix this the ContentQueryMap needs to be closed
when onStop is called so any global references can
be reclaimed.

Change-Id: I0c679c10b0d75ab0aac2fe499563c57d934e318a
avoid stopping app in case of accessing empty db

When accessing empty database, Setting App is stopped, sometimes.
To avoid stopping app, check null for cursor

Change-Id: I71ec067f502d12a9215a9abdbe9e23fc07af17bb
Fix not updating error message when authentication fails

If attempt to configure the first network fails, AccessPoints fails to
update error message because it only checks the error code if it is not
active.

With this change, user may see saved network message for a second
because SupplicantStateTracker retries on authentication failure so
intermediate status is displayed between each trial.

Bug: 8284024
Change-Id: I8b976b03878e27e46726ee8a176f131115b7a409
Settings: use DefaultContainerService for all file operations

For devices with non-emulated storage, the system uid is not allowed
to access the storage (to prevent system_server from being killed
on UMS mount). Old code remain that make file access directly, change
those to use DefaultContainerService

Depends on http://review.cyanogenmod.org/28179

Change-Id: Ie6bdaf27249daeabdc7f0ef1d73d484764ee35f0

Conflicts:
	src/com/android/settings/deviceinfo/MiscFilesHandler.java
Fix typos
Fix the message when Bluetooth is turning off while on the tethering menu.

Currently says "Turning Wifi off..."
This change will display "Turning Bluetooth off..." instead.

Change-Id: I697d19ca4d7a69cc6b3729ad09fcf38bf5ab2427
Signed-off-by: Ryan Baxter <rbryanbaxter@gmail.com>
Navigation bar Quick launch shortcuts

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Switch to open source superuser

Change-Id: I0882b4bb296af041ec5766ff29a605554f13b0a7
Signed-off-by: Paul Beeler <sparksco@gmail.com>
Move Superuser header below Developer Options

Change-Id: Ica85aae0d3f06e6c5e837946cfc893d9e2f4fb7d

Conflicts:
	res/xml/settings_headers.xml

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Settings: Forward port Expanded desktop capability

Originally authored by Jesús David and ported from
        ParanoidAndroid ICS branch

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Settings: Power menu options
Signed-off-by: Paul Beeler <sparksco@gmail.com>