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
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
Bug Fixes

 * HALO landscape orientation freeze
 * Animation clean up (remove number batch when clearing HALO)
Merge tag 'android-4.3_r1.1' into HEAD

Android 4.3 release 1.1
Allow USB notification to show when primary SD allows UMS and MTP

Previously if primary SD is set to allowMassStorage="true" the USB
dialog would never show.  This checks if persist.sys.usb.config is
set to mtp,adb and then allows the USB notification to show. With
this you can then have the option to select from MTP, PTP and Mass
storage when clicking the pull down notification. When Mass Storage
is selected it activates the USB connected dialog to turn on USB
storage. When set back to MTP the USB connected notification disappears.

Change-Id: I2287075ec93cae75f19e8fb59965d9dddb234aca
Merge branch 'original/jb43'
Ping on unlock changes

 * Stop message flip animation on unlock
 * Prevent ping spam on unlock -
    - Ping ONLY if NEW notification received while device is locked/screen is off
      (If a notification pinged HALO once but was ignored, it will not ping again unless updated)
Merge branch 'offpa/jb43'
halo, bugfixes

1. fixed size for content
2. flip animations for tasking only
3. batch size calculations
4. not a bug but pinned and system both get the same icon for now

Change-Id: I755cd4e88c909ab8b982e014d470791661a0041e
Merge branch 'offpa/jb43'
volumepanel

file is identical to cm's - i assume it crashes there, as well.
i'd rather take it out than bugfixing it - try/catch is silly but
seems to work for now

Change-Id: I2ed61a86019016ad17b8e7f56c4cdb7f374c82e7
Merge pull request #79 from alteredlikeness/jb43-legacy-alt0

Allow USB notification to show when primary SD allows UMS and MTP
Launch floating notifications from notification panel (long click)
 * Status bar - long click on notification select 'floating mode' option
 * PIE - long click on notification, auto launches floating window
Merge branch 'offpa/jb43'
Improve AOSP Download/Upload animation

This increases the number of png required for a full download/upload animation cycle.
These new png makes the animations much smoother.
Merge branch 'jb43-legacy' of https://github.com/ParanoidAndroid/android_frameworks_base into jbl43