Settings: Glowpad Torch (3/3)

PS2: String edit & remove from
	devices without torch.

------------------------------------------
PS2: Added Author
PS3: Delete whitespaces
PS4: Fix tabs
PS5: Commenting out some codes for now. Temp fix.
PS6: Add back missing codes, correct remove preference from Glowpadtorch and also add missing patch-set 2 and patch-set 4 messages.

Change-Id: I78851464c41d7e6c06d835f9dda2bb24ce4da509
Fix memory leak in ManageApplication

ApplicationsAdapter new a Session member and make it has a reference to
it self. If we don't release it explicitly, the cross reference will
cause memory leak.

Change-Id: Iecce35ae1d56d98cee6347e84d3a3ff57f3b15a5
Navigation bar dimensions and Master switch (2/2)

- Change height when in portrait
- Change width when in landscape
- Option to enable or disable nav/ring bar

This is partially ported from SlimRoms
Thanks to @kufikugel
Credit to @cristianomatos

Signed-off-by: hany <hany@codexc.com>

PS2: Rebased
PS3: Rebased/Whitespace fix
PS4: Fix leftover whitespaces

Change-Id: I841a052e4a47e5b5ddd501d2f082ad66ee410476
Unbreak PIN/Password lockscreen options

Change I0211deea61b2d5b048deb118c30fc1397a56d3ee slightly changed
the validation conditions for this case, fixit.

Change-Id: I6219f47f4b0acb87b5d8d4a121480b09a8aa12b2
Move Animations Strings to pac_strings.xml

Change-Id: I0ce8fe558eb71a50e72f120d7060fb57165bbc0d
Signed-off-by: Lokesh Chamane <lokesh.c703@gmail.com>
Revert "[1/2] Settings: AppOps: Add bootup template"

This reverts commit 8460c657938e60935cca28c2bc2afb898e3acaa5.
Revert "[1/2] Settings AppOps: show/hide app type and allow/deny counters"

This reverts commit b0a99d81515fcc608cb0e04002c570aef4cc15a7.
Revert "[1/2] Settings AppOps: Forward port wifi/bluetooth/mobile/wakeup ops"

This reverts commit b503fbb91b50ad468c45989e71a75c6018b80276.
Show Navigation bar menu for every device now

Change-Id: I8c605b6444115bf5adbadd9b741749ef50d162f8
Signed-off-by: Lokesh Chamane <lokesh.c703@gmail.com>
Better expose 'QS Tiles and layout' function

Settings side changes for http://review.cyanogenmod.org/#/c/56619/

PS2: Unhide draft
PS3: Make it actually work
PS4: Change title on fragment & fix available tiles
PS5: Actually fix removing unsupported tiles (tested on maguro)

Change-Id: I331ffdd17574d32d40d423a6d37240361288bce4
[2/2] Settings: Add an option to reset custom user preferences

Change-Id: I07223fe924860dee0ce22d0946d569eeef6b9d7e
PrivacyGuard: confirm permissions reset

The button to reset all application permissions to enabled looks
suspiciously like a refresh button. Prompt the user with a confirmation
dialog to make sure they know what they've pressed.

Change-Id: I0444c5bf8e9533feccf890055d34d3200609c6f6
Settings: LS Notifications: Custom Background color [2/2]

PS2: Updathe Author

Change-Id: I0ed68479a32ddacbc10fc9eb766e07ee663e104c
Camera button support (2/2)

Add new bitmask for Camera button and options to rebind
its functionality.
Change-Id: I803d3b99adcdd6f2d9de15091709fc8c783ed5de

Add missing variables for camera button handling
Change-Id: I40abd4344800e8cf61285923cc1fac9ba39d652c

Camera button support: fix FC
Fixed a typo in xml which caused Settings FC.
Change-Id: I0c01d03cc8effde9d8422e091a7389dcbb59ffa5

Camera button support: fix another ^C^V fail
Yes, that was merged way too fast...
Change-Id: I88243887446876de39e79020e6d8fecc6351bdde

Camera button support: useful features & bugfixes (2/2)
Screw the remapping, let's make something more useful!
Replaced the code to actually launch Camera app, not just fire the shutter.
I won't remove it: it's cool to have an option to double-click Home for Camera.
Added:
  * Camera wake (with button half-press) and unlock options
  * "Peek": releasing the half-pressed Camera button will
    turn the screen back off
  * Camera playback control

Change-Id: I711fe6b1a8d304b3d0ba9682a8757605992e1bde
Signed-off-by: hany <hany@codexc.com>
Move lockscreen buttons options to one place

When you enter "Button actions" you expect to find unlock
options there, not in "Screen security -> Additional options".
Before: http://goo.gl/mX9DMQ
After: http://goo.gl/hPDKyt

Conflicts:
	res/xml/security_settings_cyanogenmod.xml
	res/xml/security_settings_password.xml
	res/xml/security_settings_pin.xml
	src/com/android/settings/SecuritySettings.java

Change-Id: I0e03cdbd6abdb05f1936f9c472807bc30649cdd8
[1/2] Left handed navbar during landscape mode

This patch allows for the navbar to be moved to the left side of the
screen during landscape mode. Left handed people are more used to this
option.

This patch must go with another patch that changes framework/base

Screenshot: http://i.imgur.com/jWqJcEV.png

Conflicts:
        res/values/cm_strings.xml
        res/xml/system_ui_settings.xml

Change-Id: I04b2be98b9ffce96b4c36c2e3eae398a9e99562f
Correct typo

Change-Id: Ic348bbce30994988b86f5a861f10fac825004622
Signed-off-by: Tianrui Guo <tianrui@pac-rom.com>
Bring back Camera widget option for tablets

Starting from ~2014-01-29, Camera widget is also shown on tablets.
That's actually a good thing, so let's bring back the option to
make it configurable.

Change-Id: I56f51b70eca4ef528dc91a13c658d33d43a90dec
Settings LightSettingsDialog: update led on text change

Change-Id: I135f37829b9b4fb2166afac9d9531b76a62f3ef7
Settings: Hide left handed nav option in tablet

Conflicts:
	src/com/android/settings/cyanogenmod/SystemUiSettings.java

Change-Id: I050adf3d64f62667f0bde0901697376de9bcddd4