Fix Buttons -> Power menu for devices with no hardware power key

Devices without a hardware power key should still have access to the power
menu. Fix this, and implicitly disable the "power button to end call" option
for such devices.

Change-Id: I5e7dfc9ec7c7aab2d6cdb4a5f4f375c03772e270
Settings: Update a string.

User's won't know what Zygote is.

Change-Id: Idf46bfd7c9352adc77def0fab7192fde7a27e803
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Settings: remove Expanded Desktop from Power Menu if unavailable

Instead of disabling the option when it is disabled, let's remove the
Expanded Desktop option in Power Menu Settings.

When the user toggles Expanded Desktop to ON, it will automatically add
the option to the power menu. The user can then remove it if they wish,
and all the states are properly kept.

Change-Id: I23b6a44da86c1cd74e3f73a8edc714ceeb47af4d
Signed-off-by: Roman Birg <roman@cyngn.com>
Revert "Settings: update default expanded desktop style"

This reverts commit cfce1a192b1ad59c607284fc537f1664f257f682.

Change-Id: I5405596b60bade7d0a2abf246dfaa0d82a75bcfb
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Settings: use ActivityManager method for requesting bug report

This let's ActivityManagerService handle all the logic for requesting
bug reports.

Change-Id: I44e6a9295a0625bcdc0f3a22daf097bdccf0d3c4
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: fix Wifi/WifiAP tile inconsistency

While editing tiles, remove Wifi tile, add Wifi AP tile. Then if you try
and add the Wifi tile, it is disabled.

The logic was checking whether "toggleWifi" existed in the quick tile
string, which it did, as "toggleWifiAp".

Change-Id: I0663c06bef6365315aa979fcff228aeb679b41d0
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Automatic translation import

Change-Id: Ifd9cd0dce984e26560a9f03edafa7d625f018cfc
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
settings: Add support for SRE

 * Add support for sunlight readability enhancement
 * Optionally depends on adaptive backlight, depending on HAL

Change-Id: I9ca388ffd68080f0e497edb81d5f8616c194ea1d
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Revert "Allow changing theme to Holo.Light without crashing"

http://review.cyanogenmod.org/#/c/70745/ solves the issue
that this patch originally was created for.

This reverts commit 8cc23d58abc4874fe049a8dfa70910cf0b5dd9b2.

Change-Id: Ia350a03749202a2c0ae809400a3ebb554551d601
Settings: add last app action to be assigned to hardware keys

Change-Id: I9004412528a7c32fecd7edea6167c1b80c51730d
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Settings: Remove leftover from old theme chooser

Change-Id: Iaf97e2b94c27839eb4f9827a77917fe21a311b4c
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Settings: add key to USB Storage Unmount option

If we want to be able to highlight this preference and we need a key to do so.

Change-Id: I8c78f8cf8e75bbc071438ef4f733f3ac49e27791
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0