Commit Graph

19716 Commits

Author SHA1 Message Date
Fyodor Kupolov
0bb2a9da05 Merge "Added ACTION_BATTERY_LEVEL_CHANGED" into pi-dev am: 04782e277c
am: 8ac8356b51

Change-Id: Ie4ecb38345003c3d450361044a6a31120d600352
2018-03-10 07:09:14 +00:00
Fyodor Kupolov
8ac8356b51 Merge "Added ACTION_BATTERY_LEVEL_CHANGED" into pi-dev
am: 04782e277c

Change-Id: I1047e0c9063688c66f51974d79f4b9abd4a2a51d
2018-03-10 03:23:13 +00:00
Jason Monk
0435563b09 Merge "Merge "Add intent category for slices to help identify them" into pi-dev am: d8bc0026e0" into pi-dev-plus-aosp
am: 383b9e3aca

Change-Id: Id6a16f3a52d600ea8b6a416b59c7eb370bae053f
2018-03-10 02:07:03 +00:00
Fyodor Kupolov
04782e277c Merge "Added ACTION_BATTERY_LEVEL_CHANGED" into pi-dev 2018-03-10 00:14:11 +00:00
TreeHugger Robot
134b5c7490 Merge "hide serialization methods on Picture" 2018-03-10 00:02:50 +00:00
Mike Reed
99a83d26b1 hide serialization methods on Picture
Test: make

Bug: 14646703
Change-Id: I50bde70c16f7eaf3f31a373e5507a2c34a6eb1e7
2018-03-09 20:42:17 +00:00
Jason Monk
ad39c00c64 Merge "Add intent category for slices to help identify them" into pi-dev
am: d8bc0026e0

Change-Id: Ic4098e99ba93781be13862ae4b06b0fe320c4309
2018-03-09 20:02:40 +00:00
Jason Monk
d8bc0026e0 Merge "Add intent category for slices to help identify them" into pi-dev 2018-03-09 18:21:43 +00:00
Ying Xu
3cec8d5336 Merge changes I64009362,I8ebb617c into pi-dev
* changes:
  Do not throw RuntimeException from stopScan().
  Address the API review comments.
2018-03-09 17:44:09 +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
Jason Monk
5e676a22a0 Add intent category for slices to help identify them
Test: cts, testMapIntentToSlice
Bug: 73123733
Change-Id: I75c3e132861d04301f5c856c235eadfc4be8f9bc
2018-03-09 10:56:01 -05: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
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
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
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
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
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
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
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
d34cd5eb0a Merge "New intent for microphone mute change notification" 2018-03-08 23:26:57 +00:00
Leon Scroggins III
8e6fa3719b Merge "ImageDecoder: Add getters. Rename setAsAlphaMask" into pi-dev am: 2b6db8d278
am: 6bb1069965

Change-Id: I878ce85141b42799185d5dd628c713add939b07a
2018-03-08 23:11:01 +00:00
Rohan Shah
4b1b6afcfd Merge "[QS] Update Cellular/data usage tile" into pi-dev am: a24322afc6
am: 03a1c80d56

Change-Id: I9427b468d6fa221d7e57d7b4753e66958309c242
2018-03-08 23:01:23 +00:00
Leon Scroggins III
6bb1069965 Merge "ImageDecoder: Add getters. Rename setAsAlphaMask" into pi-dev
am: 2b6db8d278

Change-Id: Id750dc84a3fe3bd007afec4079aece9737f86be6
2018-03-08 22:28:20 +00:00
Rohan Shah
03a1c80d56 Merge "[QS] Update Cellular/data usage tile" into pi-dev
am: a24322afc6

Change-Id: I659a19a12780249b9d8fe3e7bf1355f070b7931b
2018-03-08 22:10:37 +00:00
Jean-Michel Trivi
ab2e956360 New intent for microphone mute change notification
AudioManager: define ACTION_MICROPHONE_MUTE_CHANGED.
AudioService:
 - broadcast intent when setMicrophoneMute() is called
   with FLAG_RECEIVER_REGISTERED_ONLY.
 - remove outdated (invalid) comments.

Bug: 70857126
Test: m -j ; make -j offline-sdk-docs ; make -j cts ; \
      cts-tradefed run cts-dev -m CtsMediaTestCases -t android.media.cts.AudioManagerTest#testMicrophoneMuteIntent

Change-Id: I7391522f0195d06592e4f853e9b672fdec66d37a
Merged-In: I7391522f0195d06592e4f853e9b672fdec66d37a
2018-03-08 22:04:21 +00:00
TreeHugger Robot
2b6db8d278 Merge "ImageDecoder: Add getters. Rename setAsAlphaMask" into pi-dev 2018-03-08 21:40:22 +00:00
TreeHugger Robot
a24322afc6 Merge "[QS] Update Cellular/data usage tile" into pi-dev 2018-03-08 21:36:59 +00:00
Tarandeep Singh
4513699583 Make few of the new IMS API methods final
d8d03a8e1b added new methods to
InputMethodService.
Allowing IME developers to override some of these methods would introduce
unnecessary complexity. Making these methods final makes sure developers
cannot inject some unexpected behavior when called by system.

Bug: 73701052
Test: atest InputMethodServiceTest
Test: atest CtsInputMethodServiceHostTestCases
Change-Id: I1af4ed05a0b7306d840a21129e921a57b4a5fc33
2018-03-08 19:25:38 +00:00
Leon Scroggins III
746a9fee93 ImageDecoder: Add getters. Rename setAsAlphaMask
Bug: 73788928
Test: I1606cbb4e71579160ffaef12c1ed738fad882cd1

This will allow Kotlin developers to treat the setters as properties.

Part of the motivation for the rename is that "getAsAlphaMask" sounds
like it returns an alpha mask itself. Rename both to
_etDecodeAsAlphaMask.

Change-Id: I8f9b04f8381840490b662c3bcd37a95442af8110
2018-03-08 14:22:56 -05:00
Changwan Ryu
15e9afcb3b Expose WebView#onCheckIsTextEditor
WebView was never returning correct return value in
onCheckIsTextEditor(). However, startinput optimization work at
ag/3455281, requires a correct return value when switching between
windows. Chrome-side change (crrev.com/c/952217) has dropped into
66.0.3359.14.

BUG: 74199870
Test: manually verified
Change-Id: I954365a70f1ff2680ed9a6d76e695c1193a4cfa3
2018-03-08 11:13:28 -08:00
Tyler Gunn
b6956c92bc Merge "API Documentation and Constant cleanup." into pi-dev 2018-03-08 18:59:53 +00:00
Rohan Shah
53f3f15654 [QS] Update Cellular/data usage tile
Updated intent and API. We were using an explicit intent and there's
changes going on in the Settings team that change the activity name and
enabled states. Updating to an implicit event as with other parts of the
Settings app (e.g. Bluetooth).

Test: Visually
Bug: 73586207
Change-Id: Ifa5125b4770927521d9267569d487319efdb9f9f
2018-03-08 18:12:33 +00:00
Fyodor Kupolov
70e7543066 Added ACTION_BATTERY_LEVEL_CHANGED
Sent when the current battery level changes.

It has EXTRA_EVENTS that carries a list of Bundle instances representing
individual battery level changes with associated extras from
ACTION_BATTERY_CHANGED

Each event has EXTRA_EVENT_TIMESTAMP representing time when it occured.

Test: manual
Bug: 74020080
Change-Id: I993005950299c5298c9111ca51cc7717e1f029de
2018-03-08 10:09:01 -08:00
Peeyush Agarwal
16f0af89b4 Merge "Tag @SystemApi to ambient brightness stats API" into pi-dev
am: 9a2857d927

Change-Id: Id5d1003e81427ccf6a4d93928a250ce67dc454ac
2018-03-08 16:10:51 +00:00
TreeHugger Robot
9a2857d927 Merge "Tag @SystemApi to ambient brightness stats API" into pi-dev 2018-03-08 15:59:50 +00:00
Jason Monk
b1fbf9d52a Merge "Remove registerSliceCallback and formalize setCallerNeeded" into pi-dev am: 8d15ff047d
am: 1e4188caba

Change-Id: Ib9b2b51350495b7697132dfe328508524bb61813
2018-03-08 15:37:54 +00:00
Jason Monk
1e4188caba Merge "Remove registerSliceCallback and formalize setCallerNeeded" into pi-dev
am: 8d15ff047d

Change-Id: If8eb4ea7aafcbf926fbcd62465c2606c36d08840
2018-03-08 15:20:29 +00:00
Jason Monk
8d15ff047d Merge "Remove registerSliceCallback and formalize setCallerNeeded" into pi-dev 2018-03-08 15:02:26 +00:00
Julia Reynolds
ccc6ae64ff Expand the visual effects that DND can suppress.
Additionally default to disabling all visual effects when DND is on,
to gather dogfood feedback.

The 'dnd has changed' notification will be reposted after this
CL and has updated text.

Test: runtest systemui-notification
Bug: 74075050
Change-Id: I5bec8ccc6456d98112907b0264ecd52734983984
2018-03-08 09:48:16 -05:00
Tomasz Wasilczyk
ca507e9f90 Merge "Implement front-end support for HAL 2.0 metadata." into pi-dev am: 71b71dada7
am: 32b5f83b0a

Change-Id: Ibb4d123f0d59284a138f7d9630f4e8816225fefd
2018-03-08 02:00:13 +00:00