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
Don't pollute the namespace for two uses.

Clang complains about ambiguity between std::hash and ::hash (locally
defined). There's no need to pull in the whole namespace for two uses of
std::map anyway.

Change-Id: Icbaa7ebbaad05999988784ad34662c721fb12b29
WifiP2pWfdInfo set device type bugfix

Change-Id: I37a53aed80574e78c80dc4a4192bd8cc4320de9d
Signed-off-by: Grigoriy Kraynov <kraynov@mgpro.ru>
Use gettid directly in frameworks JNI.

Bug: 17048545
Change-Id: I1cd45d85368c799b75f76e778722979cbbb68ed2
Add nav bar french translation. Layout like values/custom_strings.xml

Change-Id: Iee9fb687bf9eb1664d6ef2273b7f9792a01df839
French translation DocumentsUI : Add frameworks/base/packages/DocumentsUI/res/values-fr/custom_strings.xml

Change-Id: Ia3195e208ce1b2e62966ff74ace74e0b25ddf078
Merge "Don't check for null references." into du44
Merge "Don't pollute the namespace for two uses." into du44
Merge "WifiP2pWfdInfo set device type bugfix" into du44
Merge "Use gettid directly in frameworks JNI." into du44
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>
Add translatable=false to anim_controls_entries & anim_controls_values. In this way, TTools does not define them as untranslated

Change-Id: Ic1c83cc7095c6e0448312248f33af8ca399fae60
Keyguard: do not play sounds while phone call is active

Change-Id: I834ad52bf7406b92af0840267960bbd959eb8709
Signed-off-by: Roman Birg <roman@cyngn.com>
Allow granting permissions based on signature in <allow-permission/>

This patch allows us to either specify a sharedUserId or a package
signature to use when granting the specific permission.

Change-Id: I8aed78d40316e0e94ac1bfefc7c4a3016a2a9a6b
(cherry picked from commit 2991a9f4cb79a6367dca0bc98f84c299d6d43e86)
Improvement of french translation.

Change-Id: I72c6874441f191373fe0cfa0bc349b1b412a6aae
frameworks/base/core/res/res/values-fr/strings.xml: Add missing strings in FR translation

Change-Id: If4d8bc04355e234a3b0a454501355e7ba183881e
Merge "frameworks/base/core/res/res/values-fr/strings.xml: Add missing strings in FR translation" into du44
InputDevices: Add missing strings in FR translation

Change-Id: I065ae532485fc44d9f5cd9116a09476658dc6a21
Framework: Quiet Hours Extra Daily Times (1/2)

Change-Id: I38301d53b57f6b0525edd2a7e13a2bd5022e7a65
Merge "Allow granting permissions based on signature in <allow-permission/>" into du44