(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
Clean up status bar date & time code

Remove unused imports and variables

Change-Id: Iab33d91ecbc90e4d2714aa55a943492b5042f880
Use hostname verifier directly instead of instance DO NOT MERGE

Instead of local instance of the default HostnameVerifier, use it
directly from HttpsURLConnection. This avoids class preloading creating
an instance of it before it's necessary.

(cherry picked from commit 928ee1e48fa89302d02fdf8a8a2c7315d7195e7c)

Bug: 9984058
Change-Id: I79d8a934bfc390e4cd503fd592e21bc4e5446a7d
Core: HU translation

PS2: Rebase
PS3: Typo

Change-Id: I314d9dffffe1ef3a1415bbe0f3aef402066a477c
Factor out preference-in-storage check to overridable method.

Change-Id: I2fff3192802f8a180330fda66388eda394334a5a
Fix hardware home key behavior on wake-up

Change-Id: Ib489e4b8bb1d10591afc96c680c7865d61c959a0
Treat default value that wasn't found as empty value.

Fixes http://code.google.com/p/android/issues/detail?id=33220

Change-Id: If22e8b245f688d922c168aa54c8acf743c0644d7
Core+SystemUI: DA translation

Port from cm-10.1 - minor change from review

Change-Id: I9b98f44cf300d5f72929c78e8aad3c08bee62b21
Merge "Fix hardware home key behavior on wake-up" into cm-10.2
Merge "Core+SystemUI: DA translation" into cm-10.2
Merge "Factor out preference-in-storage check to overridable method." into cm-10.2
Merge "Treat default value that wasn't found as empty value." into cm-10.2
Merge "Core: HU translation" into cm-10.2
frameworks_base: Update Japanese translation

Core: add missing entries from CM-10.1
SystemUI: add cm_strings.xml from CM-10.1

Change-Id: Iaf10e271e1373c71fbb5e79e7a73a87c465e8963
Merge "Clean up status bar date & time code" into cm-10.2