derp
SECURITY FIX: Fix package uids being reused between uninstall and reinstall of different packages.
Policies for older packages were being granted to the newly installed package that got the recyled uid.

Change-Id: I6c74cf6762e8da10e09d5cf5d94e9f826e47f24d
Settings: fix incorrect value in autobrightness adjustment

If the user drag the progress bar below the min value, the incorrect
setting will be saved since seekBar.setProgress code path does not
return to the "getItem(pos).backlight = ..." line.

Change-Id: I4796e22ba9c44315be92de4040f6cd8451bdf153
Touch up toggle setup dialog

Be consistent with other dialogs in android and match their style,
also added a close button for a better UX

Change-Id: Ifca3c9456bd2c685d66a6a056fd8047752dc8d3b
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:
	res/layout/fragment_configure_toggles.xml
	src/com/android/settings/carbon/ArrangeTogglesFragment.java
CustomToggle [WIP]

PS1: This sucks...
PSWhatever: Blatant Kang of Mike "Zaphod" Wilson's
         Nav Logic.
PS6: Fix Strings
PS7: More Options && Break Things (probably)
PS8: Add Action Logic Option && Fix Advanced
         LongClick Removal
PS9: More Double-Click Actions
         More Toggle Actions (5)
         Collapse Shade Optional
PS10: Rewrote some strings and made action
         description refresh (to be more
         clear) on Advanced/Basic option
PS11: Re-write to follow new NavBar UI look & code.
PS12/13: Whitespace && Messy (but working)
            Fix for advanced/basic showing
            their actions correctly
PS14: Save FriendlyName to SystemUI
PS15: Update against new strings and mContentRes
PS16: Add back fav contact thanks burst.
PS17: Rebase
PS18: UserClarification
PS19: More User Clarification (remove null option)
PS20: Sorry, forgot to edit string for clarification
PS21: Formatting, a few other things will still come today
PS22: Amend howto a bit, switch to setItems instead of singleChoice

Change-Id: Id07d74394f35c2630822ca0d4b3e53231ca470d4

Conflicts:
	res/values/arrays.xml
	src/com/android/settings/carbon/StatusBarToggles.java
Merge branch 'jb2' of github.com:CarbonDev/android_packages_apps_Settings into jb2pa