Commit Graph

468813 Commits

Author SHA1 Message Date
Automerger Merge Worker
6afc99773e Merge "Add OWNERS file for BootImageProfileTest" am: 95154ae4b2 am: a56b6ff35c
Change-Id: I62c58b512ecad721ae31d0efc968e6194c1e42d1
2020-02-10 23:11:21 +00:00
Automerger Merge Worker
63389badab Merge "Remove usage of android.os.Build.IS_USER" am: 9ead9f02ce am: d8d545d048
Change-Id: Ib2db703ea02bfd8b9a689b0a17007764cc3ff6e2
2020-02-10 23:10:47 +00:00
Kevin Chyn
98e9225f19 Implementation for BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED
Bug: 148419762
Test: atest BiometricServiceTest
Test: BiometricPromptDemo

Change-Id: I2d3ced391e43858ac48963718c832ed84d4e7d0b
2020-02-10 15:07:18 -08:00
Kevin Chyn
eeadeaac02 Add API constant for BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED
Bug: 148419762
Test: make -j
Test: See next CL

Change-Id: I3c272792fe2366239478aa3ad7bfbb8d9bbacf56
2020-02-10 15:06:27 -08:00
Automerger Merge Worker
687ef90ac5 Merge "Update BluetoothPbap class description to indicate how to create an instance of the class, add intdef to return value of BluetoothPbap#getConnectionState, and move all SystemApis to require the BLUETOOTH_PRIVILEGED permission" am: cc89e59203
Change-Id: I96de10ac130e3737911c050e0a76e30602c85721
2020-02-10 22:57:46 +00:00
Automerger Merge Worker
a56b6ff35c Merge "Add OWNERS file for BootImageProfileTest" am: 95154ae4b2
Change-Id: Idec8589ecb2fa726b0bf23379393d9428a18b71d
2020-02-10 22:56:36 +00:00
Automerger Merge Worker
d8d545d048 Merge "Remove usage of android.os.Build.IS_USER" am: 9ead9f02ce
Change-Id: I4b6c2001aa0ec30fa431cf473f09166e3e196b3c
2020-02-10 22:55:30 +00:00
Rob Carr
7e51a4b6b4 Merge "TaskOrganizer: Always launch MULTI_WINDOW tasks in new stack" 2020-02-10 22:54:26 +00:00
Meng Wang
9c99325b87 Revert "System API used by telephony to bind to WapPushManager app."
This reverts commit e6a40697e1.

Reason for revert: API review comments

Bug: 148179277
Change-Id: I729e1c27492b25cfcdb4244e294672ba34a7e7ea
2020-02-10 14:42:41 -08:00
Treehugger Robot
cc89e59203 Merge "Update BluetoothPbap class description to indicate how to create an instance of the class, add intdef to return value of BluetoothPbap#getConnectionState, and move all SystemApis to require the BLUETOOTH_PRIVILEGED permission" 2020-02-10 22:39:57 +00:00
Malcolm Chen
8acb1c4707 Remove usage of MetricsLogger in SmsApplication.
Bug: 140908357
Test: build
Change-Id: I285de118d291fc3112518419fb92544f0ba942d2
Merged-In: I285de118d291fc3112518419fb92544f0ba942d2
2020-02-10 22:37:23 +00:00
Mathieu Chartier
95154ae4b2 Merge "Add OWNERS file for BootImageProfileTest" 2020-02-10 22:36:36 +00:00
Xiangyu/Malcolm Chen
9ead9f02ce Merge "Remove usage of android.os.Build.IS_USER" 2020-02-10 22:36:00 +00:00
Lee Shombert
eac5414862 Merge "Binder caches for Bluetooth" 2020-02-10 22:31:51 +00:00
TreeHugger Robot
2779c6c7a4 Merge "Make sure the control target has a control" 2020-02-10 22:24:43 +00:00
Zoran Jovanovic
9c20f729c7 idmap2: support Lookup for arrays
Lookup of array resource in idmap2 would result in an error.
The reason was that on AssetManager2::GetValue call bags were
not taken into consideration.

Acquire the bag as well and traverse through it to fetch all
its values.

Bug: 134426097
Test: run `adb exec-out lookup` on a known array resource
Change-Id: Ife066154e74d2ee8bd7b273030e75d8448558437
Signed-off-by: Zoran Jovanovic <zoran.jovanovic@sony.com>
2020-02-10 14:22:54 -08:00
TreeHugger Robot
4b5b834e13 Merge "Fix memory leak in TCMS when TCSession.destroy() is not called." 2020-02-10 22:20:30 +00:00
Ned Burns
2e6396664d Don't auto-dismiss children with certain flags
Typically, when a group summary is dismissed, NotificationManager will
also dismiss that group's children. In SysUI, we anticipate this change
by optimistically dismissing those children on our side before we get
confirmation from NoMan.

However, there are exceptions to this auto-dismissal behavior, namely if
the child is part of a foreground service or a bubble. This CL adds in
those exceptions to the SysUI side.

Change-Id: Iff03846501af3736897bb61fe825cca911d7584a
Test: atest
2020-02-10 17:16:15 -05:00
Daniel Chapin
3a54effffd Revert "Prevents an NPE when content provider is slow to start"
This reverts commit 140fc2e9c9.

Reason for revert: b/149176266

Change-Id: I4015fcc1624ee116c4a013c99816d43ce7b24834
2020-02-10 22:12:44 +00:00
Ryan Mitchell
155d539634 Sort bag by attribute key when using libs
When shared libraries are assigned package ids in a different order
than compile order, bag resources that use attributes from both
multiple libraries will not be sorted in ascending attribute id order.
This change detects when the attribute ids are not in order and sorts
the bag entries accordingly.

The change is designed to be less invasive. Deduping the GetBag logic
should probably be spun off in a separate bug.

Bug: 147674078
Test: libandroidfw_tests
Change-Id: Id8ce8e9c7ef294fcc312b77468136067d392dbd0
2020-02-10 14:12:00 -08:00
Rahul Sabnis
eaa088f14b BluetoothA2dpSink System APIs now require BLUETOOTH_ADMIN permission
Bug: 149216030
Test: Manual
Change-Id: Ib28c7f3133eb96c1ba0b43c8b140babde699d5f4
2020-02-10 14:02:25 -08:00
TreeHugger Robot
431f9f001f Merge "incfs: fix uninitialized values" 2020-02-10 21:57:00 +00:00
Adam Bookatz
3483914b86 Reword USER_TYPE_PACKAGE_WHITELIST_MODE_LOG
UserSystemPackageInstaller's log mode doesn't currently
log each non-whitelisted app's start (although it may
in the future), so the documentation should be updated.
It should be purposefully loose since the exact logging
is likely to change in the future.

Test: N/A. Just documentation.
Change-Id: Id7c46339d2b884d01e1e2a32d619a3a03a33958e
2020-02-10 13:56:46 -08:00
Govinda Wasserman
1b7d610525 Fixes NavigationBarFragment leak
NavigationBarFragment was leaking because it was never unregistered from
DeviceConfig. This change moves registration to onCreate and unregisters
in onDestroy.

Test: Tested locally
BUG:149091382
Change-Id: Idcf1762d880d706e07fb3ca0e93a0065736239b3
FIX:149091382
2020-02-10 16:52:59 -05:00
Evan Rosky
825f041a0c Merge "Add utility to get all root tasks on a display" 2020-02-10 21:52:08 +00:00
Nate(Qiang) Jiang
a180ec7766 Make untrusted consistent
Bug: 148781288
Test: atest android.net.wifi
Change-Id: If8840b0f91ffcb438bbf08a7a188f794d479a62f
2020-02-10 13:50:04 -08:00
Automerger Merge Worker
0f7945a435 Merge "Add TEST_MAPPING for gating and logging" am: 05fb4434f3 am: 5d3e5fb3b5 am: 4c0d1a02b6
Change-Id: I5da9a24dac34cea069906337b8d39cbe43c20213
2020-02-10 21:50:00 +00:00
Evan Laird
5784a6b67c Allow for HTML styling in mobile data type content descriptions
This CL implements a (somewhat hacky) way to enable HTML attributes in
the mobile data type content description strings. This way we can use
some basic styling in the Quick Settings cellular data tile which uses
it in a TextView.

We do this by assuming that the content description is valid, escaped
HTML, and send two separate CharSequences to all of the listeners, all
of which can then decide if they need the regular content description or
the prettified version.

Test: atest SystemUITests; system ui demo mode
Bug: 141177147
Change-Id: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
2020-02-10 16:45:16 -05:00
Siarhei Vishniakou
cf07528a0e New VerifiedInputEvent api
The Verified{Input/Key/Motion}Event api are the same as
{Input/Key/Motion}Event api.
The VerifiedMotion class is the same as the MotionEvent class, but
contains less information. It only contains the information that the
system is able to verify.
Same applies to VerifiedKeyEvent.

The class VerifiedInputEvent contains common information applicable to
both Key and Motion.

Test: atest VerifiedKeyEventTest VerifiedMotionEventTest
Bug: 134977432
Change-Id: I4770104eb4c025263da7efeea9c7a658dff74ac9
2020-02-10 13:43:55 -08:00
Automerger Merge Worker
4c0d1a02b6 Merge "Add TEST_MAPPING for gating and logging" am: 05fb4434f3 am: 5d3e5fb3b5
Change-Id: Ie1963bb7965827d9f9985b08c78e70b2de3319a7
2020-02-10 21:35:05 +00:00
Automerger Merge Worker
5d3e5fb3b5 Merge "Add TEST_MAPPING for gating and logging" am: 05fb4434f3
Change-Id: I701ef53dada696ee5f6e45d8539ca385a08ffc29
2020-02-10 21:24:31 +00:00
Winson Chung
b4f4ea09f0 Merge "Use activity translucent check for remote animation" 2020-02-10 21:19:41 +00:00
Treehugger Robot
05fb4434f3 Merge "Add TEST_MAPPING for gating and logging" 2020-02-10 21:12:10 +00:00
Fabian Kozynski
4cbfb4a408 Merge "Changes to favorite management screen" 2020-02-10 20:55:16 +00:00
Automerger Merge Worker
d9709b9604 Merge "Remove testTokenize" am: 52c5601801 am: f6a2f14eb6 am: 618fa08c1c
Change-Id: I684021ba09e18ba88900953e362231b93ab9aadb
2020-02-10 20:46:35 +00:00
Automerger Merge Worker
bcd91d46f8 [automerger skipped] Merge "Refactor CountryDetectorService" into qt-qpr1-dev am: 7d26587263 am: 0341e15f07 -s ours
am skip reason: Change-Id Ic0782b1ffcd1dcb30b9f1d91b37521d1f9887f03 with SHA-1 50361687ba is in history

Change-Id: I4e894c9bbb126861ed4801ab1aaea5a0bdee8c98
2020-02-10 20:46:06 +00:00
Automerger Merge Worker
3d44bc3bbc [automerger skipped] Merge "Fix flaky sysui crash in devicehealthchecks test." into qt-qpr1-dev am: 72be6295c0 am: 7dcc67912b -s ours
am skip reason: Change-Id I15ef66a19eeac2c6baf652d83e6a90669834f203 with SHA-1 4197a29b68 is in history

Change-Id: I89b956552c8c69b9b4ca04b7534b1a58f643f988
2020-02-10 20:45:42 +00:00
Automerger Merge Worker
618fa08c1c Merge "Remove testTokenize" am: 52c5601801 am: f6a2f14eb6
Change-Id: I38a40108f3138283535bfc992fc0b98ab8dca841
2020-02-10 20:45:09 +00:00
TreeHugger Robot
842482edaa Merge "Make ACTION_LOAD_DATA a protected intent" 2020-02-10 20:36:33 +00:00
Automerger Merge Worker
0341e15f07 Merge "Refactor CountryDetectorService" into qt-qpr1-dev am: 7d26587263
Change-Id: I45efb245c646105874bc97bed57c6d36bbbcc979
2020-02-10 20:34:06 +00:00
Automerger Merge Worker
f6a2f14eb6 Merge "Remove testTokenize" am: 52c5601801
Change-Id: I9a4b23eef55735801768c750d24b3cee5dd79501
2020-02-10 20:33:29 +00:00
Automerger Merge Worker
7dcc67912b Merge "Fix flaky sysui crash in devicehealthchecks test." into qt-qpr1-dev am: 72be6295c0
Change-Id: I96d2dd32ecdd2af08a454be40efc30eac375b815
2020-02-10 20:33:29 +00:00
Song Pan
76a0bb8920 Two API changes:
1. Add a new formula type "INSTALLER_ALLOWD_BY_MANIFEST" that evaluates to true
when installer is specified in the manifest.

This CL only adds this class without actually removing the part where we
propagate allowed installers. That will be changed in a new CL.

2. Change the AppIntegrityComponent API so that it is type-safe.

Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/integrity
Test: atest frameworks/base/core/tests/coretests/src/android/content/integrity
Bug: 148780440, 147835536
Change-Id: Icfb996b2f6de241d9790a423dd01992edaf35117
2020-02-10 20:32:57 +00:00
TreeHugger Robot
7d26587263 Merge "Refactor CountryDetectorService" into qt-qpr1-dev 2020-02-10 20:32:35 +00:00
Sasha Kuznetsov
dcbeb75fc1 Add GnssAntennaInfo framework APIs
Test: End to end test: run "atest GnssAntennaInfoRegistrationTest" on cuttlefish and watch "adb logcat | grep -i GnssAntennaInfo". Other tests:  atest GnssAntennaInfoTest, atest GnssAntennaInfoProviderTest, atest GnssManagerServiceTest, atest VtsHalGnssV2_1TargetTest, atest LocationManagerFineTest.
Bug:124556515
Change-Id: I70e4014dd3959b0570c35bd2aa8bb839ef167d70
2020-02-10 12:29:19 -08:00
Adrian Roos
589ecc7c88 Merge "WM: Support device-specific DisplayArea (4/n)" 2020-02-10 20:22:07 +00:00
Heemin Seog
72be6295c0 Merge "Fix flaky sysui crash in devicehealthchecks test." into qt-qpr1-dev 2020-02-10 20:21:31 +00:00
TreeHugger Robot
ed50ee99b9 Merge "Consistent padding between overflow & normal bubbles" 2020-02-10 20:18:47 +00:00
Treehugger Robot
52c5601801 Merge "Remove testTokenize" 2020-02-10 20:18:45 +00:00
TreeHugger Robot
530d3e4982 Merge "Pass PictureInPictureParams in TaskInfo." 2020-02-10 20:17:31 +00:00