framework: fix reference leak in activiy manager

Change-Id: If7f27ea35f5a1d1dd7c98fbe5f92729ab9ba0257
GPS Fixes

Change-Id: I954299b51ea07edfe4d7542d7fa2ff6902a90baa
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
fix hebrew navbar

Change-Id: I1329b7f8a02dc74f13b89d91487721c136ec2de8
Phone//Phablet UIs: Bring back two-line layout for status bar date.

Change-Id: I4bf7ce61b22da89b3b8c1a3f00e077461061f7b9

Conflicts:

	packages/SystemUI/res/layout/status_bar_expanded_header.xml
Pie//Tablet UIs: Add 2 line date view
TabletUI: Slightly increase space between icons
Pie: Increase space between notification panel icons
Merge branch 'jb43' of https://github.com/ParanoidAndroid/android_frameworks_base into jb43-legacy
JWR changes

Change-Id: I503ddfe0077806674ed6ddf6191c7a92fdc53eb7
JWR bits and pieces

Change-Id: I233f574839b523e95e1509c2cab68a829bf76410
Merge branch 'jb43' of https://github.com/ParanoidAndroid/android_frameworks_base into jb43-legacy
camera: Add support for sending raw commands

 * Certain camera drivers need magic commands to select special modes
   such as ZSL or HDR. Add support for sending raw commands from
   applications.

Change-Id: I512a765c7a67ffd2877e465cf6493ffc2b3b54ac

Some how these changes were lost during 4.3 merge. Add missing pieces back.
Fix mismerge of implement 1% battery on select devices

Change-Id: I2dcafba2c39f50cf435b90ca261b325c10fd5b6b
HALO Changes

- Blacklisted apps don't show in HALO while scrolling
  * Blacklisted icons are visible in status bar but are skipped
    when scrolling through HALO

- Added count for total number of unique notifications in HALO
  * Total count is visible when HALO is idle / disappears while hidden or tasking
  * Total count ignores pinned apps, blacklisted apps and persistent notifications

- Added new icons for pinned apps and persistent notifications

- Set a standard distance between message markers for HALO
  * Notification markers no longer spread out on larger screens
  * Distance between markers will be reduced if necessary to accomodate multiple notifications

- Notification dismissal sync
  * When a notifcation is launched via HALO, it is cleared immediately from the bubble
    the next most recently received notification takes it place in HALO
  * If a notification is cleared via the notification shade, either from the status bar or the PIE menu,
    the notification is automatically removed form HALO

- HALO will ping on screen unlock ONLY if active notificaitons exist, under the followng conditions
  * Status bar is hidden and HALO is hidden (Expanded Desktop Mode/Hide HALO after activity)
  * Protected lock screen is enabled - The android notification ticker does not "tick" when
    using a protected lock screen HALO usually does not update while the phone is locked
Merge branch 'jb43' of https://github.com/ParanoidAndroid/android_frameworks_base into jb43-legacy
Merge "Remove possible leak when exception occurred."
HALO bugfixes

- couple of problems with concurrent threads
- green batch only for nap
- italics gone
- mdpi and & hdpi icons
- statusbar-icon gaps
- flipping batch when content changes
- batch fadeout without flip
- code style

Change-Id: Idfb145eb8e220bf224dd3d0e235e3647dcc82ed9
fix lights out

Change-Id: I3682f7e9978c3a275c73e4a8ea04839af470e0c0