SystemUI: Quiethours AutoSMS && Bypass Alarm (1/2)

Change-Id: I0c8cb6ceb39ad4943da95b9a7625771cc08e74c0
SystemUI: QuietHours Shortcut

(Also contains code-clean-up)
Bringup from jbmr1

Change-Id: Ie1cdee89e61d82af9fadb9e5f2fe73d82ace6e75
Don't start FM Services if not supported

This will fix the crash when turning airplane mode.

Change-Id: Ib7c74b81e11a6bd9fa75228ff11ca376f62216b7
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Revert "Navbar merge fixes"

This reverts commit 9ec924d49d4ba434707eda95358c7a3a58ab0548.
FW: Toggles vibrate on click (1/2)

PS2: Make also BaseToggle type toggles to vibrate on single click.
PS3: Forget about observer

JB-MR2 Bring-up

PS2: respect global vibrate setting

Change-Id: I11d060d64365256c2f72695eb557c2a10c9c32ce
fix navbar transparency

Change-Id: I6c302e86ad5657a9dfb5072a2e70bdc8cee4ec83
Merge "SystemUI: QuietHours Shortcut" into jb-mr2
Merge "SystemUI: Quiethours AutoSMS && Bypass Alarm (1/2)" into jb-mr2
Allow adjusting progress on touch events.

Change-Id: Ide0a7ae057a62f3631a32eeaa63f3e04dec5bf54
Re-add auto brightness configuration UI (1/2)

- Add a button into the new brightness dialog that allows opening the
  auto brightness setup
- Enable auto-brightness adjustment (setting for general brighter/darker
  adjustment) and twilight adjustment

Change-Id: I7fd11ddaa112396dcb7508692aacb93bfe3da256

Change-Id: I9eee1556e4aac2caf660b36d738317539fe8f4c4
Merge "Revert "Navbar merge fixes"" into jb-mr2
Merge "fix navbar transparency" into jb-mr2
Merge "Allow adjusting progress on touch events." into jb-mr2
Merge "Re-add auto brightness configuration UI (1/2)" into jb-mr2
(DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...

...when clipboard listener attached

We need to clear the calling identity before dispatching change
notifications.  Also make this more robust, so that in the face
of any failure we will clean up the broadcast state.

Integrated from master.

Change-Id: I05e1f76ffd486439535631fe4062dabe94bd2ccf
Allow the user to block notifications for foreground services.

Stepping carefully around the fix in change Idc788527, we
perform security (and AppOps, and therefore user block)
checks against the uid passed to enqueueNotificationInternal
rather than the Binder caller.

Bug: 9502541
Change-Id: I91745db92823381df75721c1b8f11013a7fa4ecc
Add version identifier to app ops.

All old versions drop their modes except for the notification op
(which is the only one there is currently a user-visible control for).

Change-Id: I9e09cebe63e9ea81f2adc01aef7d1a5a59f57a56
Revert "Add version identifier to app ops."

This reverts commit 483a6bbfc118409b9c46b226cf0aa6afdc4d9159.

Change-Id: I91d6b8b8d1789089bf9764e734f7fe59d03151a2
Add new app ops method to reset all op modes.

Change-Id: I5ee6764de8dc31d812e5a788914ab0099bbef4c0
Fix issue #10226007: Reset apps restores most of the changed settings...

...to original but not all modified ones

Very stupid mistakes in messing up the iteration when pruning op
entries.

Change-Id: Ie536b9095f797fcd2b86c9a386a72746796430d1