Recover apps with malformed certificates.

There was a window of time in Lollipop where we persisted certificates
after they had passed through a decode/encode cycle.  The well-written
OpenSSL library was liberal when decoding (allowing slightly malformed
certs to be parsed), but then strict when encoding, giving us
different bytes for effectively the same certificate.

A related libcore change (0c990ab4a90b8a5492a67b2b728ac9a4a1ccfa1b)
now returns the original bytes verbatim, fixing both pre-Lollipop
installs and installs after that change.

This change recovers any apps that had been installed during the
window of time described above by doing a one-time check to see if
the certs are effectively equal.

Bug: 18228011
Change-Id: Ib82bd6db718d0490d7a26c9c1014b7c8457a7f2d
add missing source for uri
add missing xml for rebootrecovery
Revert "add missing xml for rebootrecovery"

This reverts commit 15b49e40f3976d348da6e2242f4f2a59d0006e38.
Revert "I can haz Reboot Recovery Option In PowerMenu"

This reverts commit 54f29315f340fdce28194816a846a46ff5a3f737.
Revert "Add global reboot option"

This reverts commit 13138b770eb82b80eb0df8b3b4cf5954450b0e2a.

Conflicts:
	core/res/res/values/custom_strings.xml
	core/res/res/values/custom_symbols.xml
update api for Privacy Guard
Volume Rocker control (1/2)
privacy guard: allow as well image resources for light background

allow to fetch icons which fit on light background if needed. (Settings eg and
later other security features)

Change-Id: I6445bf0fc1a05718af01d83e29fc6d01b8f11c6c
fix resource naming derp

sorry

Change-Id: Ib9c120c1400840881c6122fbe99eea619cb6b7fb
FB: fix missing hides
update api
Revert "Add clear all recents action to recents panel"

This reverts commit 3be875e26a2177ce95dbe7b97575287614ea6cdc.
Fix GPS on Mobile

Change-Id: I8af815ee9c8a9ad7167a582889579eb6f2b1e648
enable doze mode (shamu feature)
enable more doze features
SystemUI: add quick settings pull down with one finger

Logic is currently set to use 1/3 of right hand side of the statusbar to
trigger a quick settings quick pull down, quickly.

Change-Id: I3f536496f724f07d2419a5b2db5fa8f8261609e7
Signed-off-by: Roman Birg <roman@cyngn.com>
Squashed: Add options for reboot to recovery and reboot to bootloader

Squashed commit of the following:

commit ae11cb454eeeb34451b0e1b1f10fb84dea91405d
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Tue Nov 18 05:28:55 2014 -0600

    powermenu: better drawables and renameing

    commit 37c7d3cc8680ff127f3cb59d6d8be2ae5a3b2f4f
    Author: MrBaNkS <banksmi09@gmail.com>
    Date:   Sun Nov 16 09:06:20 2014 -0600

        I knew I forgot something -_-

    commit 336b52397363326a372046e26db19645b7622c29
    Author: MrBaNkS <banksmi09@gmail.com>
    Date:   Sun Nov 16 05:26:24 2014 -0600

        powermenu: add missing drawable tinting xmls

    commit a76e7625f895b51180bcf3ce72879d1d3cea1c30
    Author: MrBaNkS <banksmi09@gmail.com>
    Date:   Sun Nov 16 04:44:03 2014 -0600

        Add reboot to bootloader option
        credits: @yashade2001

    commit bb56772d79e4b8c04fd522af58704971de02313c
    Author: Yashar Ahmedizadeh <yashade2001@gmail.com>
    Date:   Sat Nov 15 12:27:00 2014 +0200

        I can haz Reboot Recovery Option In PowerMenu

        Coded from scratch by yashade2001.

        Signed-off-by: Yashar Ahmedizadeh <yashade2001@gmail.com>

Conflicts:
	core/res/res/values/strings.xml
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/GlobalActions.java
Dialer lookup

Squashed commit of the following:

commit 780211109f80d07b11d7a0261544b1a0fed10ea0
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
Date:   Fri Mar 7 17:11:02 2014 -0500

    Add people lookup settings keys.

    Change-Id: I2ff9bb7684d04f4f9b640939c7db269873aa3308

commit 0e5ed5ac782c2ee253179a03a2c5842ad3de6831
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
Date:   Fri Jan 31 11:43:10 2014 -0500

    Frameworks: Add settings keys for forward and reverse phone number
    lookup

    Change-Id: I1c4c7825b4361b7a52dd419f83afd7b9fcbe1494

commit 3cd778a712234332f327d7e63050c216f21515ac
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
Date:   Sat Apr 12 15:26:29 2014 -0400

    Add OpenCnam paid account settings keys

    Change-Id: I895b5f2b2a8a8de568e5aa1cea5d66ba490985fc

Change-Id: I68e4214e813695021b64c29ab1d831a944a6275a
Add global reboot option

Add global reboot option when long press power key and confirmation dialog
when user chooses to reboot device.