reorganize SABERMODS
Signed-off-by: Paul Beeler <sparksco@gmail.com>
About phone: update memory description

When this change was introduced,
https://github.com/SaberMod/android_packages_apps_Settings/commit/185ec4f4a2a3bb3e46f4bb8d37bffa22db7a11c8
the previously used method of showing available free memory was removed
and now shows the memory total instead.  Users may get confused about
what is being displayed for their device memory, especially when upgrading
from a older version of android in ROMs or new devices.

Patch set 1:  https://github.com/SaberMod/android_packages_apps_Settings/commit/6318775a76d4949ab2a14dba273ca9b71159b603
Patch set 2:  Switch string to "Memory total". Update commit message.
Patch set 3:  Fix small typo in commit message.
Patch set 4:  Switch string to Data memory total since that's what is (total userdata memory)

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Merge Navigation Bar and Pie Controls button config (2/2)

Based on the commit series for pie controls, this commit makes the
Navigation Bar and Pie Controls share the same button layout.  This
commit applies the changes made in part 1 to the Settings app. For
the real commit see frameworks/base.

This commit introduces here:
* Some setting constants changes.
* Removal of the pie search key setting.
* Move pie controls to navigation bar settings

Change-Id: I5b4abd6d32a3fc835466ac4cb1f0b9c851641061

Conflicts:
	res/values/strings.xml
	res/xml/pie_control.xml
	res/xml/system_settings.xml
	src/com/android/settings/saber/PieControl.java

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Add more categories.
Signed-off-by: Paul Beeler <sparksco@gmail.com>
Remove power menu option for multiuser
Signed-off-by: Paul Beeler <sparksco@gmail.com>
Enable Ethernet tab in data usage

mStateSession is not initialized at the time hasEthernet is called to
set mShowEthernet, so Ethernet tab is not shown at the startup.
In this case, if the device doesn't support mobile network, user cannot
even select it from the context menu.

Bug: 8365419
Change-Id: I441971f18346c34a3adf3f18d9355075d9dce3f0
Signed-off-by: Jaewan Kim<jaewan@google.com>
Settings : Toggle expanded desktop for navbar

If entering the navbar screen with expanded desktop enabled, the navbar
is not shown hence hindering the ability to use the panel

This patchset addresses that by disabling expanded desktop upon entering,
and re-enabling upon exiting if it was previously enabled.

Patchset 2 : Fix state issues

Change-Id: I2776cf971f8899d30a25c0bf6b418793153555fc
Multi pane preference settings

Signed-off-by: Paul Beeler <sparksco@gmail.com>

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/system_settings.xml
	src/com/android/settings/saber/SystemSettings.java

derp
Signed-off-by: Paul Beeler <sparksco@gmail.com>
Improve dual pane preferences summary
Expose User interface only on selected devices

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Move quick lunch shortcuts
Show preference screen only on USER_OWNER

Signed-off-by: Paul Beeler <sparksco@gmail.com>

Conflicts:
	res/xml/navigation_bar_settings.xml
	res/xml/system_settings.xml
	src/com/android/settings/saber/SystemSettings.java
About nexus
Signed-off-by: Paul Beeler <sparksco@gmail.com>
Update kill_app_longpress_back_summary
Settings: change Pie controls wording

As stated before, the name 'Pie controls' is well-known
and therefore is being used instead of a more descriptive name.

This change modifies the summary of \'Pie controls\', stating
that they are 'floating controls', as we also need to deal with
users who have not heard about this feature. The title stays the
same.

In other languages this will be reversed: the title will contain
a translated version of the 'descriptive name' and the summary
will contain the original English name, 'Pie controls'.

Change-Id: I80dbc615f787be68ad0e48c71777d99a1d19de8b
Signed-off-by: Paul Beeler <sparksco@gmail.com>

Conflicts:
	res/values/strings.xml
Fix Settings FC with multiuser
Signed-off-by: Paul Beeler <sparksco@gmail.com>
Settings: Battery bar (2/2)

* Patch inspired by MIUI and originally ported by David Morgan / @Spitemare
* as a extra feature for custom @CyanogenMod 7 ROMs.  Patch has been adapted
* to work better on @SaberMod.  Much of the work was done by Daniel Nilsson / @syaoran12
* Patch is nearly identical in nature to how Dan has writen it, with a few
* minor changes in removing the option to have centered bar, which doesn't
* seem to work very well on some devices like the Nexus 7 (grouper).  Also
* does not check for devices with no navigation bar as @SaberMod only supports
* nexus devices that all have navigation bars.

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Simplify dual pane preferences summary again
Signed-off-by: Paul Beeler <sparksco@gmail.com>
[2/2] Power connect/disconnect notification support

part 1/2: frameworks/base PowerUI and Settings

part 2/2: packages/apps/Settings Sound settings

patchset 3:
    set settings persistence and dependencies in xml resource file
    shrink long lines
    add the default notification tone to the ringtone picker and
    remove the now redundant "use default" checkbox
    improve (mostly delete) wording in values/strings.xml
    remove tab whitespace

patchset 5:
    make vibrate optional (default on)
    change heading text: power notifications -> power sounds

patchset 6:
    hide vibrate option if hw capability doesn't exist

patchset 7:
    change vibrate to default to off

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Update SaberMod system settings icon
Signed-off-by: Paul Beeler <sparksco@gmail.com>
Settings: Broadcast ACTION_DATE_CHANGED

Send ACTION_DATE_CHANGED when user change the format of the date

Change-Id: I89ef0354ae2b0825378a6e8939341c4eccf63e17
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>