Commit Graph

80569 Commits

Author SHA1 Message Date
Peiyong Lin
d86f316e6b Merge "Merge "Add lockHardwareWideColorGamutCanvas." into pi-dev am: c481d0a43c" into pi-dev-plus-aosp
am: 8ba4e785a3

Change-Id: I4b6d24acb70f2c862f51d10a312ca6a560a6a5e0
2018-03-10 01:56:21 +00:00
Bo Zhu
5f1c0a1775 Merge "Fix the null return value of getTrustedHardwareCertPath" 2018-03-10 00:37:48 +00:00
TreeHugger Robot
b8b6b1cd3a Merge "Sort A11yService#getWindows by layer descending" 2018-03-10 00:15:34 +00:00
TreeHugger Robot
134b5c7490 Merge "hide serialization methods on Picture" 2018-03-10 00:02:50 +00:00
TreeHugger Robot
75d5502ed8 Merge "Fix doc bugs" 2018-03-09 22:22:19 +00:00
Bo Zhu
b4d2cc684d Fix the null return value of getTrustedHardwareCertPath
I forgot to serialize and deserialize it in the last CL adding it.

Bug: 74359698
Change-Id: I34f9225dc63b55223c2a7db23ee3fa6abf056a0d
Test: atest RecoveryControllerHostTest
2018-03-09 14:21:14 -08:00
Mike Reed
99a83d26b1 hide serialization methods on Picture
Test: make

Bug: 14646703
Change-Id: I50bde70c16f7eaf3f31a373e5507a2c34a6eb1e7
2018-03-09 20:42:17 +00:00
Peiyong Lin
4ef113d11a Merge "Add lockHardwareWideColorGamutCanvas." into pi-dev
am: c481d0a43c

Change-Id: I31e9dab7d5b00aaf5aa7e1c3d756426402f17bc8
2018-03-09 19:51:51 +00:00
Peiyong Lin
c481d0a43c Merge "Add lockHardwareWideColorGamutCanvas." into pi-dev 2018-03-09 18:19:52 +00:00
Jeff Davidson
5861cd588b Allow carrier-privileged apps to access voicemail provider.
Bug: 70041899
Test: TreeHugger + tests in CL topic
Change-Id: I437695ca42e42c84a9a3027d9314a7f7175b978d
2018-03-09 09:53:37 -08:00
Mihai Popa
41a958ef15 Merge changes from topic "magnifier_expose_size_and_zoom-pi-dev" into pi-dev
am: 6d7cbf5e7b

Change-Id: I040e97734510b3720c2b8ef7aa6e15a55954938c
2018-03-09 17:06:01 +00:00
Android Build Merger (Role)
ca7e92c0ae Merge changes from topic "am-69f59facfaf341b3af3e902b2376f45d"
* changes:
  Merge changes from topic "am-a59407fb236f46a7aa97883e87c6bea9" into pi-dev-plus-aosp am: 583f064548
  Expand the visual effects that DND can suppress. am: ccc6ae64ff am: 02cac6c94f
2018-03-09 17:05:55 +00:00
Mihai Popa
ebbcd2da08 [Magnifier-29] Expose size and zoom in the API
am: 17ea30584a

Change-Id: I2c4fc371ba1ddc3605b6976a648f8ba802b76f96
2018-03-09 16:59:17 +00:00
Julia Reynolds
bd500ff66d Expand the visual effects that DND can suppress. am: ccc6ae64ff
am: 02cac6c94f

Change-Id: I63fc9073cba68d2a36c81fb32fcf3a981efd7871
2018-03-09 16:49:53 +00:00
TreeHugger Robot
f2b4b37d00 Merge "Allow TextClassifierServices to get a hold of a local TextClassifer." 2018-03-09 16:31:08 +00:00
Mihai Popa
6d7cbf5e7b Merge changes from topic "magnifier_expose_size_and_zoom-pi-dev" into pi-dev
* changes:
  [Magnifier-31] Do not magnify outside current line
  [Magnifier-29] Expose size and zoom in the API
2018-03-09 16:02:31 +00:00
Jorim Jaggi
841080d423 Merge changes I46e93397,Ie0a157a9 into pi-dev am: 3a78ec6ae4
am: c5f88e6872

Change-Id: I3ecfc41762d3bcc099a4575154b6db22f56288c9
2018-03-09 15:29:16 +00:00
Julia Reynolds
02cac6c94f Expand the visual effects that DND can suppress.
am: ccc6ae64ff

Change-Id: I216d9ffcbe4fe1876ba9e40063714aeae1f3add3
2018-03-09 15:10:14 +00:00
Jorim Jaggi
c5f88e6872 Merge changes I46e93397,Ie0a157a9 into pi-dev
am: 3a78ec6ae4

Change-Id: Iab137d16d15e47fa63016d3f3f4702aa727d7ccd
2018-03-09 14:38:38 +00:00
Mihai Popa
e301746a0e [Magnifier-31] Do not magnify outside current line
Currently, after the cursor is reaching the end of a line, the magnifier
keeps following the finger even if the cursor cannot move anymore.

This CL limits the movement of the magnifier, ensuring it stays between
the bounds of the text line. Also, when the finger gets too far from the
end of the line, we dismiss the magnifier. We consider it went too far
when the cursor is not visible anymore inside the magnifier.

Bug: 72314536
Test: manual testing (both English and Arabic)
Test: atest FrameworksCoreTests:android.widget.TextViewActivityTest
Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I8dafba1fc8e7b8e482526e818831ece2ee20ac27
(cherry picked from commit dfc752bc74)
Merged-In: I8dafba1fc8e7b8e482526e818831ece2ee20ac27
2018-03-09 13:57:35 +00:00
Chalard Jean
ddf57f1efa Merge "Deprecate most of NetworkInfo." am: 92a9847de9 am: c8b846e1ac
am: fdcef03493

Change-Id: I2abea53dc69ca2f49eeb17da040919d0d600917c
2018-03-09 13:38:55 +00:00
Julia Reynolds
0b4626aa23 Merge changes from topic "jr-viseffects" into pi-dev
* changes:
  Make systemui obey new visual effect flags
  Expand the visual effects that DND can suppress.
2018-03-09 13:38:06 +00:00
Mihai Popa
17ea30584a [Magnifier-29] Expose size and zoom in the API
The CL exposes the size and the zoom of the magnifier in the public API.
These are required for implementing a number of UX requests in WebView
and Chrome - see the two bugs referenced.

Also, the CL fixes a bug in the #getContent() TestApi, which was
returning the bitmap before (instead of after) scaling.

Bug: 70608551
Bug: 72314536
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Idc583b923010d7dca075b05b6f4dbafa74cfec1f
(cherry picked from commit e1b93ddcbd)
Merged-In: Idc583b923010d7dca075b05b6f4dbafa74cfec1f
2018-03-09 13:32:20 +00:00
Chalard Jean
fdcef03493 Merge "Deprecate most of NetworkInfo." am: 92a9847de9
am: c8b846e1ac

Change-Id: Ia00fbfa38a28583198278df2a94642ed8139d7d1
2018-03-09 13:12:08 +00:00
Chalard Jean
c8b846e1ac Merge "Deprecate most of NetworkInfo."
am: 92a9847de9

Change-Id: I1d12c161f7e388451059a92b68a1511fbf8006a1
2018-03-09 12:57:15 +00:00
Mihai Popa
e4b0f0cbce Merge changes from topic "magnifier_expose_size_and_zoom"
* changes:
  [Magnifier-33] Add animation on line jump
  [Magnifier-32] Do not magnify outside selection
  [Magnifier-31] Do not magnify outside current line
  [Magnifier-29] Expose size and zoom in the API
2018-03-09 12:52:15 +00:00
Jorim Jaggi
3a78ec6ae4 Merge changes I46e93397,Ie0a157a9 into pi-dev
* changes:
  Also set calling pid when registering for next activity start
  Revert "Revert "Elevate remote/recents animation priority""
2018-03-09 12:05:01 +00:00
TreeHugger Robot
63eb3e5c76 Merge "Fix StaticLayout maxLineHeight warning" 2018-03-09 10:46:27 +00:00
Makoto Onuki
6b635f0102 Merge "Add global setting for auto-battery saver threshold max" into pi-dev am: fa63f6895b
am: 03c48c3dab

Change-Id: I35ced83414a91ef6db9df2534f7e93ae200690c8
2018-03-09 09:17:47 +00:00
Tarandeep Singh
0ff18d635c Merge "Remove debug metadata isVrOnly from InputMethodInfo" into pi-dev am: 961e147b66
am: 5e3d9f5101

Change-Id: Ia6468be994deaf5072f09f3126492f594ca84d90
2018-03-09 07:38:36 +00:00
Tarandeep Singh
d483abe350 Merge "Make few of the new IMS API methods final" into pi-dev am: 8e64eee8dc
am: 7dba49739b

Change-Id: I5f788d0bb3cc57847889024cb8262c5af7eaba5d
2018-03-09 07:31:01 +00:00
Changwan Ryu
50e69ca84e Merge "Expose WebView#onCheckIsTextEditor" into pi-dev am: ebe856a90e
am: dd6ec01ece

Change-Id: Ie4f325be83b747c3cefe77b42bfdd9f05336edcf
2018-03-09 07:24:01 +00:00
Makoto Onuki
03c48c3dab Merge "Add global setting for auto-battery saver threshold max" into pi-dev
am: fa63f6895b

Change-Id: Id4e36e3c2b1eb5ab57cd491f71f7ddd5f1736fe3
2018-03-09 06:45:00 +00:00
Chalard Jean
8117f93a49 Deprecate most of NetworkInfo.
getType, getTypeName, isConnectedOrConnecting, isConnected,
isAvaisable, isFailover, isRoaming, getState, getDetailedState,
getReason, and the TYPE_* constants in ConnectivityManager
along with methods that use them are now stacked on a boat
bound for the other side of the Styx.

Test: no code changes
Bug: 62844794
Change-Id: Idd70763de5b1af5580b4734cd443ac4b570069cc
2018-03-09 15:38:25 +09:00
Tarandeep Singh
5e3d9f5101 Merge "Remove debug metadata isVrOnly from InputMethodInfo" into pi-dev
am: 961e147b66

Change-Id: I0554b89a05a528178329874a8afa1f5cdc10a58b
2018-03-09 06:15:31 +00:00
Tarandeep Singh
7dba49739b Merge "Make few of the new IMS API methods final" into pi-dev
am: 8e64eee8dc

Change-Id: Iba222fe7e0752b7161e82b77d28dbe636f1bca7a
2018-03-09 06:10:43 +00:00
Changwan Ryu
dd6ec01ece Merge "Expose WebView#onCheckIsTextEditor" into pi-dev
am: ebe856a90e

Change-Id: I1aa2c3d27c4b11248451aec3723d4eeef8bdbb90
2018-03-09 06:05:45 +00:00
TreeHugger Robot
fa63f6895b Merge "Add global setting for auto-battery saver threshold max" into pi-dev 2018-03-09 03:51:41 +00:00
TreeHugger Robot
961e147b66 Merge "Remove debug metadata isVrOnly from InputMethodInfo" into pi-dev 2018-03-09 02:53:23 +00:00
Tyler Gunn
72e05c0382 Merge "Support enhanced call blocking function" am: fdcdaee2d1 am: b70f2a1886
am: d66b8cf06c

Change-Id: Ic89223cd31a4a8f3552360565b772315ec271902
2018-03-09 02:33:22 +00:00
TreeHugger Robot
8e64eee8dc Merge "Make few of the new IMS API methods final" into pi-dev 2018-03-09 02:01:24 +00:00
TreeHugger Robot
ebe856a90e Merge "Expose WebView#onCheckIsTextEditor" into pi-dev 2018-03-09 01:57:57 +00:00
Tyler Gunn
d66b8cf06c Merge "Support enhanced call blocking function" am: fdcdaee2d1
am: b70f2a1886

Change-Id: I70820d0d46a6c54de10b03e129a4b4df97e84a1e
2018-03-09 01:27:39 +00:00
Siyamed Sinir
70ffd28d57 Fix StaticLayout maxLineHeight warning
Test: atest cts/tests/tests/widget/src/android/widget/cts/TextViewTest.java
Test: atest cts/tests/tests/text/src/android/text/cts/StaticLayoutTest.java
Test: atest frameworks/base/core/tests/coretests/src/android/text/StaticLayoutTest.java
Test: Visual inspection on apk’s provided in b/28988744#3

Bug: 67678695
Change-Id: Ia2de14bc06022fd963b6cc677404906efbe8b70a
2018-03-08 17:20:58 -08:00
Tyler Gunn
b70f2a1886 Merge "Support enhanced call blocking function"
am: fdcdaee2d1

Change-Id: I26c38a7cca8a92011395da5e7ff758d482edbcab
2018-03-09 00:41:31 +00:00
Tarandeep Singh
eda9f31218 Remove debug metadata isVrOnly from InputMethodInfo
Change-Id: I1e5ae572ab0f8d53b1b8c4ae1e787aff294c82e0
Fixes: 68948291
Test: Manually built and tested. No changes expected for non-dev apps
2018-03-09 00:15:59 +00:00
Wei Wang
85328af49e Merge "Add new 'explicit GC' policy to StrictMode." into pi-dev-plus-aosp 2018-03-09 00:03:18 +00:00
Peiyong Lin
d8b6871740 Add lockHardwareWideColorGamutCanvas.
This patch adds a hidden API to return a hardware canvas with wide color gamut
support. The hardware canvas returned from BaseSurfaceHolder.lockHardwareCanvas
doesn't support wide color gamut, this patch makes sure that a wide color gamut
canvas context is created when calling lockHardwareCanvas.

Verified this approach works by building ImageWallpaper to use this API.
Without this API an 8 bit logo P3 doesn't show the logo, with this API the logo
is shown correctly. See b/74116826 for more info.

BUG: 74116826
Test: Build ImageWallpaper using this API with an 8 bit P3 image
Change-Id: Id20343fabcd7f0873d79ce72a235ea9b7c1f3e77
2018-03-08 23:43:35 +00:00
Abodunrinwa Toki
25ce3a46f7 Allow TextClassifierServices to get a hold of a local TextClassifer.
Test: builds
Bug: 72747726
Change-Id: Idb108f2b3d95393a051f9f19b0c04fc4e3ed2b33
2018-03-08 23:40:37 +00:00
Tyler Gunn
fdcdaee2d1 Merge "Support enhanced call blocking function" 2018-03-08 23:21:16 +00:00