Show advanced reboot if using an insecure lock screen

Enables the advanced reboot menu when locked if the selected lock method
is insecure (= slide unlock).

Change-Id: I759b7b31c5411597e2537a85183d73ec02eb2461
core/SystemUI: EL translations

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I9666255a607cbce8ea8c4898ce929684e7b770bd
(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
Remove HAVE_SELINUX guards

Android 4.3, and by extension CM 10.2, default to having SELinux on

Change-Id: I0f83c0b9712388216b89dfbe6184ad0a220a74d6
Align the status bar date to the bottom

As in AOSP. Also occupy the whole height area so that the date can be
easily clicked.

Change-Id: I66e5b7a754f27571f987657cc7ccd2ef3bef3f9e
Core: NL translation

Change-Id: Ida3583a3198ff3abad17f12fabce048c69c96dfe
Prefer artist over album artist.

E.g. when playing a compilation title, one very likely wants to see the real
artist instead of 'Various artists'.

Change-Id: Ie200f2f8b0b90d3470c2e2e4ca6f91f9b117fb1f
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
Add new app ops method to reset all op modes.

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

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

Change-Id: I83e8f7eae65d5f40dd7aeb2b663bc1fc3d5324d2
SystemUI: show date on 2 lines in status bar

Based on: http://review.cyanogenmod.org/30263

Change-Id: If44a8177132cb445fa6cb4eb11f59e97775bccaf
Revert "SystemUI: show date on 2 lines in status bar"

This reverts commit cb148fcf94ffcaf4c7bc3827e749425663011c1b.

Change-Id: I070f8d70571af0225493dca6d973eb286b4f5266
Fix empty page being activated if music controls are disabled and music
is playing.

Change-Id: I76e00e4c58dc86ce0bf4e88c0e6be551950b6969
Bring back two-line layout for status bar date.

Change-Id: I4bf7ce61b22da89b3b8c1a3f00e077461061f7b9
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
BroadcastReceiver : Get sender of broadcasts

Add internal api for receiving the sender of a broadcast

Change-Id: I28ae614ef92101ab6b9beadc3c965d16b1f393f6