Commit Graph

72437 Commits

Author SHA1 Message Date
Rob Carr
198aa2bcda Merge "SurfaceView: Correct inverted alpha detection condition." into oc-dev am: 3946916d56
am: 8296054d4e

Change-Id: Iaf35647355f48300199d888eb884a23750c0059b
2017-06-07 00:03:51 +00:00
Rob Carr
8296054d4e Merge "SurfaceView: Correct inverted alpha detection condition." into oc-dev
am: 3946916d56

Change-Id: Ia2d5ff30183d8588319dc4aa24f5512f3db75e55
2017-06-06 23:52:56 +00:00
Daniel Sheng
18c44c5b08 Merge "Changed camera lift trigger to default-on." 2017-06-06 23:26:10 +00:00
TreeHugger Robot
d131f19c50 Merge "Add new haptic feedback constant for virtual key release." 2017-06-06 21:35:51 +00:00
Robert Carr
851e7e4394 SurfaceView: Correct inverted alpha detection condition.
Careless mistake on my part :). Sorry about that.

Test: Try an app with two SV like Netflix verify top SurfaceView doesn't occlude bottom one.
Bug: 62375611
Bug: 62113351
Change-Id: Ia33aabf8b8e276f70365d62b82f113ecd3bee2fa
2017-06-06 14:04:50 -07:00
Christopher Tate
e5ef67692e Merge "Fix #62350081 - annotate permission requirements" into oc-dev am: 42abe82bbb
am: 169a884f81

Change-Id: I87140161d20185cd94a6b8b714ae90c5c5b9a773
2017-06-06 20:43:28 +00:00
Christopher Tate
169a884f81 Merge "Fix #62350081 - annotate permission requirements" into oc-dev
am: 42abe82bbb

Change-Id: I3b8415aac86f9dfd6457e5eca7dce904b1bfef7c
2017-06-06 20:32:55 +00:00
TreeHugger Robot
42abe82bbb Merge "Fix #62350081 - annotate permission requirements" into oc-dev 2017-06-06 20:18:21 +00:00
Jian Sun
2ca9937f79 Merge "Fix visibility issue in AccountManager.getAuthTokenByFeatures." into oc-dev am: f1946baae7
am: c3c3112806

Change-Id: I82589c5cf90d8dbb02bab757d58e8584bd05bdb8
2017-06-06 19:00:17 +00:00
Jian Sun
c3c3112806 Merge "Fix visibility issue in AccountManager.getAuthTokenByFeatures." into oc-dev
am: f1946baae7

Change-Id: Iacba4bd641367f5cf64bcd4d7098bba05fca835d
2017-06-06 18:48:33 +00:00
Robert Quattlebaum
557e0c38b9 NetworkCapabilities: Added support for TRANSPORT_LOWPAN
This change simply adds a new constant, `TRANSPORT_LOWPAN`, for
identifying low-power wireless networks like Thread.

Bug: b/33073713
Change-Id: Ie4aa77496f8ff466fa1a5fbc556e9c029457a689
2017-06-06 18:38:31 +00:00
Jian Sun
f1946baae7 Merge "Fix visibility issue in AccountManager.getAuthTokenByFeatures." into oc-dev 2017-06-06 18:30:12 +00:00
Makoto Onuki
a6e0addc26 Merge "Refer to ShortcutManagerCompat in the javadoc" into oc-dev am: a9c185f6e7
am: a178d194f9

Change-Id: Iec712211a2c83798ae160560d1cca9ce23b7e577
2017-06-06 17:00:17 +00:00
Makoto Onuki
a178d194f9 Merge "Refer to ShortcutManagerCompat in the javadoc" into oc-dev
am: a9c185f6e7

Change-Id: If571669aaa81d085774c1bb9a0daa308f237978a
2017-06-06 16:44:59 +00:00
Makoto Onuki
a9c185f6e7 Merge "Refer to ShortcutManagerCompat in the javadoc" into oc-dev 2017-06-06 16:26:10 +00:00
Jeff Sharkey
28f6dc9512 Merge "Give Doclava our manifest; more permission docs." into oc-dev am: 65d4cbba37
am: 67cb5f5210

Change-Id: Ic4c30cdb8bbfda5b3703eb3c7c36c1bf8ab3a216
2017-06-06 16:17:39 +00:00
Android Build Merger (Role)
b8d32cbd88 Merge "Merge "Coordinate configuration changes and window frame size." into oc-dev am: 749cbb1911 am: 42e95f8b54" 2017-06-06 16:11:21 +00:00
Bryce Lee
906fdb24e6 Merge "Coordinate configuration changes and window frame size." into oc-dev am: 749cbb1911
am: 42e95f8b54

Change-Id: I6ecf592612f5c9d54c37ae9df9525b2f9e14826d
2017-06-06 16:10:17 +00:00
Ahmed ElArabawy
dd3b200c19 Merge "Revert "Revert "power hal: Use power HAL API 1.1""" 2017-06-06 16:01:55 +00:00
Robert Carr
17c340bb8b Merge "Reinstate SurfaceView Background from N" into oc-dev am: 71044d6ba1
am: 6f0f995120

Change-Id: I69cf4465b8900abea6e4e803b0d2c1cd033a0635
2017-06-06 15:56:31 +00:00
Jeff Sharkey
ec68b46bc8 Merge "Annotate @SystemApi with required permissions." into oc-dev am: c1406978a4
am: 7a2e4a8486

Change-Id: Ib629e25dbf047c110feaf03e4ff744b5c6df9aeb
2017-06-06 15:48:24 +00:00
Jeff Sharkey
67cb5f5210 Merge "Give Doclava our manifest; more permission docs." into oc-dev
am: 65d4cbba37

Change-Id: I2ec50efb67debd15d354db69b84fb620eb74bc0e
2017-06-06 15:28:26 +00:00
Jeff Sharkey
65d4cbba37 Merge "Give Doclava our manifest; more permission docs." into oc-dev 2017-06-06 15:19:23 +00:00
Bryce Lee
42e95f8b54 Merge "Coordinate configuration changes and window frame size." into oc-dev
am: 749cbb1911

Change-Id: I2a27d8b34967603b0621332651a31be025542c09
2017-06-06 14:38:58 +00:00
Bryce Lee
afb45bba83 Coordinate configuration changes and window frame size.
Previously, it was possible for the view hierarchy to be measured,
laid out, and drawn around a window frame size that did not match
the current configuration. This stems from new configurations not
always propagating back from WindowSession#relayout, which is
called from ViewRootImpl.

This changelist makes WindowManagerService#relayoutWindow always
return the latest configuration. It also adds rotation to the
configuration.

Fixes: 32839232
Test: go/wm-smoke
Test: Open Camera while rotating phone to landscape. Added
      temporary logs to detect inconsistencies between measurements
      and reported rotation on draw.
Change-Id: I39daca338b4f87eff1a509eb99493f01e710ced1
2017-06-05 20:55:46 -07:00
Christopher Tate
8d3079f641 Fix #62350081 - annotate permission requirements
The Alarm Manager APIs that allow callers to ascribe wakelock time
to other apps are gated on the UPDATE_DEVICE_STATS permission.
Document this with the appropriate annotation.

Test: N/A
Change-Id: Idf5548089fb7d2235139ae8ba7bf58e7f455eb33
2017-06-05 18:30:05 -07:00
Robert Carr
6f0f995120 Merge "Reinstate SurfaceView Background from N" into oc-dev
am: 71044d6ba1

Change-Id: I5a4e8a5c8c45add308b115bc447f85393d572e00
2017-06-06 00:09:17 +00:00
TreeHugger Robot
71044d6ba1 Merge "Reinstate SurfaceView Background from N" into oc-dev 2017-06-05 23:57:06 +00:00
Jeff Sharkey
bfc4fcde9f Give Doclava our manifest; more permission docs.
We've seen some @SystemApi methods protected with non-system
permissions, so give Doclava the platform AndroidManifest.xml so it
can parse the actual permission protection levels to look for APIs
that are letting in non-system apps.

Also document more @SystemApi permissions.

This is purely a docs change; no logic changes are being made.

Test: make -j32 update-api
Bug: 62263906
Change-Id: Ie0f0a5fb0033817bcc95060f2183a52ae4ae7b06
2017-06-05 17:38:19 -06:00
Roozbeh Pournader
fd8c22d513 Move underline thickness and position computation to Paint
Also, in TextLine, fix underline color and thickness to come from the
underline info rather than the TextPaint object.

Bug: 32907446
Bug: 62353930
Test: Manual
Test: cts-tradefed run cts-dev --module CtsTextTestCases
Test: cts-tradefed run cts-dev --module CtsWidgetTestCases
Change-Id: I259e9cf635a7056ccd367baa77c03100c69e3b98
2017-06-05 15:57:14 -07:00
Jeff Sharkey
7a2e4a8486 Merge "Annotate @SystemApi with required permissions." into oc-dev
am: c1406978a4

Change-Id: I305967cad945a807c3f8234efabaad0ef8b591d1
2017-06-05 22:28:21 +00:00
Daniel Sheng
834e5728e6 Changed camera lift trigger to default-on.
Bug: 62102062
Test: RunSettingsLibRoboTests
Change-Id: I312c07881b769968ca9fd01751778eeb947bba6e
2017-06-05 15:28:05 -07:00
sunjian
f29d549c2d Fix visibility issue in AccountManager.getAuthTokenByFeatures.
Bug: 34679769
Test: manual, APCT
Change-Id: I7270a5a5dd681ad088fa28e48d849ba3541e45cd
2017-06-05 13:13:45 -07:00
Jeff Sharkey
d86b8fea43 Annotate @SystemApi with required permissions.
Most @SystemApi methods should be protected with system (or higher)
permissions, so annotate common methods with @RequiresPermission to
make automatic verification easier.

Verification is really only relevant when calling into system
services (where permissions checking can happen on the other side of
a Binder call), so annotate managers with the new @SystemService
annotation, which is now automatically documented.

This is purely a docs change; no logic changes are being made.

Test: make -j32 update-api && make -j32 offline-sdk-docs
Bug: 62263906
Change-Id: I2554227202d84465676aa4ab0dd336b5c45fc651
2017-06-05 13:27:11 -06:00
TreeHugger Robot
ca8a3f49f2 Merge "Enforce call log length limit on a per PhoneAccount basis." 2017-06-05 19:17:17 +00:00
Selim Cinek
4eee2e09cc Merge "Allow inline replying directly from the image" 2017-06-05 18:11:31 +00:00
Roozbeh Pournader
cc4f086c94 Merge "Make underlining spans independent of actual class" 2017-06-05 17:30:27 +00:00
Winson Chung
e0e3512045 Merge "Workaround to ensure that PIP activities have a visible shadow." into oc-dev am: c3504d4f33
am: d288ca8d2d

Change-Id: I80aed8fd0d0a8573bd4b6cec7bf8c14878a0935c
2017-06-05 17:19:14 +00:00
TreeHugger Robot
0ea89f0f40 Merge "Add support for vibrator 1.1 HAL and TICK effect." 2017-06-05 16:40:57 +00:00
Narayan Kamath
570227e82c Merge "ActivityManagerService: Add support for new stack dumping scheme." 2017-06-05 08:43:09 +00:00
Winson Chung
d288ca8d2d Merge "Workaround to ensure that PIP activities have a visible shadow." into oc-dev
am: c3504d4f33

Change-Id: I07ff4ce93022c681b327b1dbb8a03893471b752e
2017-06-03 20:50:49 +00:00
TreeHugger Robot
c3504d4f33 Merge "Workaround to ensure that PIP activities have a visible shadow." into oc-dev 2017-06-03 20:41:18 +00:00
Winson Chung
8783e2d136 Merge "Handling cases with a null bitmap." into oc-dev am: 1eddb0cb2e
am: d1a3b24b62

Change-Id: I1f5b291a0a0b4912df5996ff409eef8ec458d937
2017-06-03 01:52:44 +00:00
Winson Chung
d1a3b24b62 Merge "Handling cases with a null bitmap." into oc-dev
am: 1eddb0cb2e

Change-Id: Iecc01386dc5a236a85d34ff0048ec2b6fd50bc6d
2017-06-03 01:44:41 +00:00
TreeHugger Robot
1eddb0cb2e Merge "Handling cases with a null bitmap." into oc-dev 2017-06-03 01:37:54 +00:00
John Reck
92134759d5 Merge "Workaround glitches from SOFT_INPUT_ADJUST_PAN" into oc-dev am: a2f747c57c
am: 427eb020a6

Change-Id: I567e04d71350c8176a9b39f776fc3ba356c253fa
2017-06-03 01:19:57 +00:00
John Reck
427eb020a6 Merge "Workaround glitches from SOFT_INPUT_ADJUST_PAN" into oc-dev
am: a2f747c57c

Change-Id: I86355ce39a012f9db3a688198bebeadd7bde15c6
2017-06-03 01:11:08 +00:00
TreeHugger Robot
a2f747c57c Merge "Workaround glitches from SOFT_INPUT_ADJUST_PAN" into oc-dev 2017-06-03 01:01:26 +00:00
nharold
a5cf046ca9 Merge "Add UDP Encap Socket Support to IpSecManager" am: 4f6ec3d11d am: c530c01744 am: 3c1484c715
am: 7577a2ff56

Change-Id: Iafed2773a6d32542b051d944341533b2190aa284
2017-06-03 00:15:53 +00:00
Selim Cinek
5d6ef8de1e Allow inline replying directly from the image
Test: runtest systemui
Fixes: 35853345
Change-Id: Id942392b8de5b24de6f4f5cf335fd7f28e48d49a
2017-06-02 17:13:03 -07:00