Commit Graph

397320 Commits

Author SHA1 Message Date
tim peng
79e0da280c Merge "Implement naive rule of device order on seamless transfer" 2018-12-24 03:34:17 +00:00
TreeHugger Robot
c8cbd5f9b3 Merge "Import translations. DO NOT MERGE" 2018-12-24 02:51:26 +00:00
timhypeng
a8b826c055 Implement naive rule of device order on seamless transfer
- Add ConnectionRecordManager for device usage record operation
- Add test cases to verify naive rules

Bug: 119065243
Test: make -j50 RunSettingsLibRoboTests
Change-Id: Idf1c0ed575d1feeb3f1eb93b41cd209c3a510bfa
2018-12-24 02:16:21 +00:00
Bill Yi
02cb02a6b8 Import translations. DO NOT MERGE
Change-Id: Ia1158febb45739abb7b935d23c2e57e1f04556ef
Auto-generated-cl: translation import
2018-12-23 14:24:04 -08:00
Andrii Kulian
60e88ecdca Merge "Add API to check if activity can be started on a display" 2018-12-23 20:43:03 +00:00
Adam Bookatz
89e8be4121 Merge "Statsd logs directly from Wifi & add Multicast tag" 2018-12-23 16:40:13 +00:00
Chandan Nath
9dc26b0fb6 Merge "[Backup cleanup] remove unused (and no-op) method setBackupProvisioned" 2018-12-23 14:50:13 +00:00
TreeHugger Robot
1b598f4fb5 Merge "Buffer VIEW_TEXT_CHANGED events to send batched together." 2018-12-22 18:39:31 +00:00
TreeHugger Robot
da398f05af Merge "New APIs for ContentCaptureService: onConnected() and onDisconnected()" 2018-12-22 10:55:19 +00:00
TreeHugger Robot
fee326de33 Merge changes I43386a3f,I097c226c
* changes:
  Refactored ContentCaptureService (and infra) to have just one RemoteService.
  Refactored ServiceNameResolver to take userId.
2018-12-22 08:53:24 +00:00
Yiwen Chen
2232e86186 Merge "Make RingtoneManager and Ringtone class support VolumeShaper" 2018-12-22 04:54:10 +00:00
Pengquan Meng
41ed670552 Merge "Add NR to preferred network type combination" 2018-12-22 04:48:40 +00:00
TreeHugger Robot
f1c06a2161 Merge "MediaPlayer2: keep EventCallbacks when reset" 2018-12-22 03:12:46 +00:00
Anil Admal
c785e6d718 Merge "Address SUPL connection requestRouteToHost deprecation" 2018-12-22 02:26:57 +00:00
TreeHugger Robot
3a26797631 Merge "Statsd: change power units from double to int64" 2018-12-22 02:20:20 +00:00
TreeHugger Robot
fd671a5aee Merge "Skip logic to re-enable plugin if there is no valid component." 2018-12-22 02:01:29 +00:00
James Lemieux
a93d9891b4 Merge "Fix test cases for impending Robolectric merge" 2018-12-22 01:50:48 +00:00
TreeHugger Robot
c322f6b8f5 Merge "Fully removes exceptions from commitPackagesLocked" 2018-12-22 01:50:38 +00:00
Nathan Harold
bc18834f9e Merge "Refactor SignalStrength" am: 0f1bf44c99 am: 77a7e552e6
am: b7d3f47536

Change-Id: Ic6f24455d20452d192302c13f766012bd4e2c70a
2018-12-21 17:17:18 -08:00
Nathan Harold
b7d3f47536 Merge "Refactor SignalStrength" am: 0f1bf44c99
am: 77a7e552e6

Change-Id: If6529167138e2d7521179a6b26389752dde6fe45
2018-12-21 17:04:24 -08:00
Brad Ebinger
d75052d4bd [automerger skipped] Improves PIN/PUK handling events in keyguard am: 4b2f6e2816
am: 9ccf27545f  -s ours

Change-Id: I9c288590093d047f04d015c77e485c52ee2ea1ce
2018-12-21 17:03:20 -08:00
Lucas Dupin
4c4a892472 [automerger skipped] Cherry-picked "Hide bouncer after unlocking SIM card" to pi-dev am: 2508afecc7
am: 8c21b496a7  -s ours

Change-Id: I60f4cff0df6520f689b5061a67805d6047013dc2
2018-12-21 16:59:30 -08:00
Lucas Dupin
b4c684737c [automerger skipped] Cherry-picked "Hide SIM PIN when SIM card is removed" to pi-dev am: 0b196c693b
am: 806e8cdc9e  -s ours

Change-Id: Ic87c006460633705259328fdb9ce07817ac80a7e
2018-12-21 16:55:19 -08:00
Nathan Harold
77a7e552e6 Merge "Refactor SignalStrength"
am: 0f1bf44c99

Change-Id: I10042fc89d17e9ef2bc1af8f4fe283c4eb8e4587
2018-12-21 16:55:10 -08:00
Brad Ebinger
9ccf27545f Improves PIN/PUK handling events in keyguard
am: 4b2f6e2816

Change-Id: I8358bc35d236e47aeb716d2764c3e1db995e25f8
2018-12-21 16:46:14 -08:00
Lucas Dupin
8c21b496a7 Cherry-picked "Hide bouncer after unlocking SIM card" to pi-dev
am: 2508afecc7

Change-Id: I7198fe06dff3ec6ed8fea8ee5dbdc91ac4746f39
2018-12-21 16:43:24 -08:00
Lucas Dupin
806e8cdc9e Cherry-picked "Hide SIM PIN when SIM card is removed" to pi-dev
am: 0b196c693b

Change-Id: If62b7f613edbef742a08eb0f25d45dfe245fda2f
2018-12-21 16:40:43 -08:00
Nathan Harold
0f1bf44c99 Merge "Refactor SignalStrength" 2018-12-22 00:38:05 +00:00
TreeHugger Robot
52ef1839f1 Merge "Revert Keyguard teamfood flags" 2018-12-22 00:25:28 +00:00
Yiwen Chen
301b5bf50c Make RingtoneManager and Ringtone class support VolumeShaper
Bug: 120789399
Test: When finish the whole change, flash into a dev phone to test first.
Change-Id: I4620fac5f1c34d37b3b33565cebbea2c091a5d08
2018-12-21 16:11:27 -08:00
Philip P. Moltmann
97d5178f87 Merge "Run DefaultPermissionGrantPolicyTest every time the DefaultPermissionGrantPolicy is changed" 2018-12-22 00:10:03 +00:00
TreeHugger Robot
cccb6d3a19 Merge "Remove unused badged wifi API/drawables." 2018-12-21 23:55:53 +00:00
Wei Jia
2472c30d81 MediaPlayer2: keep EventCallbacks when reset
Test: cts
Bug: 112549021
Change-Id: I1eb4f47bf1c289a35a45e1017a28d7bd4ab8c5e8
2018-12-21 15:34:29 -08:00
Anil Admal
c70344b202 Address SUPL connection requestRouteToHost deprecation
The method ConnectivityManager.requestRouteToHost() has long been
deprecated. The IAGnss.hal interface, implementation, and the
corresponding framework code must be changed to address this issue.
See b/25876485 for details and solution.

Bug: 25876485
Test: Tested with code instrumentation to verify that the
      @2.0::AGnss.hal dataConnOpen() method implementation
      is called with correct arguments.
Test: Verified @1.0::AGnss.hal backward compatibility on a
      Pixel 3 device.
Change-Id: Ide8030a3d792755a515c936d2fb40ad3726d8fb9
2018-12-21 15:32:26 -08:00
Brad Ebinger
9df31e558f Merge "WIP - Improves PIN/PUK handling events in keyguard" 2018-12-21 23:18:31 +00:00
Lucas Dupin
9e8626b026 Merge "Song name in KeyguardSliceProvider" 2018-12-21 23:16:26 +00:00
Felipe Leme
bb98ed6521 New APIs for ContentCaptureService: onConnected() and onDisconnected()
Bug: 117944706
Test: atest CtsContentCaptureServiceTestCases:android.contentcaptureservice.cts.BlankActivityTest#testDisconnected
Test: atest CtsContentCaptureServiceTestCases

Change-Id: Iba3c1ae774221946a550fad95539d3a9771ae3d7
2018-12-21 15:11:49 -08:00
Seigo Nonaka
4f180e81de Drop ZawDecode font
Bug: 113596573
Test: N/A
Change-Id: Ibb61cad47deabf079bb13c3333c86c1a17050c69
2018-12-21 23:00:54 +00:00
Lucas Dupin
c780404cef Revert Keyguard teamfood flags
These flags were never meant for production and already served their
purpose.

Test: manual
Bug: 111414690
Bug: 111405682
Change-Id: I27081fb8caf400781851a09fc7d45e88226abf5f
2018-12-21 14:49:17 -08:00
Todd Kennedy
e38816598f Merge "idmap2: fix clang-tidy warnings [modernize-*]" 2018-12-21 22:44:46 +00:00
Jordan Liu
bba1694d5b [automerger skipped] Merge "SubscriptionInfo contains int cardId" am: 97c9aba888 am: 212e2576e1
am: 5151b7df4e  -s ours

Change-Id: I4cc1de8dc513c4485ea97c6df2c559ad395b02f7
2018-12-21 14:28:37 -08:00
James Lemieux
b7043a96d5 Fix test cases for impending Robolectric merge
ShadowApplication.sendBroadcast(...) has been removed. Tests must call
Context.sendBroadcast(...) just like normal code.

ShadowInstrumentation now correctly models granted permissions by pid
and uid. Tests must configure them both correctly.

Bug: 121048884
Test: make -j56 RunFrameworksServicesRoboTests
Change-Id: Ib4786ddacdfbe6592d8090331eb58495aebb4b55
2018-12-21 14:20:11 -08:00
Jordan Liu
5151b7df4e Merge "SubscriptionInfo contains int cardId" am: 97c9aba888
am: 212e2576e1

Change-Id: I5bee233bf3603a11f7da8b04a51919da838cb130
2018-12-21 14:19:19 -08:00
Jordan Liu
212e2576e1 Merge "SubscriptionInfo contains int cardId"
am: 97c9aba888

Change-Id: Id6b54154e2a01be5bceb16b1884d9751b3c9cf80
2018-12-21 14:08:58 -08:00
Winson Chung
708ec75fb2 Skip logic to re-enable plugin if there is no valid component.
Bug: 121260102
Test: Just an null check
Change-Id: I623951a919904006b6035558a9535b662112608a
2018-12-21 14:08:40 -08:00
Pengquan Meng
8bcdc4cf66 Add NR to preferred network type combination
This add NR 5G to preferred network type and move preferredNetworkMode
from SystemApi to hidden api as we are not going to support
preferredNetworMode enum in the future.

Bug: 111453000
Test: build
Change-Id: I08a8f7bf44a62ef109583b82b22f65fd6f89c71d
2018-12-21 13:55:31 -08:00
Jordan Liu
97c9aba888 Merge "SubscriptionInfo contains int cardId" 2018-12-21 21:55:07 +00:00
Brad Ebinger
4b2f6e2816 Improves PIN/PUK handling events in keyguard
1) Remove old bypass code for ABSENT in KeyguardPin/Puk class
and move it into KeyguardViewMediator where it belongs.

2) Fix issue where pulling out sim and then putting it back in
doesnt trigger PIN/PUK screen until turn off->on screen by clearing
SimData state for the slot that became ABSENT.

Bug: 119560495
Test: Move across eSIM and pSIM as well as manually remove PIN/PUK'ed SIMs
Merged-In: Iebf2cb046b1a1d7e0689a2329a9f78e1cbb6aca4
Change-Id: Iebf2cb046b1a1d7e0689a2329a9f78e1cbb6aca4
2018-12-21 21:47:12 +00:00
Lucas Dupin
2508afecc7 Cherry-picked "Hide bouncer after unlocking SIM card" to pi-dev
We don't want to hide the bouncer when the SIM card is READY,
unless we were already at the bouncer because of the SIM PIN/PUK

Test: Insert locked SIM card on lock screen or launcher. Type PIN
Test: Insert unlocked SIM card after pulling up the bouncer

Bug: 114740965, 120011429
Merged-In: I4f781b47c1e2a12e5c6f064f303cd457ece01b67
Change-Id: I4f781b47c1e2a12e5c6f064f303cd457ece01b67
2018-12-21 13:43:00 -08:00
Patrick Baumann
3ced3ce733 Fully removes exceptions from commitPackagesLocked
This change moves signature verification out of commit and into
reconcile, resulting in a fully atomic commit.

Test: atest CtsAppSecurityHostTestCases
Bug: 109941548
Change-Id: I3fdb27e43bf68c152cc29d67646973da431b5302
2018-12-21 21:42:15 +00:00