Commit Graph

413770 Commits

Author SHA1 Message Date
TreeHugger Robot
83ee7d1fa7 Merge "Move music icon to secondary row" into qt-dev 2019-04-16 18:53:16 +00:00
Maggie White
509b97b973 Merge "thermal: Add pulled cooling device atom and a field to Temperature atom" into qt-dev 2019-04-16 18:17:33 +00:00
TreeHugger Robot
f4fc729acd Merge "Add custom title for settings dialogs" into qt-dev 2019-04-16 18:16:54 +00:00
TreeHugger Robot
2dd14519d4 Merge ""Charging this device via USB" notification isn't relevant for automotive." into qt-dev 2019-04-16 18:07:55 +00:00
Fan Zhang
7d64038ad6 Merge "Avoid NPE when accessing to EnforcedAdmin" into qt-dev 2019-04-16 18:07:50 +00:00
Mehdi Alizadeh
cc33160f6a Merge "Check before closing the CloseGuard if not closed yet" into qt-dev 2019-04-16 18:01:33 +00:00
Winson Chiu
facddb4508 Merge "Skip idmap1 generation if target defines overlayable" into qt-dev 2019-04-16 17:53:54 +00:00
Brad Ebinger
b47bcf0ee5 Merge "Move deprecated IMS_SERVICE_UP/DOWN intents to Phone process" into qt-dev 2019-04-16 17:36:05 +00:00
TreeHugger Robot
3405f72c77 Merge "Drop final remnants of Type clock face" into qt-dev 2019-04-16 17:14:43 +00:00
Robert Snoeberger
37fe802217 Drop final remnants of Type clock face
Bug: 130296587
Test: mp sysuig
Change-Id: I1a78beadedb2b0afba34620273f5cb80d7bd2291
2019-04-16 17:14:34 +00:00
TreeHugger Robot
5851d67727 Merge "Sharesheet - Prevent duplicate direct share targets" into qt-dev 2019-04-16 17:05:03 +00:00
TreeHugger Robot
4886935329 Merge "Don't allow PI-based starts and trampolines when sender is SYSTEM_UID and it happens to pass foregroundness check at the time of sending" into qt-dev 2019-04-16 16:58:24 +00:00
Lucas Dupin
c954824814 Move music icon to secondary row
Bug: 130223602
Test: visual
Change-Id: I5c2f5acc267f5fa87b1f997afd3c304e5a2bf184
2019-04-16 09:51:35 -07:00
Salvador Martinez
bca4564516 Add custom title for settings dialogs
This is a generic version of the custom title that will
be used in settings dialogs soon. Adding it to settings
lib since others will need to make use of it as well.

Test: robotests pass
Bug: 130251804
Change-Id: I48f8e24a2b2a117e5a8054c5bc0b240ba68fe1ad
2019-04-16 09:42:01 -07:00
TreeHugger Robot
4bf8532689 Merge "Add more documentation for ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS." into qt-dev 2019-04-16 16:41:03 +00:00
TreeHugger Robot
cee859e26e Merge "Only reset layout seq when moved to a new display." into qt-dev 2019-04-16 16:40:53 +00:00
Fabian Kozynski
48e0b6b91b Merge "Change the label color to textColorSecondary" into qt-dev 2019-04-16 16:15:26 +00:00
TreeHugger Robot
aec888d7cd Merge "Sharesheet - Add copy text in response to UXR" into qt-dev 2019-04-16 16:15:24 +00:00
TreeHugger Robot
10ae84a9c1 Merge "New activity transitions" into qt-dev 2019-04-16 16:01:13 +00:00
TreeHugger Robot
ef2e036f96 Merge "Fix VR-related system APIs" into qt-dev 2019-04-16 15:49:33 +00:00
TreeHugger Robot
1c1c65ee56 Merge "Copy rects such that we don't modify state" into qt-dev 2019-04-16 15:44:24 +00:00
TreeHugger Robot
d072df4d6e Merge "Revert "Revert "Fix issue in attached layouting""" into qt-dev 2019-04-16 15:35:22 +00:00
TreeHugger Robot
b6abb2c59c Merge "make onGetSupportedVoiceActions return @NonNull and return empty set by default" into qt-dev 2019-04-16 15:28:22 +00:00
TreeHugger Robot
37f27b53a8 Merge "Always send Adjustment for importance" into qt-dev 2019-04-16 15:13:33 +00:00
Michal Karpinski
2927b542ab Don't allow PI-based starts and trampolines when sender
is SYSTEM_UID and it happens to pass foregroundness check
at the time of sending

It could lead to abuses like directing the user to Settings app
and then giving a PI through any API, so that app could open
activity/trampoline due to Settings app (SYSTEM_UID) being fg.

PI-based starts where sender is SYSTEM_UID will no longer be
supported based on foregroundness check. Any such starts need
to now be explicitly whitelisted (see b/124858756).

Also, ignore windows of type TYPE_APPLICATION_STARTING in
isAnyNonToastWindowVisibleForUid() check.

Bug: 129563343
Test: atest WmTests:ActivityStarterTests
Test: atest BackgroundActivityLaunchTest
Test: atest CtsActivityManagerDeviceTestCases:ActivityStarterTests
Test: atest WmTests:RootWindowContainerTests
Change-Id: I563f71f0b1c7922d8c675d2e4feed909f43446be
2019-04-16 15:50:13 +01:00
TreeHugger Robot
815397ad47 Merge "Fix crash when clearing package preferred activities." into qt-dev 2019-04-16 14:45:23 +00: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
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
Jorim Jaggi
a72b4cc373 Copy rects such that we don't modify state
Test: PopupWindowTest
Bug: 130553898
Bug: 130231322
Change-Id: I8abe25d054b34f1bf1234e1328b32aefc2020cf6
2019-04-16 15:40:28 +02:00
Jorim Jaggi
d6490572e2 Revert "Revert "Fix issue in attached layouting""
This reverts commit 9acce42652.

Underlying issue fixed in follow up CL.

Test: PopupWindowTest
Bug: 130231322
Bug: 130553898
Change-Id: I5e332394868eb26ef44ce155bc41eb4405d0093a
2019-04-16 15:39:51 +02:00
Hai Zhang
c826cf4fa6 Fix crash when clearing package preferred activities.
Use put() instead of setValueAt().

Bug: 130468857
Test: presubmit
Change-Id: If155c2a4ae9d4f953703b653eef2c04b2b516953
2019-04-16 20:54:49 +08:00
Matt Pietal
9ea80f3d37 Sharesheet - Add copy text in response to UXR
Add copy text underneath image to make it clear what the button
means. Make text clickable. Align text colors with spec.

Bug: 130350131
Test: Manual inspection
Change-Id: Ia2916fd48ef8b2d1862d9baf5f9f695f54187d55
2019-04-16 08:26:53 -04:00
Leon Scroggins
949305fe52 Merge "Do not cache AVDs that are off screen" into qt-dev 2019-04-16 12:15:16 +00: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
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
TreeHugger Robot
083190633a Merge "ActivityThread: Preserve windows when relaunching all activities" into qt-dev 2019-04-16 11:20:45 +00: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
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
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
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
a0d852907d Merge "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API" into qt-dev 2019-04-16 05:50:30 +00:00
Hai Zhang
770a29bf72 Add more documentation for ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS.
Bug: 130351486
Test: build
Change-Id: If15aa04a3a3ebe717718ae99157e845acbccf6ae
2019-04-16 13:16:16 +08: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
jiayuzhou
5422f30c14 make onGetSupportedVoiceActions return @NonNull and return empty set by default
Test: make
Fix: 124302147

Change-Id: Ie91184310a1709cd62cd7d89911beda5c4e2d513
2019-04-15 20:43:48 -07:00
Jeff Sharkey
977f63a3d3 Merge "Allow failures of applyBatch() operations." into qt-dev 2019-04-16 03:26:18 +00:00
TreeHugger Robot
4e57ccbea9 Merge "Remove MediaItem2" into qt-dev 2019-04-16 03:14:29 +00:00
TreeHugger Robot
93e21670c0 Merge "Don't cancel injected event when mouse event arrives" into qt-dev 2019-04-16 02:50:09 +00:00