remove references to nonexistent ringtones

Change-Id: Ibf941da04c081cf065734d728427d033da3e475d
base: fix ACTION_NOTIFICATION_LISTENER_SETTINGS intent name

Although android.provider.Settings#ACTION_NOTIFICATION_LISTENER_SETTINGS has the proper
name (android.settings.NOTIFICATION_LISTENER_SETTINGS), the rest code (Settings fragment,
cts,...) are using the name "android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS".
This cause that apps with notification listener services declared could not open the
setting activity from running apps settings fragment (the pending intent isn't found).

For convenience, this change fixes the name here instead of change all the entries in
the rest of the aosp code.

Change-Id: I33f09efae8829d88e1a415f889b699202ebf6440
aosp: https://android-review.googlesource.com/#/c/106960
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Don't check for null references.

The address of a reference will never be null in well formed C++ code.
The function returning the value being checked simply returns a
dereferenced pointer (which is just going to segfault if it is null!).

Change-Id: I3a4eb6adfc003c63ebf21b81d46088d52154d99d
Thank you Google but we keep it REAL in here!!

I don't know why this crap was in here, is disabled by default and just there not
doing a damn thing so let's just remove it!

Change-Id: I6f8ea297fae500b87827a087a9363cff2dd826b0
Support NoGapps style package signature faking

Unfortunately due to GMSCore libraries for clients carrying out signature checks on the GMS app,
users are not able to use open source equivalents, and are being strong-armed (by apps) into using
non-free libraries for these functions. NoGapps is an open source implementation of these libraries.

Unfortunately, a patch like this is necessary in order to permit apps to be convinced they are talking
to the closed-source GMSCore. As this "DRM" is implemented at app-level, it's possible to do this,
without the Android OS itself being "fooled" by the faked signatures.

This commit is from the NoGapps project, I am just submitting it on their behalf.
Originates from https://github.com/microg/android_packages_apps_GmsCore

Change-Id: Ic8aaa0728a43936cd4c62382734342ba8f0fbf5b

Conflicts:
	core/res/res/values/custom_strings.xml
    Show notification when charging.

    If user selects "Charging" option from
    USB computer conection, show the notification
    "Connected in charging mode", which will also
    prevent the pending intent from getting removed.
    CRs-Fixed: 641540

Change-Id: I93a04efe52e8280da95438ceb02b4054610a4d6e
Settings: Root list: Custom switch text colors, (2/2)

Conflicts:
	core/java/android/provider/Settings.java

Conflicts:
	core/java/android/provider/Settings.java
Keyguard: do not play sounds while phone call is active

Change-Id: I834ad52bf7406b92af0840267960bbd959eb8709
Signed-off-by: Roman Birg <roman@cyngn.com>
Remove hard-coded DrawSelectorOnTop on ListFragment's default ListView.

When using the default layout of a ListFragment, the
returned ListView has its DrawSelectorOnTop property
hard-coded to false.
There is no reason for this, as this property is themable.
This change removes the hard-coded attribute.

Change-Id: Idc90fd04680c19d3731b30d84764858a28783864
Signed-off-by: Benoit Lubek <bodlulu@gmail.com>
Base: fix some compiler warnings

Change-Id: Ifb609ca1091edd92cfb414dfc8c3c501d3e38a9d
FB: Heads Up background color && transparency [2/2]

PS: manual rebase

PS: fix my retardedness

PS: fix heads up TRDS background resources

PS: clear content holder background prior to setting TRDS
        drawable so that correct drawable for TRDS state
        is set

PS: revert non-TRDS background to AOSP gray (default
        system notification background color)

PS: clean up some unused code
Change-Id: I3942c0ce178491e3429e5ae7eb24b43ba07a1f40

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/drawable-hdpi/heads_up_window_bg.9.png
	packages/SystemUI/res/drawable-mdpi/heads_up_window_bg.9.png
	packages/SystemUI/res/drawable-xhdpi/heads_up_window_bg.9.png
	packages/SystemUI/res/drawable-xxhdpi/heads_up_window_bg.9.png
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
minor fix notification panel animation fixing
Solve three memory leaks related to PatchCache

A Patch can be fairly large, holding bitmap data, but
is also frequently leaked which adds to the severity.
The feature is used in many important processes such
as Home, SystemUI and Chrome.

The following leaks are solved:

1. The Patch itself was not always freed.
PatchCache::removeDeferred() can mark patches to be
cared for by PatchCache::clearGarbage(). But
mCache.remove() would only destroy the container
and the pointer, not the Patch object itself.

2. The vertices stored in the Patch at Patch::createMesh()
would always leak. The empty/default destructor in Patch
would not properly destroy "vertices" since it's just a
pointer.

3. A BufferBlock that's added to the mFreeBlocks
in PatchCache could leak. The leak happened when a
patch later needed the entire free block, because the
object was removed from the list but never deleted
in PatchCache::setupMesh().

Change-Id: I41e60824479230b67426fc546d3dbff294c8891f
hwui: Fix a sporadic crash seen during CTS runs

 * It's possible (due to race conditions) that a patch might be
   scheduled for removal twice. Just print a warning and continue
   instead of asserting and crashing.

Change-Id: I42865f6717816a743cc49ba15b839e6c3b57ed83
SystemUI: ES translations

Change-Id: Ib4a0aeed13d013f4dc97506bab4fdd6e90d9a586
SystemUI: FR translations update

Change-Id: I258a567f597203d03e30077a18df72c8b57f2716
Add ADB over network tile: italian translation

Change-Id: I86de80104b2abe5ba4c6711efb5e3deea7977ce5
fb: translation - RU

I340846a171571a7b61d2c68f2a6875794be5d5b2

Change-Id: Ib2c9d441ac0b272d4bc5a0a66cdac977a60171e4
System UI: PL Translations

fixes and improvements

Change-Id: I91e86ee553e18a283229c079d53765db9947cfbe
Revert "PhoneWindowManager : bring inline with Slim handling of volume wake and cleanup"

This reverts commit 7e8461c1a8e9f7386f39e6205af470c47dccc47b.