Commit Graph

19700 Commits

Author SHA1 Message Date
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
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
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
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
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
Tomasz Wasilczyk
32b5f83b0a Merge "Implement front-end support for HAL 2.0 metadata." into pi-dev
am: 71b71dada7

Change-Id: Ia6f5dedecdd7530c0df106cf24942eae958d832f
2018-03-08 01:33:27 +00:00
Tyler Gunn
3a09dc185b API Documentation and Constant cleanup.
1. Update handover API docs for clarity.
2. Added an unknown value per API review comments.
3. Renamed HANDOVER_FAILURE_DEST_USER_REJECTED to
HANDOVER_FAILURE_USER_REJECTED
3. Removed the HANDOVER_FAILURE_DEST_INVALID_PERM constant since it isn't
used (methods which deal with permissions throw security exceptions).

Test: Make doc and verify documentation.
Fixes: 73751004
Fixes: 73750515
Fixes: 73750817
Merged-In: I7860fcd813f25adaaccf632f2c61dd4138a0a889
Change-Id: I7860fcd813f25adaaccf632f2c61dd4138a0a889
(cherry picked from commit c7a86b14a8)
2018-03-07 23:17:54 +00:00
Tomasz Wasilczyk
fc67739432 Implement front-end support for HAL 2.0 metadata.
Bug: 73816100
Test: instrumentation
Change-Id: I1d4e9094f7a2eaf13a14f5fa560a391fcbae9804
2018-03-07 22:36:24 +00:00
Tyler Gunn
c7a86b14a8 Merge "API Documentation and Constant cleanup." am: 8882c55b21 am: 8917fc21cc
am: 168a77237f

Change-Id: I7860fcd813f25adaaccf632f2c61dd4138a0a889
2018-03-07 21:09:48 +00:00
Tyler Gunn
168a77237f Merge "API Documentation and Constant cleanup." am: 8882c55b21
am: 8917fc21cc

Change-Id: Ic4a159b838c952594b0860ded69fc07c74180961
2018-03-07 20:56:29 +00:00
yinxu
7374689302 Merge "Merge "Address the API review comments." am: 322ff16301 am: 904826d293" into pi-dev-plus-aosp
am: c71071cf89

Change-Id: I858ca48ed78a648beea729e4ddf3caacdf3b7740
2018-03-07 19:39:44 +00:00
Treehugger Robot
8882c55b21 Merge "API Documentation and Constant cleanup." 2018-03-07 19:33:52 +00:00
yinxu
cd56112962 Merge "Address the API review comments." am: 322ff16301
am: 904826d293

Change-Id: I4de5c601e23004c934684d995bb916b654a42247
2018-03-07 19:15:01 +00:00
Jason Monk
b3e0e62938 Merge "Remove BIND_SLICE" into pi-dev am: 23b73c45fb
am: e62fb572cf

Change-Id: I951e8666b455a6e2d288f6d7392c00a1964b32ac
2018-03-07 18:43:21 +00:00
Jason Monk
23b73c45fb Merge "Remove BIND_SLICE" into pi-dev 2018-03-07 18:01:26 +00:00
TreeHugger Robot
33d783fce6 Merge "TextClassifierService.onSelectionEvent" 2018-03-07 17:44:23 +00:00
Treehugger Robot
322ff16301 Merge "Address the API review comments." 2018-03-07 17:40:20 +00:00
Beverly
1cf28b4990 Merge "System sounds get its own dnd toggle" into pi-dev am: 5a169cf2f6
am: dd333ffb28

Change-Id: Idb2d6232174dffd81d26639e8041ef07b211f830
2018-03-07 17:09:36 +00:00
TreeHugger Robot
5a169cf2f6 Merge "System sounds get its own dnd toggle" into pi-dev 2018-03-07 16:39:40 +00:00
Peeyush Agarwal
90eabcc288 Tag @SystemApi to ambient brightness stats API
Bug: 72931803
Test: Manual
Change-Id: I41ac5569e97cc33c57af55a37135a3f7617a2385
(cherry picked from commit 1584fa6f08)
2018-03-07 16:13:08 +00:00