Commit Graph

414859 Commits

Author SHA1 Message Date
Tyler Gunn
507d3a5b50 Merge "Add PhoneAccountHandle method to check if 2 accts are from same CS." into qt-dev
am: b1145bd87e

Change-Id: Iaf26c428482c81592d07e046aa0b26703c0937a8
2019-04-16 07:39:30 -07:00
Orion Hodson
c1596ec23a Merge "Ensure all fields of AutoBufferPointer are initialized" into qt-dev
am: 0fd71745d6

Change-Id: Ia1697f22e3b55f325f0d74ab9c501bfa9dccf7b0
2019-04-16 07:30:12 -07:00
Tyler Gunn
b1145bd87e Merge "Add PhoneAccountHandle method to check if 2 accts are from same CS." into qt-dev 2019-04-16 14:16:33 +00:00
TreeHugger Robot
0fd71745d6 Merge "Ensure all fields of AutoBufferPointer are initialized" into qt-dev 2019-04-16 14:14:29 +00:00
Charles Chen
7f7388b2b5 Merge changes from topic "viewRootImplTest failure" into qt-dev
am: c574a91e44

Change-Id: I590a96b5cbe21661de4f2617186c8ea8d033e0bf
2019-04-16 07:02:22 -07:00
TreeHugger Robot
c574a91e44 Merge changes from topic "viewRootImplTest failure" into qt-dev
* changes:
  Introduce InsetsModeSession to InsetsAnimationControlImplTest
  Move no longer flaky tests into pre-submit
2019-04-16 13:48:20 +00:00
Mark Chien
06e478ed36 Merge "Tethering: fix using wrong subId problem" am: 899f397175
am: ee1bc0f311

Change-Id: I32e238c4786657ecd4bacfa3260c28c3f083cf08
2019-04-16 05:52:25 -07:00
Mark Chien
ee1bc0f311 Merge "Tethering: fix using wrong subId problem"
am: 899f397175

Change-Id: I0a88e3ccfca1618c275dfdc4694a9eb18f47e726
2019-04-16 05:40:44 -07:00
Leon Scroggins
bd48048945 Merge "Do not cache AVDs that are off screen" into qt-dev
am: 949305fe52

Change-Id: I74702da2413aeaf05c211e56c39b739b01509a74
2019-04-16 05:33:39 -07:00
Mark Chien
899f397175 Merge "Tethering: fix using wrong subId problem" 2019-04-16 12:31:10 +00:00
Abhijeet Kaur
03a0b26b49 Merge "Notify the caller about I/O error" am: 2f206c6270
am: 22fd8708f3

Change-Id: I33045e638efcc6e0f700cf935d0f0e4de8ecc61d
2019-04-16 05:20:14 -07:00
Leon Scroggins
949305fe52 Merge "Do not cache AVDs that are off screen" into qt-dev 2019-04-16 12:15:16 +00:00
Abhijeet Kaur
22fd8708f3 Merge "Notify the caller about I/O error"
am: 2f206c6270

Change-Id: I59b43aa3c092ee577833da5dc110953d4b21154d
2019-04-16 05:10:31 -07:00
Charles Chen
2783faff58 Introduce InsetsModeSession to InsetsAnimationControlImplTest
InsetsAnimationControlImplTest sets new insets mode to full mode when setUp(), which
leads some tests in ViewRootImplTest fail. Introduce InsetsModeSession
to fix it.

Change-Id: Id159db1395d1b105d9d4d3d13cdba778015e9989
Fix: 130609028
Test: atest ViewRootImplTest InsetsAnimationControlImplTest
2019-04-16 20:04:30 +08:00
Treehugger Robot
2f206c6270 Merge "Notify the caller about I/O error" 2019-04-16 11:52:31 +00:00
Charles Chen
9b98748a43 Move no longer flaky tests into pre-submit
Bug: 123654474
Test: test metrics and wm-tests
Change-Id: I299a471be08c465823e1c18d04f3399797ba5a60
2019-04-16 19:41:05 +08:00
Adrian Roos
d32cd50e3c Merge "ActivityThread: Preserve windows when relaunching all activities" into qt-dev
am: 083190633a

Change-Id: I4f66a6cb2f2b914d17ce95cc35c64c397b6a2964
2019-04-16 04:40:32 -07:00
TreeHugger Robot
083190633a Merge "ActivityThread: Preserve windows when relaunching all activities" into qt-dev 2019-04-16 11:20:45 +00:00
markchien
3394e14fc3 Tethering: fix using wrong subId problem
There is the potential bug[1] that default data subId change
intent may lose. So tethering may cache the outdated default
data subId in TetheringConfiguration. Now EntitlementManager
would fetch configuration every time and this would re-exam
whether subId is changed.
Additional passing subId to Settings to avoid default data
subId change right away when launching entitlement check.
Thus, Settings can know whether this is outdated entitlement
check request.
[1] b/129224596

Bug: 129751453
Test: -build, flash, boot
      -atest FrameworksNetTests
      -manual test with carrier SIM

Change-Id: If334dd1cd383cced9db5cf0d0bc9dc60ed198816
2019-04-16 18:48:38 +08:00
Abhijeet Kaur
0af10e33f3 Notify the caller about I/O error
Call onError for caller of BugreportManager.start() if any io error
occurs during runtime.

Test: Tested manually by throwing IO exception in the code when
bugreport is being generated, onError of the callback successfully
called.
Change-Id: I9033d85d392b926041fc26a86806a370752d062d
2019-04-16 11:34:21 +01:00
Orion Hodson
4174b7691f Ensure all fields of AutoBufferPointer are initialized
In the process of revising libnativehelper interface, the
initialization of the fArray field was dropped. This change fixes
this and adds regression tests.

In writing the tests, it became apparent that the AutoBufferPointer
destructor would crash if the underlying buffer was heap array backed
and the buffer position was non-zero. ReleasePrimitiveArrayCritical
was called with the element corresponding to the current position
rather than the first element.

Bug: b/130390512
Test: atest FrameworksCoreTests:android.graphics.BitmapTest

(cherry picked from commit e522c99430)

Merged-In: I319512aaede7ba8af5d013c9281417695abf9099
Change-Id: I319512aaede7ba8af5d013c9281417695abf9099
2019-04-16 11:29:02 +01:00
Michal Karpinski
fb7b65317a Merge "If the calling process isn't whitelisted for background activity start, check the other processes of calling UID too" into qt-dev
am: df573a6210

Change-Id: I9984a1d47c8316e972633c3b288bcda2718691ba
2019-04-16 03:12:34 -07:00
TreeHugger Robot
df573a6210 Merge "If the calling process isn't whitelisted for background activity start, check the other processes of calling UID too" into qt-dev 2019-04-16 09:38:25 +00:00
Luke Huang
51a5dab548 Merge "Fix DnsResolver API could not bypass private DNS correctly" am: 40e7fb6a9b
am: 7015572982

Change-Id: Ib2f8ae73e2a9d76d87243d53cac1157032156082
2019-04-16 02:27:28 -07:00
Luke Huang
7015572982 Merge "Fix DnsResolver API could not bypass private DNS correctly"
am: 40e7fb6a9b

Change-Id: Iaa36a882c2bcfd3bb11153d2b37cdab887ad9004
2019-04-16 02:17:09 -07:00
Luke Huang
40e7fb6a9b Merge "Fix DnsResolver API could not bypass private DNS correctly" 2019-04-16 09:03:22 +00:00
Tarandeep Singh
32758ac767 Merge "Allow MSIME to set inactive when window loses focus." into qt-dev
am: 77d354efa1

Change-Id: Idca17e14657b6280af320529dc6ce8b23bc11c59
2019-04-16 00:58:18 -07:00
Tarandeep Singh
77d354efa1 Merge "Allow MSIME to set inactive when window loses focus." into qt-dev 2019-04-16 07:37:06 +00:00
Jin Seok Park
ef68908ed4 Merge "Rename Session2Command methods" into qt-dev
am: b225cffabe

Change-Id: Ia4c7138d57b341af7b0c315b8950a6b6729297dc
2019-04-16 00:04:47 -07:00
Riddle Hsu
8c6263c0ea Merge "Defer top process state for VM" into qt-dev
am: e6b9bdf4d0

Change-Id: I1d9d698345e1c53ea9f9c96fb49130d0b040f4b9
2019-04-15 23:55:45 -07:00
Jin Seok Park
b225cffabe Merge "Rename Session2Command methods" into qt-dev 2019-04-16 06:47:18 +00:00
TreeHugger Robot
e6b9bdf4d0 Merge "Defer top process state for VM" into qt-dev 2019-04-16 06:37:50 +00:00
Sean Stout
4e56a0e44a Merge "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API" into qt-dev
am: a0d852907d

Change-Id: Id698778342efb7e523fcfc63e41b86e5c7a397b4
2019-04-15 23:13:16 -07:00
Sean Stout
a0d852907d Merge "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API" into qt-dev 2019-04-16 05:50:30 +00:00
Chalard Jean
6eaf97ecd6 Merge "Restrict access to dangerous methods to <= P" am: ae8548df0b
am: 4115d2c4f9

Change-Id: I95107f7b628eecb54e9f4411785186b668e9f3d8
2019-04-15 22:39:08 -07:00
Chalard Jean
4115d2c4f9 Merge "Restrict access to dangerous methods to <= P"
am: ae8548df0b

Change-Id: I3c1271e00e026518e9c4ddafc931a2cac87dcee0
2019-04-15 22:29:28 -07:00
Chalard Jean
ae8548df0b Merge "Restrict access to dangerous methods to <= P" 2019-04-16 05:17:20 +00:00
Junyu Lai
77f60bd4f6 Merge "Release keepalive slot after stopped" am: a1fedb8f5c
am: 62c5c61718

Change-Id: I8bf18f5dd10412f251071cea8140793b22c7fd95
2019-04-15 22:16:02 -07:00
Kevin Chyn
3dbb8c47d6 Merge "Cache and log enrollment settings" into qt-dev
am: 12154d85a4

Change-Id: I4250e6d6511a2d1726740f93c3d351727d5b1f78
2019-04-15 22:06:14 -07:00
Junyu Lai
62c5c61718 Merge "Release keepalive slot after stopped"
am: a1fedb8f5c

Change-Id: Ic707f22fb12c98c187e89cc8ad39773f61737506
2019-04-15 22:04:18 -07:00
Junyu Lai
a1fedb8f5c Merge "Release keepalive slot after stopped" 2019-04-16 04:46:18 +00:00
Kevin Chyn
12154d85a4 Merge "Cache and log enrollment settings" into qt-dev 2019-04-16 04:43:32 +00:00
Jin Seok Park
dbee428755 Rename Session2Command methods
Bug: 130580655
Test: atest CtsMediaTestCases:android.media.cts.Session2CommandTest
Change-Id: I89509ddc1b10d47a01f7227ae60c5529718d39de
2019-04-16 04:02:26 +00:00
Luke Huang
2ade716f5c Fix DnsResolver API could not bypass private DNS correctly
Bug: 130594022
Test: atest DnsResolverTest
Change-Id: Ibf3edac3075d921d189237c485871efb869b320b
2019-04-16 11:57:45 +08:00
Jeff Sharkey
b7074791f4 Merge "Allow failures of applyBatch() operations." into qt-dev
am: 977f63a3d3

Change-Id: I5e0099c01cd5fdfacdb4b1bf1f46e3d13dbf9061
2019-04-15 20:54:03 -07:00
Sungsoo Lim
36669f72d9 Merge "Remove MediaItem2" into qt-dev
am: 4e57ccbea9

Change-Id: I73ba96b5a48dab7a6cc4a428739368034fe334c8
2019-04-15 20:38:59 -07:00
Jeff Sharkey
977f63a3d3 Merge "Allow failures of applyBatch() operations." into qt-dev 2019-04-16 03:26:18 +00:00
Jackal Guo
67880a7d60 Merge "Don't cancel injected event when mouse event arrives" into qt-dev
am: 93e21670c0

Change-Id: I396ed7132dee15b0db649a303d85322e774f7f37
2019-04-15 20:21:17 -07:00
NT Tsai
26fe74b302 Merge "Fix a deadlock WMG->WMS, WMS->WMG" into qt-dev
am: 4d39c62169

Change-Id: I91741e19a580b65ab860cf96fe6b1fd14590babb
2019-04-15 20:15:13 -07:00
TreeHugger Robot
4e57ccbea9 Merge "Remove MediaItem2" into qt-dev 2019-04-16 03:14:29 +00:00