OSDN Git Service

android-x86/frameworks-base.git
5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 23 Aug 2019 09:29:52 +0000 (02:29 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1da61e9093dbc1b2f19b3f11848190cbe3fe2254

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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)

5 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

5 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)

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 years agoMerge "API: Explicitly track incompatibilities with previous API versions" into qt...
Adrian Roos [Thu, 15 Aug 2019 20:41:58 +0000 (13:41 -0700)]
Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev am: d3b53e080d
am: 1ac726e718

Change-Id: Ie0aa594144d841a3a5f3ead1c67fb543b06f7593

5 years agoMerge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
Adrian Roos [Thu, 15 Aug 2019 20:20:20 +0000 (13:20 -0700)]
Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
am: d3b53e080d

Change-Id: I6da708a8b05f762af1b781db75aa2511aa895abf

5 years agoOnly delay bouncer if bypass is off
Lucas Dupin [Thu, 15 Aug 2019 18:41:52 +0000 (11:41 -0700)]
Only delay bouncer if bypass is off

Test: pull up bouncer with bypass on and off
Test: atest KeyguardBouncerTest
Fixes: 137563419
Change-Id: I5ca00ebacda2c893bf62d5c882fe0a244b77f4fc

5 years agoUpdate the string on how to exit pinning mode in gesture navigation
Hongwei Wang [Wed, 14 Aug 2019 21:55:27 +0000 (14:55 -0700)]
Update the string on how to exit pinning mode in gesture navigation

Bug: 139438042
Test: Back gesture in screen pinning mode
Change-Id: Ia21e0324cb9a78c6664f4ba787189c6a2423a03d
Merged-In: Ia21e0324cb9a78c6664f4ba787189c6a2423a03d

5 years agoMerge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
TreeHugger Robot [Thu, 15 Aug 2019 18:07:32 +0000 (18:07 +0000)]
Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev

5 years agoMerge changes from topic "b138787339-daggerize" into qt-qpr1-dev
Dave Mankoff [Thu, 15 Aug 2019 15:41:34 +0000 (15:41 +0000)]
Merge changes from topic "b138787339-daggerize" into qt-qpr1-dev

* changes:
  Pass FalsingManager down through more classes.
  Allow Services to be created through Dagger.

5 years agoMerge "ktlint fixes" into qt-qpr1-dev
Daniel Sandler [Thu, 15 Aug 2019 15:21:54 +0000 (15:21 +0000)]
Merge "ktlint fixes" into qt-qpr1-dev

5 years agoMerge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into...
Dave Mankoff [Thu, 15 Aug 2019 14:53:35 +0000 (07:53 -0700)]
Merge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into qt-r1-dev
am: 9dccbdca70

Change-Id: I56ca831bd6929c8692ac4c93aed52d5c1fb46e24

5 years agoMerge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into...
Dave Mankoff [Thu, 15 Aug 2019 14:37:06 +0000 (14:37 +0000)]
Merge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into qt-r1-dev

5 years agoFixed SystemServiceRegistry to return a null AppPredictionManager when the service...
Felipe Leme [Thu, 15 Aug 2019 01:14:55 +0000 (18:14 -0700)]
Fixed SystemServiceRegistry to return a null AppPredictionManager when the service is not defined.

Test: manual verification
Test: atest CtsAssistTestCases

Fixes: 139416391

Change-Id: Ieb2ae3f39bd42dc077ed3db1c6acdf429a39d519

5 years agoMerge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev
Remi NGUYEN VAN [Thu, 15 Aug 2019 03:44:53 +0000 (20:44 -0700)]
Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev
am: 9a0d576b4d

Change-Id: Ibea00c309b18939c12275d760ee35539e0b157ba

5 years agoMerge "Added debug messages and watchdog" into qt-r1-dev
Jack Yu [Thu, 15 Aug 2019 03:34:47 +0000 (20:34 -0700)]
Merge "Added debug messages and watchdog" into qt-r1-dev
am: 24397e7a07

Change-Id: I22a4a8e6599e46a0c3aba931af82bf98d7f48ece

5 years agoMerge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev
TreeHugger Robot [Thu, 15 Aug 2019 03:27:35 +0000 (03:27 +0000)]
Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev

5 years agoMerge "Added debug messages and watchdog" into qt-r1-dev
Jack Yu [Thu, 15 Aug 2019 03:15:12 +0000 (03:15 +0000)]
Merge "Added debug messages and watchdog" into qt-r1-dev

5 years agoMerge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am:...
Kevin Hufnagle [Thu, 15 Aug 2019 00:44:51 +0000 (17:44 -0700)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am: 81d74c6c72
am: 4125bd9b25

Change-Id: I546bb1192d0cd85a8d8f0df1e723aebdc4718020

5 years agoMerge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
Kevin Hufnagle [Thu, 15 Aug 2019 00:35:05 +0000 (17:35 -0700)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
am: 81d74c6c72

Change-Id: I964a029a53fb5f14d872baceee9883391da24cd3

5 years agoAdded debug messages and watchdog
Jack Yu [Wed, 14 Aug 2019 09:32:17 +0000 (02:32 -0700)]
Added debug messages and watchdog

Added debug messages and watchdog to catch
unresponsive data service issue.

Bug: 139076980
Test: Manual
Change-Id: I52dd126fddc1b1e8b18d5388a92aabaa3e2e48d5