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>
Automatic translation import

Change-Id: Ifd9cd0dce984e26560a9f03edafa7d625f018cfc
settings: Add support for SRE

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

Change-Id: I9ca388ffd68080f0e497edb81d5f8616c194ea1d
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>
Settings: Remove leftover from old theme chooser

Change-Id: Iaf97e2b94c27839eb4f9827a77917fe21a311b4c
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>
Settings: Fix alignment of print settings icon

In case the print header row was not used for an account row before,
the print icon appeared shifted to the left.

Change-Id: Ieeafca0c16083f4a45b57a1015bb412da26bb0e9
Settings: HighTouchSensitivity support

Change-Id: I3e4cd681d0e9b93eff9a65b69c0f38efe3b5a18b
Settings: Improve touch sensivity string

Change-Id: I47cfb414af91657ed158b4010ffa0bbf21c0e8e9
Display: Default SRE to off

Facemelt mode is catching people by surprise and being interpreted
as "messed up colors". Default it to off so people can at least see
it kick in as a reaction to enablement

Change-Id: I5816e528363f508fc360c321c702a59f0bb79846
Automatic translation import

Change-Id: Ie92d2963e2fca27455c2c9608d366a082aaaf8ac
Fix NPE if high touch sensitivity is not supported.

Change-Id: Ic51edf500e4c89102beb52b8d69f1066d2406a42
JIRA: BUGDUMP-16237
settings: check if ime switcher pref was remove previously

This could happend in tablet devices

JIRA: BUGDUMP-20712
https://jira.cyanogenmod.org/browse/BUGDUMP-20712
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Change-Id: I85c1d6e56f85e3220311aabc68d6532d6ffdf59f
quiethours: refresh TimeRangePreference preference on resume

JIRA: CYAN-5223
https://jira.cyanogenmod.org/browse/CYAN-5223
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Change-Id: Ia06a21aad36e757c0ed89ac81305f9b531f811fd
Settings: Alert user when they attempt to add an invalid number to BL.

  - BlacklistProvider will reject numbers that aren't valid, silently. So instead of
  resuming to a blank screen, we should alert the user that the number they attempted to
  add is invalid by utilizing BlacklistUtils#addOrUpdate method.

Change-Id: I1ca32427baad41c1c9379e18046e6ca7937b6d32
settings: prevent NPE if device doesn't support ActionBar

If the device FEATURE_ACTION_BAR (the device hasn't it enabled or a theme has disabled it), getActionBar()
will return a null reference. Just prevent to use that invalid ref.

JIRA: BUGDUMP-23210
https://jira.cyanogenmod.org/browse/BUGDUMP-23210
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Change-Id: I210867b10193471c49e444c27c47e9de6baee822
Use actual storage type of sdcard/usb (2/2).

Currently, storage volume description for mount/unmount/format determined at
build time using PRODUCT_CHARACTERISTICS. For device which has only a sdcard or
only support usb storage, displayed description is correct. For device which has
both storage, the displayed description is totally wrong.

Use of actual storage type at runtime can eliminate the needed to specify
product characteristics, either default or nosdcard.

Change-Id: I9f8d53a4648d960f1009b1fe94787eecd4343427
Properly apply edit dialog brightness value.

Change-Id: If0bc90f045e5549dced296a7944e9ed0ea98b0c9