Commit Graph

85479 Commits

Author SHA1 Message Date
Eric Holk
67c0091fc7 Merge "Add more tracing for obtainStyledAttributes" am: 2ef6338351 am: 106905df2e
am: 66a177f90e

Change-Id: Ic3155c4c7685e5ea7bdf55eae2d250081d8e12f3
2018-08-23 18:03:37 -07:00
Eric Holk
66a177f90e Merge "Add more tracing for obtainStyledAttributes" am: 2ef6338351
am: 106905df2e

Change-Id: I8e7a40aab8bdf2e50c741bcad62dc81bc3df88c0
2018-08-23 17:50:19 -07:00
Eric Holk
106905df2e Merge "Add more tracing for obtainStyledAttributes"
am: 2ef6338351

Change-Id: I9f65106687262f180dd62d329c7197cb720def51
2018-08-23 17:35:16 -07:00
Treehugger Robot
2ef6338351 Merge "Add more tracing for obtainStyledAttributes" 2018-08-24 00:11:50 +00:00
TreeHugger Robot
029ce60caf Merge "Fixing static instant of OnClickHandler is getting modified at runtime" 2018-08-23 21:00:03 +00:00
Lei Yu
79a29e7c09 Merge "Add feature flag for mobile network v2" 2018-08-23 19:39:29 +00:00
TreeHugger Robot
83b8a73508 Merge "[Magnifier-45] Add #show(float,float,float,float)" 2018-08-23 12:25:40 +00:00
TreeHugger Robot
d1ac6015a6 Merge "Revert the DISMISSAL_NOT_DISMISSED to previous value." 2018-08-23 00:34:21 +00:00
TreeHugger Robot
ed037dbf41 Merge "Prevent ViewRootImpl.mDisplay become null." 2018-08-23 00:29:11 +00:00
Jorim Jaggi
acfabaa32b Merge "BootAnimation: Fix boot animation with hidden cutout" into pi-dev am: e387ce18d8
am: 2c68abc9fc

Change-Id: I1a0db9f30f7270d49136fa3984dc8d9633ead690
2018-08-22 16:38:27 -07:00
Jorim Jaggi
2c68abc9fc Merge "BootAnimation: Fix boot animation with hidden cutout" into pi-dev
am: e387ce18d8

Change-Id: I55c32ef69c4bb565376946ce65101f37ef0cce8a
2018-08-22 16:20:32 -07:00
Sunny Goyal
0279453309 Fixing static instant of OnClickHandler is getting modified at runtime
Bug: 113071278
Test: atest core/tests/coretests/src/android/widget/RemoteViewsTest.java
Change-Id: Ie32e897a7a82e8dced49927312b43273e2e90db9
2018-08-22 16:09:43 -07:00
Jorim Jaggi
e387ce18d8 Merge "BootAnimation: Fix boot animation with hidden cutout" into pi-dev 2018-08-22 23:06:35 +00:00
Michael Wright
3f4d546525 Revert the DISMISSAL_NOT_DISMISSED to previous value.
This is existing API and can't be changed.

Bug: 113071843
Test: make update-api
Change-Id: Ib6b1002f29ba35d7a2ca8c26cac61344dae9f43f
2018-08-22 23:41:02 +01:00
jackqdyulei
cbfdc1d172 Add feature flag for mobile network v2
Bug: 113069948
Test: Build
Change-Id: I72d7d8db164a4c99692366f0d8a4d8421e385d0b
2018-08-22 15:26:24 -07:00
Tyler Gunn
5105ea7869 Merge "Update BlockedNumberContract to indicate why a call was blocked." am: a6d6bf816b am: 0413689b87
am: ab23ba4682

Change-Id: I12406b5fa4b970e5100703640a5244904f247796
2018-08-22 14:39:29 -07:00
Tyler Gunn
ab23ba4682 Merge "Update BlockedNumberContract to indicate why a call was blocked." am: a6d6bf816b
am: 0413689b87

Change-Id: I0c7fae67043d208003131047141bec08b74082dd
2018-08-22 14:29:56 -07:00
Tyler Gunn
0413689b87 Merge "Update BlockedNumberContract to indicate why a call was blocked."
am: a6d6bf816b

Change-Id: I03fb1c62380f8ae6de250f5cf907d75c6dc5f863
2018-08-22 14:22:22 -07:00
Adrian Roos
9ee5dff83c BootAnimation: Fix boot animation with hidden cutout
We do this by storing the masking inset in a persistent property.
The boot animation then animates itself to where it would be if that
masking inset were applied, then changes the viewport.

For this to work, we also need to make sure the DisplayManagerService
has the right overlay right at the start.

Bug: 112876936
Test: Hide cutout, then reboot. Verify boot animation is smooth.
Change-Id: I3e988b2340b2e0d2be3939bdc6878704c234ccc8
2018-08-22 21:37:39 +01:00
Tyler Gunn
a6d6bf816b Merge "Update BlockedNumberContract to indicate why a call was blocked." 2018-08-22 20:12:04 +00:00
Ashley Rose
6c5670577a Merge "Create ColorStateListDrawable" 2018-08-22 20:00:42 +00:00
Mathew Inwood
ab4c55f6d4 Merge "Add maxTargetSdk to @UnsupportedAppUsage annotation." am: 29f955559a am: 06cd1d260b
am: f66e5e16a1

Change-Id: I40be27d55f258c95f4f5373329c924e192110e0e
2018-08-22 11:37:53 -07:00
Ashley Rose
e3b135743f Create ColorStateListDrawable
Previously, you could not use references to colors in places that
expected a Drawable. This new class, ColorStateListDrawable bridges the
gap by attaching a ColorStateList to a ColorDrawable, and hooks it into
resource loading wherever you might expect a Drawable.

Fixes: 18126411
Test: Unit tests to be added to CTS
Change-Id: I0ff9a089669da96e6b22b214f04d6726bc278152
2018-08-22 14:08:30 -04:00
Mathew Inwood
f66e5e16a1 Merge "Add maxTargetSdk to @UnsupportedAppUsage annotation." am: 29f955559a
am: 06cd1d260b

Change-Id: I05d367b1d00961e262e800c552f8ee1f2ef253e9
2018-08-22 10:58:04 -07:00
TreeHugger Robot
973f55d0ee Merge "Move query methods" 2018-08-22 17:32:05 +00:00
Phil Weaver
1f089e605a Merge "Stop leaking view during a11y sorting" 2018-08-22 16:54:46 +00:00
Mathew Inwood
06cd1d260b Merge "Add maxTargetSdk to @UnsupportedAppUsage annotation."
am: 29f955559a

Change-Id: I6ec4d051b19faf7302426c2c78ec728c2be75226
2018-08-22 09:10:56 -07:00
David Brazdil
7ac9e3a1c7 Merge "Greylist requested hidden API" am: 473654c377 am: 9582cf7c1b
am: e10a083e57

Change-Id: Ie1b9085d2766bae6e4725ae50250cdb8b5efd9c6
2018-08-22 08:35:11 -07:00
Jorim Jaggi
d4a386588e DO NOT MERGE Kill most processes when display size changes
am: 2bd9a25007

Change-Id: I43d3ae1ad36e96cd271fa3bc7f951177aa542249
2018-08-22 08:02:04 -07:00
Cheney Ni
da28fa37e8 Merge "Be the current user to get A2DP proxy" am: c3824e5d57 am: 280efb289b
am: ffb6f109a3

Change-Id: Ia4ecd35123fe0964b80482e072e327748bbc2fe1
2018-08-22 08:01:31 -07:00
David Brazdil
e10a083e57 Merge "Greylist requested hidden API" am: 473654c377
am: 9582cf7c1b

Change-Id: I635076240a90acd213a4ec73460e882b6a1a2a74
2018-08-22 07:32:03 -07:00
Mathew Inwood
c4ac7e0c3f Merge "Remove @UnsupportedAppUsage annotations from generated code." am: 30ea09ab75
am: 37d1e21614

Change-Id: I4f4e917c2cf0460f0689006bc1bb5495c0fad061
2018-08-22 07:25:35 -07:00
Mathew Inwood
29f955559a Merge "Add maxTargetSdk to @UnsupportedAppUsage annotation." 2018-08-22 14:14:25 +00:00
Cheney Ni
ffb6f109a3 Merge "Be the current user to get A2DP proxy" am: c3824e5d57
am: 280efb289b

Change-Id: I5e8ce0749a8b1e787e8ee3db90399d304d090e76
2018-08-22 07:10:40 -07:00
Anton Hansson
a101ff0571 Merge "Support /product-services partition" 2018-08-22 13:58:00 +00:00
David Brazdil
9582cf7c1b Merge "Greylist requested hidden API"
am: 473654c377

Change-Id: I01c25f8570851fee7f5db6f355de071acc1f095d
2018-08-22 06:08:03 -07:00
Mathew Inwood
37d1e21614 Merge "Remove @UnsupportedAppUsage annotations from generated code."
am: 30ea09ab75

Change-Id: Iecef5e97eb464ab9b609dac79f7b0367aa497837
2018-08-22 06:04:03 -07:00
Cheney Ni
280efb289b Merge "Be the current user to get A2DP proxy"
am: c3824e5d57

Change-Id: I3e6dd95a575c0cccd7343b2b26f1eefd3e465edf
2018-08-22 05:31:21 -07:00
Jorim Jaggi
2bd9a25007 DO NOT MERGE Kill most processes when display size changes
This isn't something apps generally can handle, so we kill all of
them for now.

Test: Change cutout overlay that changes display size
Test: Rotate screen
Bug: 112876936
Change-Id: Ic3b0f1b3ae1e9bd93ac8f2c6952aa093878602b8
2018-08-22 14:22:56 +02:00
TreeHugger Robot
6eaed2f39d Merge "Clarify constructor param in SeekBarVolumizer." 2018-08-22 10:41:31 +00:00
David Brazdil
473654c377 Merge "Greylist requested hidden API" 2018-08-22 09:14:05 +00:00
Mathew Inwood
d991a40892 Add maxTargetSdk to @UnsupportedAppUsage annotation.
This will be used by the runtime to limit access to APIs based on their
targetSdkVersion in the manifest.

When adding new maxTargetSdk values to non-SDK interfaces, we use the
SDK version of the latest major (i.e. new letter) release of Android
that has been made public. e.g. while Q is in development, we add new
maxTargetSdk values of 28 (Build.VERSION_CODES.P), even if a P MR1 has
already been released.

We do this because:
- It reduces the number of distinct SDK levels that have to be
  considered and enforced in the runtime.
- Using past releases means that there is always a well established
  value to use.

See go/hidden-api-annotations for more context.

Test: m
Bug: 110868826
Change-Id: Idbe78510acf538ce941a9a61a64fcc0bdc4de38e
2018-08-22 09:54:46 +01:00
Mathew Inwood
30ea09ab75 Merge "Remove @UnsupportedAppUsage annotations from generated code." 2018-08-22 07:01:45 +00:00
Treehugger Robot
c3824e5d57 Merge "Be the current user to get A2DP proxy" 2018-08-22 05:40:11 +00:00
wilsonshih
0042e4516f Prevent ViewRootImpl.mDisplay become null.
For some timing cases client side may not get desired display with old
displayId.
For this issue, client side has just received configuration change and
handle it in ActivityThread#handleActivityConfigurationChanged. At the
same time, DisplayManagerService was about to destory display. When
ViewRootImpl want to update display with new DisplayAdjustments, it got
null because the old displayId was removed.
For this scenario, fallback to use default display. Usually there should
be other displayId change event comes from server side to ask client update.

Change-Id: Ifb843f82b753761cb6306e7482b38a0ffd89498d
Fix: 73558361
Test: atest CtsWindowManagerDeviceTestCases
Test: atest CtsActivityManagerDeviceTestCases
2018-08-22 09:43:55 +08:00
Andrew Zeng
2de4e50e94 Clarify constructor param in SeekBarVolumizer.
Bug: 78806021
Change-Id: Ice2c087976d0c34d85ef5c5c4660553a16502ba3
2018-08-22 01:24:22 +00:00
TreeHugger Robot
ec0d236e76 Merge "Resolve race condition in old API message handler" 2018-08-22 00:08:51 +00:00
Phil Weaver
6adf3a18e4 Stop leaking view during a11y sorting
I added a reference to a view in a pooled object,
but did not clear the reference to it when releasing it.
Thus the links to the View (and its Context) live as long
at the static object.

This code is only called when accessibility is on.

Bug: 112792715
Test: make
Change-Id: If716c33b91aac3a1da5fd4a857daa5b4b9b7e151
2018-08-21 16:08:42 -07:00
Todd Kennedy
cf82703f0d Move query methods
Continue trying to reduce the size of PackageManagerService by
extracting intent queries to a separate class. This is the first,
low hanging fruit, pass.

Test: Manual
Fixes: 110090130
Change-Id: I89f6968b3460ad9d64cdac75bea1eac8a9c90599
2018-08-21 15:38:07 -07:00
TreeHugger Robot
3c98e02d43 Merge changes Ied0d0a83,Id649a1ed
* changes:
  Add ability to pass user sentiment to assistant
  Add AndroidTest file for ExtServices
2018-08-21 22:00:50 +00:00