Revert "Completely remove app ops activity."

This reverts commit 1ad26e9c370e3db3ac801bda42b3fa52ab2e2d07.

Change-Id: I58b5ea280ed0dbff00f7f6f98fbd41575cdd5222
Hide the camera widget option if no camera on device

Change-Id: I034c246651fc9ae698bc32fd4af16cf14adb5314
Re-add auto brightness configuration UI (2/2).

Change-Id: I6c56a48fa2145c58a5f203ed56051451ef3f977d
Fix app ops details not displaying permissions under certain conditions.

If there's a permission that is not granted, the loop is aborted instead
of just skipping said permission.

Change-Id: Icca567ebdd818f40ad6619f258c77590074d1deb
Reset app preferences now resets all app ops.

Change-Id: I7966245b5f322f55e139b2da661c02cd58530f11

Conflicts:

	res/values/strings.xml
Settings: ES translations

- Auto brightness configuration

Change-Id: I413ed1c400a9a334026ec62461fc03e40e1fb6bc
Quick Settings: Use scaled font size (2/2)

Set the font size for quick settings tiles to match the design docs
for 'Text size micro'.

Change-Id: Ie0c80af1a538d6b61db8c513b44a51ead264e4e3
Lockscreen Targets : Fix empty magnetic behaviour

When no valid targets are set, set settings to null in order
to enable magnetic targets (aosp behavior)

Change-Id: I0ccaad25cc85f55b99e4c34cb4ffe2d06bda4a80
Fix issue #10190597: "Any permission restrictions" is displayed after a...

...newline in "Reset app preferences" dialog

Change-Id: I3125155d992af0654175659294bfb2fb325ccb57

Conflicts:

	res/values/strings.xml
Import translations. DO NOT MERGE

Change-Id: I29d9c2b04800f28cd880e1470dca0d25ae74470f
Auto-generated-cl: translation import

Conflicts:

	res/values-de/strings.xml
	res/values-es/strings.xml
	res/values-fi/strings.xml
	res/values-fr/strings.xml
	res/values-it/strings.xml
	res/values-nl/strings.xml
	res/values-pl/strings.xml
	res/values-ru/strings.xml
Make sure to not crash if DSP manager and/or development apps are
deactivated or deleted.

Change-Id: I92ea5a44bedbb036d59dde11e83052338e9765e8
Fix adding apps to lockscreen targets without explicit icon selection.

Change-Id: I28c5a2fb72aabd892cc861d592ef20bcbf9fb891
First pass at generic hardware tunables support

With support for vibrator intensity and kcal

Change-Id: Ice3444b31a9ab0a25cf25bebb18351e2c08a70c3
Display options: allow configuration of wake on plug behavior (1/2)

Adds a global setting to the Display section to enable or disable wake-on-plug.
Default is disabled.  When enabled, the device will wake when the charger
is connected or disconnected.  When disabled, the device's wake state
will be left alone.

PS 2: Change wording of setting per DvT's recommendation

PS 3: Pull default value of setting from config.xml

PS 4: Reduce scope of variable

PS 5,6: Rebase

Cherry-picked from: I779a4aa4feeca87879c932be6e1fa032e4b4afc8

Change-Id: I106b7d901a788c19e08454d6231daebf3ff4872c
Clean up lockscreen target configuration code (2/2)

Get rid of a lot of duplicated code.

Change-Id: I03faf36d5e767053072f1809f670882600ea0830
Avoid NPE if icon assignment failed for whatever reason.

Change-Id: Iba4188d6b42179008154b8cbcbb14c36a22669de
Settings: grammer fix in config.xml

Change-Id: If7e7f8fa2292c10a74daac64d7875fbbe993db48
PBAP: Fix device name update on authorization prompt from Notification.

Use FLAG_ONE_SHOT for Notification PendingIntent to launch
authorization prompt and display the updated device name for
every new PBAP connection request.

Change-Id: Ic9cbed92e2856ed2d2f4f807f7f8c39df7f98762
CRs-fixed: 515221
Bluetooth : Remove out of range devices after ScanComplete

Change to remove device from UI when Bluetooth of remote
device is off or not discoverable anymore. Without this
change a device that discovered previously is available
in available devices list always, though the remote device
is not discoverable anymore. The current change updates
available devices list on scan complete removing the
devices that are available in cached devices and are not
disvorable anymore.

Change-Id: I97809fcafd904271121e26741e50a9b61f0e0664
Fix coding style.

Change-Id: I520b16f1c9a927a93d9e1bd4f7e712769d341e58