OSDN Git Service

android-x86/frameworks-base.git
4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Fri, 23 Aug 2019 00:34:20 +0000 (00:34 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoMerge "Add manifest flag to enable prerelease driver." into qt-qpr1-dev
Peiyong Lin [Thu, 22 Aug 2019 22:59:39 +0000 (22:59 +0000)]
Merge "Add manifest flag to enable prerelease driver." into qt-qpr1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Aug 2019 22:55:01 +0000 (15:55 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iba60f442bfce52a602590b2eaa7bf42ca7f79445

4 years agoMerge "Fix Handling of user switching for headless user 0 model." into qt-qpr1-dev
Ram Periathiruvadi [Thu, 22 Aug 2019 22:00:51 +0000 (22:00 +0000)]
Merge "Fix Handling of user switching for headless user 0 model." into qt-qpr1-dev

4 years agoMerge "Hold a strong reference to the callback in TextClassifierService" into qt...
TreeHugger Robot [Thu, 22 Aug 2019 21:16:59 +0000 (21:16 +0000)]
Merge "Hold a strong reference to the callback in TextClassifierService" into qt-qpr1-dev

4 years agoMerge "Fix legacy role holder resolution for assistant, dialer and SMS." into qt...
TreeHugger Robot [Thu, 22 Aug 2019 19:11:38 +0000 (19:11 +0000)]
Merge "Fix legacy role holder resolution for assistant, dialer and SMS." into qt-qpr1-dev

4 years agoMerge "Add fields to Cellbroadcast" into qt-qpr1-dev
Pengquan Meng [Thu, 22 Aug 2019 18:31:05 +0000 (18:31 +0000)]
Merge "Add fields to Cellbroadcast" into qt-qpr1-dev

4 years agoMerge "Limit the number of Notif Channels per app" into qt-qpr1-dev
Julia Reynolds [Thu, 22 Aug 2019 18:31:02 +0000 (18:31 +0000)]
Merge "Limit the number of Notif Channels per app" into qt-qpr1-dev

4 years agoAdd fields to Cellbroadcast
Pengquan Meng [Fri, 19 Jul 2019 00:30:04 +0000 (17:30 -0700)]
Add fields to Cellbroadcast

This add some fields to CellBroadcasts in order to support the WEA 3.0
geo-fencing.

Bug: 123096618
Test: atest TelephonyProviderTests
Merged-In: Ied0780cb1b9993e6d8cdb80131ba2f8b8affcb54
Change-Id: Ied0780cb1b9993e6d8cdb80131ba2f8b8affcb54
(cherry picked from commit 5c6e975ce4a973619f20167644475b04e663ee4e)

4 years agoAdd manifest flag to enable prerelease driver.
Peiyong Lin [Fri, 9 Aug 2019 17:34:39 +0000 (10:34 -0700)]
Add manifest flag to enable prerelease driver.

Add manifest flag to prevent applications from using prerelease driver
accidentally. In this patch we also allow any debuggable device build to load
prerelease driver for all non-system and non-privileged applications.

BUG: 138132808
Test: Verified with prerelease driver.
Change-Id: If0abc89f709c8e34bd83a5c09c3c2047300b5ef2

4 years agoMerge "Add geo targeting implementation" into qt-qpr1-dev
Pengquan Meng [Thu, 22 Aug 2019 17:13:14 +0000 (17:13 +0000)]
Merge "Add geo targeting implementation" into qt-qpr1-dev

4 years agoHold a strong reference to the callback in TextClassifierService
Tony Mak [Wed, 14 Aug 2019 19:38:06 +0000 (20:38 +0100)]
Hold a strong reference to the callback in TextClassifierService

Issue:
TextClassifierService failed to invoke the callback to send the result back to client
occasionally because  the callback object may be GCed.
And thus smart selection failed occasionally, as the client doesn't get a response
back when it hits this issue. It won't fallback to local textclassifier due to the
timeout specified in TextView.

Cause:
We thought that ITextClassifierCallback is a "cross process" reference, and
so we only store a weak reference of it to avoid leak.
And it turns out that it is wrong. As soon as the weak ref gets GCed in
the service, that counts as dropping the callback. The service doesn't
know about any strong references the client has.

Bug: 138865849

Test: Try smart selection over 30 times, make sure smart action is shown
for every single time.

Merged-In: Ia9218cf67e8d67697a0fdff22c7918a55efc39ca

Change-Id: I4d89518dfff777ba5d999d9ba89d7f4cf7598e75

4 years agoLimit the number of Notif Channels per app
Julia Reynolds [Tue, 20 Aug 2019 20:08:42 +0000 (16:08 -0400)]
Limit the number of Notif Channels per app

Fixes: 139111963
Test: atest
Change-Id: I0f0d442e9f5cc5bb1d73a638e00726807ef9fb48
(cherry picked from commit c29370a294cd2aec9536d97e81f74931396b6fd9)

4 years agoMerge "Create carrier config to define specific default value of APN types." into...
SongFerng Wang [Thu, 22 Aug 2019 09:49:27 +0000 (09:49 +0000)]
Merge "Create carrier config to define specific default value of APN types." into qt-qpr1-dev

4 years agoFix legacy role holder resolution for assistant, dialer and SMS.
Hai Zhang [Wed, 21 Aug 2019 23:35:18 +0000 (16:35 -0700)]
Fix legacy role holder resolution for assistant, dialer and SMS.

The legacy settings for them can actually remain null and it was
handled specially to use the system default instead. If the legacy
role holders aren't resolved correctly, role implementation will do a
fallback grant which overrides permission state, whereas if they are
resolved correctly the normal fix up won't do an override.

Fixes: 139752137
Test: manual
Change-Id: I5cc301c3b7b459bdfaece0117bcacd984d1cb78f

4 years agoadd checking for carrierConfigs certificates for psim
Nazanin Bakhshi [Mon, 19 Aug 2019 23:36:07 +0000 (16:36 -0700)]
add checking for carrierConfigs certificates for psim

Test: utests
Bug: 139133814
Change-Id: I2d5cf7ee4e516ff16a67a5fbef6674a380095888

4 years agoMerge "add certs to carrier configs and store them as UiccAccessRules" into qt-qpr1-dev
Nazanin Bakhshi [Wed, 21 Aug 2019 21:42:24 +0000 (21:42 +0000)]
Merge "add certs to carrier configs and store them as UiccAccessRules" into qt-qpr1-dev

4 years agoAdd geo targeting implementation
Pengquan Meng [Thu, 15 Aug 2019 00:57:33 +0000 (17:57 -0700)]
Add geo targeting implementation

This CL adds support for geo targeting, including determining whether a
point is inside a simple polygon and circle.

For the judgment of the point in the polygon, the algorithm implemented
here simply considers the spherical polygon as a 2d plane polygon, which
may be not precisely. However, according to the test of real geographical
coordinates data i.e state/city/stree boundary data, this error is less than
10 meters that within 160 meters requires by the spec.

Bug: 123096618
Test: atest GeoUtils
Merged-In: I51e1fad3b48c1a58fa0510f97d9f5f9335779c30
Change-Id: I51e1fad3b48c1a58fa0510f97d9f5f9335779c30
(cherry picked from commit 7fbc74b66b58dd57deedb7336c5c1e2f0f9e2064)

4 years agoMerge "Changed regex matching for MCC and MNC" into qt-qpr1-dev
Sarah Chin [Wed, 21 Aug 2019 21:26:53 +0000 (21:26 +0000)]
Merge "Changed regex matching for MCC and MNC" into qt-qpr1-dev

4 years agoMerge "[DO NOT MERGE] qt-qpr1-sysui-dev @ build 5814791" into qt-qpr1-dev
TreeHugger Robot [Wed, 21 Aug 2019 21:19:19 +0000 (21:19 +0000)]
Merge "[DO NOT MERGE] qt-qpr1-sysui-dev @ build 5814791" into qt-qpr1-dev

4 years agoMerge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev
Alexey Kuzmin [Wed, 21 Aug 2019 19:47:17 +0000 (12:47 -0700)]
Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev
am: 8e70a2826e

Change-Id: I89fb24a3a3384f677786db4e7cc016bc2c5009d1

4 years agoMerge "Move processing off of HIDL Binder" into qt-qpr1-dev
TreeHugger Robot [Wed, 21 Aug 2019 19:17:48 +0000 (19:17 +0000)]
Merge "Move processing off of HIDL Binder" into qt-qpr1-dev

4 years agoMerge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev
TreeHugger Robot [Wed, 21 Aug 2019 19:04:49 +0000 (19:04 +0000)]
Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev

4 years agoChanged regex matching for MCC and MNC
Sarah Chin [Mon, 5 Aug 2019 17:24:04 +0000 (10:24 -0700)]
Changed regex matching for MCC and MNC

Bug: 137942727
Test: atest CellIdentityTest
Change-Id: Iaeb9ff9e2a5a82be66855378831cd52ee49e3c5c
(cherry picked from commit cb76b14fdfbb8e074bc3d319ae7d8d29e47ec1fc)
Merged-In: Iaeb9ff9e2a5a82be66855378831cd52ee49e3c5c

4 years agoMerge "Add carrier config for ignoring user RTT setting" into qt-r1-dev
Hall Liu [Wed, 21 Aug 2019 18:37:35 +0000 (11:37 -0700)]
Merge "Add carrier config for ignoring user RTT setting" into qt-r1-dev
am: 5ca4cef9b5

Change-Id: I15a0dc85d3a2c9be599deed826696e4a1c542fce

4 years agoMerge "Add carrier config for ignoring user RTT setting" into qt-r1-dev
Hall Liu [Wed, 21 Aug 2019 18:28:20 +0000 (18:28 +0000)]
Merge "Add carrier config for ignoring user RTT setting" into qt-r1-dev

4 years agoadd certs to carrier configs and store them as UiccAccessRules
Nazanin Bakhshi [Fri, 2 Aug 2019 23:43:44 +0000 (16:43 -0700)]
add certs to carrier configs and store them as UiccAccessRules

Bug: 138388637
Test: tested with local override and made sure they are read and parsed
Change-Id: I50fb11444f0da33ae48683b834e6ca50941ad1b7
Merged-In: I50fb11444f0da33ae48683b834e6ca50941ad1b7

4 years agoMerge "Treat SENSOR_DIRTY as user not detected" into qt-r1-dev
Ilya Matyukhin [Wed, 21 Aug 2019 17:41:12 +0000 (10:41 -0700)]
Merge "Treat SENSOR_DIRTY as user not detected" into qt-r1-dev
am: a4a02a7854

Change-Id: I55bc333472b742d5b6edd06456dfe14193fd0779

4 years agoMerge "Treat SENSOR_DIRTY as user not detected" into qt-r1-dev
TreeHugger Robot [Wed, 21 Aug 2019 17:25:15 +0000 (17:25 +0000)]
Merge "Treat SENSOR_DIRTY as user not detected" into qt-r1-dev

4 years ago[DO NOT MERGE] qt-qpr1-sysui-dev @ build 5814791
Hyunyoung Song [Tue, 20 Aug 2019 07:53:24 +0000 (00:53 -0700)]
[DO NOT MERGE] qt-qpr1-sysui-dev @ build 5814791

Test: presubmit setup on source branch

Bug: 130289146 Create a Gradle build for SystemUI
Bug: 136279712 Daggerize FalsingManager
Bug: 137324767 "Unable to instantiate service com.android.systemui.doze.DozeService" exception breaks launcher tests
Bug: 137563419 Remove Bouncer reveal delay from bypass flow
Bug: 138787339 Allow Services and Activities to be injected into directly.
Bug: 139128921 [AS 3.5 RC2, SDK API 29 rev 2] Overload resolution ambiguity: while removing element from HashMap
Bug: 64712476 Import translations for dev branches

Change-Id: Ib7fd4706c070907fd556c3532957f3b1b046de6d

4 years agoTreat SENSOR_DIRTY as user not detected
Ilya Matyukhin [Tue, 20 Aug 2019 22:38:57 +0000 (15:38 -0700)]
Treat SENSOR_DIRTY as user not detected

Bug: 139620163
Test: no double vibration on authentication timeout while the sensor
is covered.

Change-Id: I26ec9ca0f911fb029eb9175fe1923c8e9a27e693

4 years agoMerge "To modify 5G icon carrier config's comment: 5GPlus to 5G_Plus" into qt-qpr1-dev
SongFerng Wang [Wed, 21 Aug 2019 03:16:52 +0000 (03:16 +0000)]
Merge "To modify 5G icon carrier config's comment: 5GPlus to 5G_Plus" into qt-qpr1-dev

4 years agoMerge "Remove the Phone registration error notification" into qt-qpr1-dev
James Lin [Wed, 21 Aug 2019 03:14:05 +0000 (03:14 +0000)]
Merge "Remove the Phone registration error notification" into qt-qpr1-dev

4 years agoFix Handling of user switching for headless user 0 model.
Ram Periathiruvadi [Wed, 31 Jul 2019 22:47:47 +0000 (15:47 -0700)]
Fix Handling of user switching for headless user 0 model.

For headless user 0 models we don't start Bluetooth Service in user 0.
We wait for the first user switch to start - call
BluetoothManagerService.handleBootPhase().  However, we also call
BluetoothManagerService.handleOnUserSwitch() which ends up restarting
the service that was started in handleBootPhase().  This leads to the
Bluetooth service not being available due to the extra restart.

Changing the loigc to
1. Handle boot phase on User switch if not done before.
2. Handle on switch user otherwise.

This saves 6-7 seconds of the time it takes for something like BLE to be
available in the automotive builds.

Bug: 137289703
Test: Make sure Bluetooth comes up only once with no restarts on boot up
and also ensure Bluetooth is restarted when manually switching to
another user.

Change-Id: I30179f4c2a3f81940258c70045a6ba8b32f315e1
(cherry picked from commit 2097d6a33125fe64556c28e707e67bff3b56662e)

4 years ago[automerger skipped] Merge "DO NOT MERGE: Fixed an issue where the notification icons...
Selim Cinek [Wed, 21 Aug 2019 00:27:18 +0000 (17:27 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked" into qt-dev am: cceea08cc7 -s ours
am: 776d0367b0 -s ours
am skip reason: change_id I8f7bd7a6a0562942ed3e12f28705043722d177e8 with SHA1 65c96f2fd4 is in history

Change-Id: I581e414b3e50377facc94d1145c6976f4779da05

4 years agoMerge "EglDisplay may be null and cause Null point exception" into qt-r1-dev
Selim Cinek [Wed, 21 Aug 2019 00:22:20 +0000 (17:22 -0700)]
Merge "EglDisplay may be null and cause Null point exception" into qt-r1-dev
am: aec6b61816

Change-Id: Ie20c919bb28fb365d249c173786117519c4db973

4 years ago[automerger skipped] Merge "DO NOT MERGE: Fixed an issue where the notification icons...
Selim Cinek [Wed, 21 Aug 2019 00:14:38 +0000 (17:14 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked" into qt-dev
am: cceea08cc7 -s ours
am skip reason: change_id I8f7bd7a6a0562942ed3e12f28705043722d177e8 with SHA1 65c96f2fd4 is in history

Change-Id: I5451e6467e8ffebd08360abfab9f86a429ed0721

4 years agoMerge "EglDisplay may be null and cause Null point exception" into qt-r1-dev
Selim Cinek [Tue, 20 Aug 2019 23:40:41 +0000 (23:40 +0000)]
Merge "EglDisplay may be null and cause Null point exception" into qt-r1-dev

4 years agoMerge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while...
Selim Cinek [Tue, 20 Aug 2019 23:39:13 +0000 (23:39 +0000)]
Merge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked" into qt-dev

4 years agoMerge "Only allow mediaserver to report video battery stats" into qt-qpr1-dev
Chong Zhang [Tue, 20 Aug 2019 23:22:35 +0000 (23:22 +0000)]
Merge "Only allow mediaserver to report video battery stats" into qt-qpr1-dev

4 years agoDO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked
Selim Cinek [Mon, 19 Aug 2019 18:57:11 +0000 (11:57 -0700)]
DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked

Since we're using the pulsing state for docking, the icons would now
become clipped while pulsing.

Fixes: 139096431
Test: dock, observe notification icons showing
Change-Id: If251e6b18c03b2824b4d3ea4dab82d4a403565f1
Merged-In: I8f7bd7a6a0562942ed3e12f28705043722d177e8

4 years agoMove processing off of HIDL Binder
Tomasz Wasilczyk [Thu, 15 Aug 2019 21:50:31 +0000 (14:50 -0700)]
Move processing off of HIDL Binder

Bug: 138412770
Test: atest StartProgramListUpdatesFanoutTest
Change-Id: I51a89c5792a1938cfd6720a10b6830b8cf62b9cd
Merged-In: I51a89c5792a1938cfd6720a10b6830b8cf62b9cd

4 years agoTo modify 5G icon carrier config's comment: 5GPlus to 5G_Plus
SongFerngWang [Tue, 20 Aug 2019 14:32:16 +0000 (22:32 +0800)]
To modify 5G icon carrier config's comment: 5GPlus to 5G_Plus

Bug: 138932186
Test: build pass
Change-Id: Ic8625f44a5ad23a307cfb280b85bfb27da2f2b06

4 years agoRemove main thread IPC
Lucas Dupin [Sat, 17 Aug 2019 00:01:28 +0000 (17:01 -0700)]
Remove main thread IPC

Test: pull down shade with phone locked and dynamic privacy
Fixes: 139308527
Change-Id: Ie79a2865a9ecf591451dfd4dd10eb523d10862c9

4 years agoMerge "Fixed null callback issue" into qt-r1-dev
Jayachandran Chinnakkannu [Tue, 20 Aug 2019 17:51:22 +0000 (10:51 -0700)]
Merge "Fixed null callback issue" into qt-r1-dev
am: f3395734e8

Change-Id: I438b53eec3edf8de1f9046ea820f7fdfd17f4249

4 years agoMerge "Fixed null callback issue" into qt-r1-dev
Jayachandran Chinnakkannu [Tue, 20 Aug 2019 17:37:03 +0000 (17:37 +0000)]
Merge "Fixed null callback issue" into qt-r1-dev

4 years agoMark USAGE_NOTIFICATION_EVENT vibrations as notifications
Alexey Kuzmin [Tue, 20 Aug 2019 17:02:14 +0000 (18:02 +0100)]
Mark USAGE_NOTIFICATION_EVENT vibrations as notifications

Non-notification background vibrations are ignored. However, we don't
want to ignore notifications that represent various events, such as
reminders.
Test: Create a calendar event with a reminder. Close calendar and wait
for reminder. The device should vibrate when the reminder pops up.
Bug: 139523314

Change-Id: I231239daf7cc85bf69aaeef1da31218a23fcf311

4 years agoMerge "Update bootanim theme flag on ui_night_mode change" into qt-qpr1-dev
Beverly Tai [Tue, 20 Aug 2019 15:13:16 +0000 (15:13 +0000)]
Merge "Update bootanim theme flag on ui_night_mode change" into qt-qpr1-dev

4 years agoCreate carrier config to define specific default value of APN types.
SongFerngWang [Mon, 19 Aug 2019 14:51:46 +0000 (22:51 +0800)]
Create carrier config to define specific default value of APN types.

Create Carrier config for default value of APN types field if not specified by
user when adding/modifying an APN.

Bug: 139320184
Test: Enter empty APN type and check if only default is added into
APN.
Change-Id: Ie6984e4eb741b1ac0a245b40e7102cc2c0c25b20

4 years agoMerge "Fix face auth not triggering after lock icon pressed" into qt-qpr1-dev
Curtis Belmonte [Tue, 20 Aug 2019 01:11:59 +0000 (01:11 +0000)]
Merge "Fix face auth not triggering after lock icon pressed" into qt-qpr1-dev

4 years agoMerge "Add Debounce text to ACTION_NETWORK_COUNTRY_CHANGE" into qt-qpr1-dev
Nathan Harold [Mon, 19 Aug 2019 23:58:38 +0000 (23:58 +0000)]
Merge "Add Debounce text to ACTION_NETWORK_COUNTRY_CHANGE" into qt-qpr1-dev

4 years agoMerge "ktlint fixes" into qt-qpr1-dev
Daniel Sandler [Mon, 19 Aug 2019 23:34:20 +0000 (16:34 -0700)]
Merge "ktlint fixes" into qt-qpr1-dev
am: 34c392a367

Change-Id: I50226b10f8aa5bf3d4714d61bc90f86b60609eee

4 years agoMerge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into...
Dave Mankoff [Mon, 19 Aug 2019 23:33:37 +0000 (16:33 -0700)]
Merge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into qt-r1-dev am: 9dccbdca70
am: 48fffed698

Change-Id: I919b6630f503ae7b325e0ed4604aab8649fa6a69

4 years agoFixed SystemServiceRegistry to return a null AppPredictionManager when the service...
Felipe Leme [Mon, 19 Aug 2019 23:32:43 +0000 (16:32 -0700)]
Fixed SystemServiceRegistry to return a null AppPredictionManager when the service is not defined.
am: 87c5855e17

Change-Id: Ibf1e8dce145906729c13c5df7942c5055b86e3e6

4 years agoMerge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev am: 9a0d576b4d
Remi NGUYEN VAN [Mon, 19 Aug 2019 23:31:59 +0000 (16:31 -0700)]
Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev am: 9a0d576b4d
am: bdf173ad92

Change-Id: I79f618af50d2f56ae01f142fcdaab008f288dc40

4 years agoMerge "Added debug messages and watchdog" into qt-r1-dev am: 24397e7a07
Jack Yu [Mon, 19 Aug 2019 23:31:07 +0000 (16:31 -0700)]
Merge "Added debug messages and watchdog" into qt-r1-dev am: 24397e7a07
am: f14bf1ee93

Change-Id: I6ee95a1bfc22b8fc58e1ec2e995e75d343df0925

4 years agoMerge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am:...
Kevin Hufnagle [Mon, 19 Aug 2019 23:30:25 +0000 (16:30 -0700)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am: 81d74c6c72 am: 4125bd9b25
am: e6d042dbb3

Change-Id: I6531484067a7cc84db038bbd96fca7aa6ec3120f

4 years agoMerge "Enables back gesture nav in screen pinning" into qt-r1-dev am: f8108f81cc
Hongwei Wang [Mon, 19 Aug 2019 23:29:37 +0000 (16:29 -0700)]
Merge "Enables back gesture nav in screen pinning" into qt-r1-dev am: f8108f81cc
am: c55e4e668f

Change-Id: I3d96d002604cad286c89c79966ae1f699398e161

4 years agoMerge "Set a minimum height for invocation lights" into qt-qpr1-dev
Miranda Kephart [Mon, 19 Aug 2019 23:28:49 +0000 (16:28 -0700)]
Merge "Set a minimum height for invocation lights" into qt-qpr1-dev
am: bec44cdd6f

Change-Id: I974f4b85e1d48d6c22a8583657e31e4fc9835851

4 years agoMerge "docs: Added desc. of launcher app criteria in Q" into qt-dev am: a5e5c177d1...
Kevin Hufnagle [Mon, 19 Aug 2019 23:27:42 +0000 (16:27 -0700)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev am: a5e5c177d1 am: ae80734298
am: 5cf3d202b0

Change-Id: Ib9fb72bc289f254053e277c7af6a64d1ca9fdae3

4 years agoMerge "docs: Correct sensor runtime permission documentation" into qt-dev am: 119f122...
Brian Duddie [Mon, 19 Aug 2019 23:26:47 +0000 (16:26 -0700)]
Merge "docs: Correct sensor runtime permission documentation" into qt-dev am: 119f1220cd am: 7eeb6f60f9
am: e1d3f8e84a

Change-Id: I0a824e981f1ecffa7d529f402f17b740f715bae6

4 years agoMerge "Fix number of pages in PagedTileLayout" into qt-qpr1-dev
Fabian Kozynski [Mon, 19 Aug 2019 23:25:57 +0000 (16:25 -0700)]
Merge "Fix number of pages in PagedTileLayout" into qt-qpr1-dev
am: 41aaa99f9b

Change-Id: I733fabb87ba5966545bb7495bf4e0ee89e5782ae

4 years agoMerge "apply empty transaction in startActivitySync" into qt-dev am: f928b661d9 am...
Prabir Pradhan [Mon, 19 Aug 2019 23:25:04 +0000 (16:25 -0700)]
Merge "apply empty transaction in startActivitySync" into qt-dev am: f928b661d9 am: 5cd874d792
am: fa6f50e13d

Change-Id: I563c3459ec859b62d100a9103f9e741c9088d686

4 years agoMerge "ThermalService: add event log when temperature changed" into qt-qpr1-dev
Wei Wang [Mon, 19 Aug 2019 23:24:10 +0000 (16:24 -0700)]
Merge "ThermalService: add event log when temperature changed" into qt-qpr1-dev
am: a046613c02

Change-Id: I28f65acb31eac27869a245e2e9e13ffea45748d0

4 years agoMerge "resolve merge conflicts of 07d866a10e2633902270173108eb6d9d53e31eac to qt...
Daniel Sandler [Mon, 19 Aug 2019 22:41:36 +0000 (22:41 +0000)]
Merge "resolve merge conflicts of 07d866a10e2633902270173108eb6d9d53e31eac to qt-qpr1-sysui-dev" into qt-qpr1-sysui-dev

4 years agoMerge "Remove unused setting" into qt-r1-dev
Kevin Chyn [Mon, 19 Aug 2019 22:08:27 +0000 (15:08 -0700)]
Merge "Remove unused setting" into qt-r1-dev
am: 95a675ce91

Change-Id: I5d1d1d70a0936c4542d26f7f7216a2d6a66eb1e6

4 years agoFix face auth not triggering after lock icon pressed
Curtis Belmonte [Fri, 16 Aug 2019 21:32:14 +0000 (14:32 -0700)]
Fix face auth not triggering after lock icon pressed

Long-pressing on the lock icon after the device has been unlocked causes
it to relock until the user manually authenticates. This intentionally
disables face unlock, since we don't want the device to unlock again
immediately after the lock icon has been pressed. However, when the
device screen turns off, pressing the power button again should
re-trigger face auth.

This commit fixes a bug in that flow where, if a user long presses the
lock icon, then turns the screen off and back on very quickly, face auth
is not retriggered. It does this by resetting the lock icon pressed
status when the device begins going to sleep, rather than when the
screen has been fully turned off.

Test: manual
1. Enroll face and turn off "skip lock screen"
2. Lock device, then wake and unlock with face
3. Long-press on the lock icon to relock device
4. Enter PIN/pattern/password to unlock the device
5. Press power twice in quick succession (without triggering camera)

Before: Lock screen would be shown but face auth would not trigger
After: Lock screen is shown and face auth is triggered

Fixes: 138974321
Change-Id: I7d6a8c2b9cc95d3003f006a403866796dab67e82
Merged-In: Icecd7cb76688cd19f7e3b445a8228b21e1599068

4 years agoMerge "Remove unused setting" into qt-r1-dev
Kevin Chyn [Mon, 19 Aug 2019 21:50:22 +0000 (21:50 +0000)]
Merge "Remove unused setting" into qt-r1-dev

4 years agoMerge "Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit...
Roy Want [Mon, 19 Aug 2019 21:02:46 +0000 (14:02 -0700)]
Merge "Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)" into qt-r1-dev
am: 4e027572e3

Change-Id: Ic1ad369b2571259930e080574d7ce4c994940308

4 years agoMerge "WebView: prettyprint docs" into qt-dev am: 20f2f0b5ea
Nate Fischer [Mon, 19 Aug 2019 20:41:11 +0000 (13:41 -0700)]
Merge "WebView: prettyprint docs" into qt-dev am: 20f2f0b5ea
am: 6201d28952

Change-Id: I06fdaa6d8f5b5d1cc75263338c8bb56da9bcca51

4 years agoMerge "Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit...
TreeHugger Robot [Mon, 19 Aug 2019 20:37:12 +0000 (20:37 +0000)]
Merge "Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)" into qt-r1-dev

4 years agoMerge "Fixing a bug where content capture sessions with child sessions could get...
Mihir Patel [Mon, 19 Aug 2019 20:34:24 +0000 (13:34 -0700)]
Merge "Fixing a bug where content capture sessions with child sessions could get stuck in a state where no event flushing other than forced flushes would occur" into qt-r1-dev
am: 4aa0aeadff

Change-Id: Iadf1c43fc5b38ab432e4bc2f47d50dd911f725ed

4 years agoMerge "WebView: prettyprint docs" into qt-dev
Nate Fischer [Mon, 19 Aug 2019 20:22:49 +0000 (13:22 -0700)]
Merge "WebView: prettyprint docs" into qt-dev
am: 20f2f0b5ea

Change-Id: Iad51d33c434a42272c448ba7a807bdcbe6cb51d0

4 years agoMerge "Do not notify SS change with invalid subId" into qt-qpr1-dev
Jordan Liu [Mon, 19 Aug 2019 20:16:33 +0000 (20:16 +0000)]
Merge "Do not notify SS change with invalid subId" into qt-qpr1-dev

4 years agoMerge "Fixing a bug where content capture sessions with child sessions could get...
Mihir Patel [Mon, 19 Aug 2019 20:11:44 +0000 (20:11 +0000)]
Merge "Fixing a bug where content capture sessions with child sessions could get stuck in a state where no event flushing other than forced flushes would occur" into qt-r1-dev

4 years agoMerge "WebView: prettyprint docs" into qt-dev
TreeHugger Robot [Mon, 19 Aug 2019 19:06:32 +0000 (19:06 +0000)]
Merge "WebView: prettyprint docs" into qt-dev

4 years agoMerge "Extends carrier config KEY_5G_ICON_CONFIGURATION_STRING to support more scenar...
SongFerng Wang [Mon, 19 Aug 2019 18:26:03 +0000 (18:26 +0000)]
Merge "Extends carrier config KEY_5G_ICON_CONFIGURATION_STRING to support more scenarios." into qt-qpr1-dev

4 years agoUpdate bootanim theme flag on ui_night_mode change
Beverly [Mon, 22 Jul 2019 21:15:58 +0000 (17:15 -0400)]
Update bootanim theme flag on ui_night_mode change

persist.sys.theme should always be consistent with ui_night_mode
Fixes bug where persist.sys.theme wasn't retained after
restoring from another device.

Test: atest google/perf/boottime/boottime-test -v
Fixes: 139301893
Change-Id: Ib923a483f0817aa6a75d407bd09c32b960083146
Merged-In: Ib923a483f0817aa6a75d407bd09c32b960083146
(cherry picked from commit 4f2ff8e959c67ac210680139794b1cc2bc03f81f)

4 years agoFixed null callback issue
Jack Yu [Mon, 19 Aug 2019 01:51:30 +0000 (18:51 -0700)]
Fixed null callback issue

Fixed the vendor data/network service non-responsive
issue. The callback binder passed from frameworks
might be GC'd so that vendor data/network service skipped
calling the callback. This eventually caused data
connection state machine messed up.

Fixed by turning the weak refernce to the callback into
a strong reference. This ensure the binder alive when
vendor service needs to invoke the callback.

Test: Telephony sanity tests
Bug: 139076980
Change-Id: Ica0b7b810ffd5416ffd1b2b61f7ebc4af0dcb8ce

4 years agoAPI: Explicitly track incompatibilities with previous API versions
Adrian Roos [Mon, 12 Aug 2019 15:47:39 +0000 (17:47 +0200)]
API: Explicitly track incompatibilities with previous API versions

Bug: 139128921
Test: make checkapi
Change-Id: I1f17b57705e2f7350b55ab278e06fc4e988771ff
Merged-In: I1f17b57705e2f7350b55ab278e06fc4e988771ff
(cherry picked from commit 369246b4cc3143a42eb176057d168473783d3d6b)

4 years agoRemove the Phone registration error notification
James.cf Lin [Wed, 7 Aug 2019 07:41:45 +0000 (15:41 +0800)]
Remove the Phone registration error notification

When the Phone registration status changes and back to
service, remove the Phone error notification automatically.

Bug: 136535506
Test: manual
Change-Id: I3ac19c09a37c4f62ddcf64e8660a7e925648f4dd

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Sun, 18 Aug 2019 07:16:04 +0000 (00:16 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: 4769e819e9 -s ours
am skip reason: subject contains skip directive

Change-Id: I28086d495911ad8df40e2e77bc888722864cec48

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sun, 18 Aug 2019 06:47:23 +0000 (06:47 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 18 Aug 2019 05:33:19 +0000 (22:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic933893725676e939dff7615cbdae520d0597e84

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Sun, 18 Aug 2019 01:56:09 +0000 (18:56 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: ab5629ef3c -s ours
am skip reason: subject contains skip directive

Change-Id: Ibfef1d8782bff3f4d211105fa8069f7c8d368e67

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sun, 18 Aug 2019 01:42:27 +0000 (01:42 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Aug 2019 19:52:27 +0000 (12:52 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1007992fe397102078f19c63aa04cb63fe7c8765

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
Bill Yi [Sat, 17 Aug 2019 16:56:45 +0000 (09:56 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: 6f1fc7fd3f -s ours
am skip reason: subject contains skip directive

Change-Id: I9ef48ef60149032f1b5fdc65c56ff6f53f1072cd

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sat, 17 Aug 2019 16:37:30 +0000 (16:37 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoMerge "Get resource based on subId for multi-SIM" into qt-r1-dev
Chiachang Wang [Sat, 17 Aug 2019 14:17:48 +0000 (07:17 -0700)]
Merge "Get resource based on subId for multi-SIM" into qt-r1-dev
am: 559e7a3de1

Change-Id: I0183e42f4b116c6fc44147a9ab6ef7d800bd3687

4 years agoMerge "Get resource based on subId for multi-SIM" into qt-r1-dev
TreeHugger Robot [Sat, 17 Aug 2019 13:58:53 +0000 (13:58 +0000)]
Merge "Get resource based on subId for multi-SIM" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Aug 2019 05:55:20 +0000 (22:55 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I94e4a89f9517f1991432295abba850d842d07877

4 years agoRemove unused setting
Kevin Chyn [Fri, 16 Aug 2019 23:51:47 +0000 (16:51 -0700)]
Remove unused setting

Bug: 139554930

Test: manual
Change-Id: I5c4af200b0c61efb9a0f76d00c2f047d4880d77b
Merged-In: I5c4af200b0c61efb9a0f76d00c2f047d4880d77b

4 years agoSkip using the AppPredictionService if the component is not available
Mehdi Alizadeh [Thu, 15 Aug 2019 23:31:38 +0000 (16:31 -0700)]
Skip using the AppPredictionService if the component is not available

This CL adds a safeguard in ShareSheet to avoid calls to
AppPredictionService when the service is defined but is not available,
for example in the case of a wrong AiAi apk pushed from GooglePlay.

Bug: 138595943
Test: Manual test by removing the AiAi package from device

Change-Id: I4109c5122faa753d5111ee45698301cb6ccdd7b5

4 years agoIncreased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)
Roy Want [Thu, 15 Aug 2019 18:14:19 +0000 (11:14 -0700)]
Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)

Bug: 139448024
Bug: 139448573
Test: All tests pass (with increased precision), end-to-end tests pass.
Change-Id: I1e1dd3b26df707279e6cc2d59951f28d7878efe8

4 years agoMerge "Do not stop idmap2d after OMS initialization" into qt-r1-dev
Ryan Mitchell [Fri, 16 Aug 2019 20:11:37 +0000 (13:11 -0700)]
Merge "Do not stop idmap2d after OMS initialization" into qt-r1-dev
am: 3186b40edf

Change-Id: I0374997faf945a2cd60179cf1c35a7fbcd255285

4 years agoMerge "Do not stop idmap2d after OMS initialization" into qt-r1-dev
TreeHugger Robot [Fri, 16 Aug 2019 19:43:52 +0000 (19:43 +0000)]
Merge "Do not stop idmap2d after OMS initialization" into qt-r1-dev

4 years agoDo not notify SS change with invalid subId
Jordan Liu [Mon, 24 Jun 2019 18:27:34 +0000 (11:27 -0700)]
Do not notify SS change with invalid subId

(This is a reupload of ag/8541406.)

If a service state change is reported as a subscription is becoming
invalid (i.e. no longer connected to a phone), the current behavior can
sometimes notify this change to all PhoneStateListeners regardless of
which subId they registered to listen on (namely this happens when the
subscription was attached to the default phone).

This change removes that behavior so that no listeners are notified if
the subscription is invalid.

Test: manually verified on DSDS that when
  1. erasing eSIM when it is default and
  2. removing pSIM when it is default,
  the service state triangle for the other SIM is unaffected
  Also made sure that signal strength is rebroadcast when sub becomes
  valid, so b/138357571 did not show up 5/5 times
Bug: 133140128
Change-Id: I2ba6a971fff4e29ccd2166c381308fcd953f5bc0

4 years agoExtends carrier config KEY_5G_ICON_CONFIGURATION_STRING to support more scenarios.
SongFerngWang [Wed, 14 Aug 2019 08:59:29 +0000 (16:59 +0800)]
Extends carrier config KEY_5G_ICON_CONFIGURATION_STRING to support more scenarios.

Add RRC state condition to support more scenarios.
Carrier config KEY_5G_ICON_CONFIGURATION_STRING change default value.

Bug: 138932186
Test: atest NetworkControllerDataTest.java#testNr5GIcon_NrNotRestrictedRrcCon_show5GIcon
atest NetworkControllerDataTest.java#testNr5GIcon_NrNotRestrictedRrcIdle_show5GIcon

Change-Id: Icb8af599f95a09c5e709f00d7710e018218a23cc

4 years agoMerge "Update the string on how to exit pinning mode in gesture navigation" into...
TreeHugger Robot [Fri, 16 Aug 2019 01:59:02 +0000 (01:59 +0000)]
Merge "Update the string on how to exit pinning mode in gesture navigation" into qt-qpr1-dev