Commit Graph

69780 Commits

Author SHA1 Message Date
Aurimas Liutikas
f3523dcaab Merge "Fix/suppress error-prone warnings in framework's fragment." into oc-dev
am: d3892caf95

Change-Id: I3cdc3a4949ce9636dc3d4b5e5075ccf30f4b29d5
2017-04-21 15:26:24 +00:00
Aurimas Liutikas
d3892caf95 Merge "Fix/suppress error-prone warnings in framework's fragment." into oc-dev 2017-04-21 15:14:08 +00:00
Clara Bayarri
5d2334fb7c Merge "Update Typeface callback docs about error codes" into oc-dev
am: 337be5a12f

Change-Id: I145d3a197d6d1457b95afdbf08bb1caef6cf8446
2017-04-21 09:50:13 +00:00
TreeHugger Robot
337be5a12f Merge "Update Typeface callback docs about error codes" into oc-dev 2017-04-21 09:44:53 +00:00
Erik Kline
83e2a25461 Merge "Add local-only hotspot info into tether state change broadcast" into oc-dev 2017-04-21 06:53:39 +00:00
Philip P. Moltmann
db74a12c58 Merge "Correctly compute visible views" into oc-dev
am: 5cb3d6bea3

Change-Id: I72cb5fe9d3e7f7b5ecfbe03e19489b167f8c2465
2017-04-21 05:19:27 +00:00
TreeHugger Robot
5cb3d6bea3 Merge "Correctly compute visible views" into oc-dev 2017-04-21 05:15:40 +00:00
Erik Kline
668b722498 Add local-only hotspot info into tether state change broadcast
Test: as follows
    - build
    - flashed
    - booted
    - "runtest frameworks-net" passes
    - manually starting tethering shows Settings and icon updates
Bug: 31466854
Bug: 32163131

Change-Id: I938074587dfeec221c5cdb43a392802ad3fc3589
2017-04-21 13:26:04 +09:00
Felipe Leme
569221ee18 Merge "Implemented FillResponse.setIgnoredIds()." into oc-dev
am: bb21986b33

Change-Id: I9dcc532eb2774a523a7d53495a53323a4799dbf8
2017-04-21 03:02:59 +00:00
TreeHugger Robot
bb21986b33 Merge "Implemented FillResponse.setIgnoredIds()." into oc-dev 2017-04-21 02:54:13 +00:00
gaoshang
ea7fc08e0f Merge "fix KeyEvent can't correctly finish when inputmethod time out happend" into oc-dev
am: 56879000d9

Change-Id: I3bc0e45e4b801f8b6a2cdb555a8b2b825a259b6c
2017-04-21 02:42:02 +00:00
TreeHugger Robot
56879000d9 Merge "fix KeyEvent can't correctly finish when inputmethod time out happend" into oc-dev 2017-04-21 02:36:10 +00:00
Jeff Sharkey
045d23a6f9 Merge "Auto-generate docs based on annotations." into oc-dev
am: 9ea4b33f2a

Change-Id: Ic81a77a4fc3bb3638b8b53037c58efc9b26bbb7a
2017-04-21 02:10:23 +00:00
TreeHugger Robot
9ea4b33f2a Merge "Auto-generate docs based on annotations." into oc-dev 2017-04-21 02:03:33 +00:00
Sudheer Shanka
b4c55b62a5 Merge "Update ClipDescription.getTimeStamp to use currentTimeMillis timebase." into oc-dev
am: 2cef335b5b

Change-Id: Ife25840cfbfae896e00bb387915cf3a327da1185
2017-04-21 02:01:26 +00:00
Sudheer Shanka
2cef335b5b Merge "Update ClipDescription.getTimeStamp to use currentTimeMillis timebase." into oc-dev 2017-04-21 01:51:27 +00:00
Stanley Tng
4a6356942d Merge "Allow the Bluetooth MAC address to be updated asynchronously (2/3)" am: c5680c9b05 am: 16609dfe18
am: 559f49a4a8

Change-Id: I6fa8f334a84132e121db7c517ea50ff8d8047611
2017-04-21 01:38:54 +00:00
Stanley Tng
559f49a4a8 Merge "Allow the Bluetooth MAC address to be updated asynchronously (2/3)" am: c5680c9b05
am: 16609dfe18

Change-Id: I9c9c500bab98168da48d69cc7e4c93a33b8571bd
2017-04-21 01:30:21 +00:00
Felipe Leme
584033675e Merge "Fixed NPE on dump() and other minor fixes..." into oc-dev
am: dbc020983d

Change-Id: I659fe602b3ae98da50e7a771e74c334570979b30
2017-04-21 01:25:39 +00:00
TreeHugger Robot
dbc020983d Merge "Fixed NPE on dump() and other minor fixes..." into oc-dev 2017-04-21 01:20:23 +00:00
Phil Weaver
3f5a6d144d Merge "Fix a11y text location in clipped views" into oc-dev
am: 6a60322157

Change-Id: Ia0bc461e0d7e1c4b5a10952c3a52b314a6a22379
2017-04-21 01:17:44 +00:00
TreeHugger Robot
6a60322157 Merge "Fix a11y text location in clipped views" into oc-dev 2017-04-21 01:11:12 +00:00
Felipe Leme
01ded104a1 Implemented FillResponse.setIgnoredIds().
Fixes: 37424141

Test: existing CtsAutoFillServiceTestCases pass
Test: PartitionedActivityTest.testIgnoredFieldsDontTriggerAutofill

Change-Id: I09bd95230c45d2970080514e25cb53320de49b56
2017-04-20 17:38:27 -07:00
Sunny Goyal
e068539229 Merge "Renaming setAsyncExecutor to setExecutor" into oc-dev
am: 82629345c8

Change-Id: I11e9363b75490c5ca689f0b750cc948c98136f74
2017-04-21 00:38:07 +00:00
TreeHugger Robot
82629345c8 Merge "Renaming setAsyncExecutor to setExecutor" into oc-dev 2017-04-21 00:31:11 +00:00
Phil Weaver
3865998741 Merge "Hide API to listen to a11y service state" into oc-dev
am: 4a5ea54710

Change-Id: Iab5cd8541580b114ad2679c5127444182b87a9bf
2017-04-21 00:20:43 +00:00
Phil Weaver
4a5ea54710 Merge "Hide API to listen to a11y service state" into oc-dev 2017-04-21 00:11:08 +00:00
George Mount
d11fa9b032 Merge "Kill running animations on fragment view's when removed." into oc-dev
am: dcc7feb329

Change-Id: If86dd400ef47c543bd62d621f6a16cecf178014b
2017-04-21 00:06:58 +00:00
Philip P. Moltmann
e0e287170e Correctly compute visible views
addToSet needs the same set as parameters as it returns. Otherwise the
returned set it overrridden.

In this case only the last visible view was added as the set was
overriden with the invisible views.

Test: CtsAutoFillTestCases
Fixes: 37550229
Change-Id: I80e16cbd8a1af83373d7ea7b0f84a7c4d157119f
2017-04-20 16:57:36 -07:00
George Mount
f8b8000261 Merge "Execute pending transactions after FM state change." into oc-dev
am: d58d802c5f

Change-Id: I03dd1d557b83bd98086330fd2006ec194be62b1b
2017-04-20 23:57:22 +00:00
TreeHugger Robot
dcc7feb329 Merge "Kill running animations on fragment view's when removed." into oc-dev 2017-04-20 23:52:48 +00:00
TreeHugger Robot
d58d802c5f Merge "Execute pending transactions after FM state change." into oc-dev 2017-04-20 23:51:07 +00:00
Felipe Leme
9cc391bacf Merge "Added missing important-for-autofill mappings." into oc-dev
am: b8305e9186

Change-Id: I5f229b698cea897cc63e42991084194b272c8c30
2017-04-20 23:47:48 +00:00
TreeHugger Robot
b8305e9186 Merge "Added missing important-for-autofill mappings." into oc-dev 2017-04-20 23:43:38 +00:00
Stanley Tng
ad4d1d8e28 Allow the Bluetooth MAC address to be updated asynchronously (2/3)
There are intermittent issues where either the returned Bluetooth
MAC address to Java framework is uninitialized or this address update
arrives too late. This fix will do 2 things:
(1) Returns error when MAC address is unavailable in the native code.
(2) Updates the MAC address later by adding a new broadcast event.

Test: Check address for these cases: factory reset, system reboot, and
Bluetooth re-enable.
Bug: 36709382

Change-Id: I09720193e38fdf9139e1bb146f8e1847e2b65b1a
2017-04-20 23:34:20 +00:00
Jeff Sharkey
6503bd8e33 Auto-generate docs based on annotations.
We have a handful of annotations that we've been sprinkling across
the platform APIs, such as @Nullable, @NonNull, @IntDef, etc.  It
would be really helpful to surface these contracts to developers
through the SDK docs.

This change allows annotations like those mentioned above to declare
the following new javadoc fields:

@memberDoc: docs to append to a field or method definition.
@paramDoc: docs to append to a @param definition.
@returnDoc: docs to append to a @return definition.

This change also builds a docstring to describe the list of all
constants listed in an @IntDef annotation.  Sadly AnnotationDesc
only passes along raw constant values, so we need the help of the
new "prefix" annotation argument to help find the field names.

Test: builds
Bug: 37526420
Change-Id: I4cfc00dd904e5dfa945b406d546e36846b7c0c28
2017-04-20 17:21:41 -06:00
Felipe Leme
49e96960d4 Fixed NPE on dump() and other minor fixes...
Bug: 36871500
Test: manual verification
Change-Id: I1c3a8406344280da37b728eae56f26447c48e0b2
2017-04-20 15:53:06 -07:00
Sunny Goyal
0ddf6aa0a4 Renaming setAsyncExecutor to setExecutor
Bug: 37534990
Test: Tests updated
Change-Id: I9ea467d05b4ac4d96c23d53750727096a511686d
2017-04-20 15:27:08 -07:00
George Mount
01c9ed8b7e Merge "fix NPE when fragment container is null" into oc-dev
am: 38eae1bb15

Change-Id: I51b07b1e8f05410737205539be630a0c463ddd3a
2017-04-20 20:47:51 +00:00
George Mount
38eae1bb15 Merge "fix NPE when fragment container is null" into oc-dev 2017-04-20 20:38:10 +00:00
Makoto Onuki
be699f8a36 Merge "Enhance the shortcut manager javadoc." into oc-dev
am: aeb7505a7f

Change-Id: Iefc3efbdc1fc8ffbe1953a24686fc94e7f67da5d
2017-04-20 20:23:47 +00:00
George Mount
416b377759 fix NPE when fragment container is null
Bug 37529822

Test: ran against breaking application

Change-Id: Ib829b817eddf2e91898989a2f9e7885a6f5847e5
2017-04-20 13:17:30 -07:00
Makoto Onuki
aeb7505a7f Merge "Enhance the shortcut manager javadoc." into oc-dev 2017-04-20 20:14:27 +00:00
Chad Brubaker
46f7f1c245 Merge "Address API review comments for registerReceiver" into oc-dev
am: 1f4e053aef

Change-Id: I1ef3e3a515b6a12b96ca5cdee799a346a87b244f
2017-04-20 19:59:51 +00:00
Chad Brubaker
1f4e053aef Merge "Address API review comments for registerReceiver" into oc-dev 2017-04-20 19:52:51 +00:00
Phil Weaver
cdc74590c3 Fix a11y text location in clipped views
Bug: 37482849
Test: Run Select to Speak, open apps, scroll so top row is
partially visible, have it read the screen.

Change-Id: Ibbd51221f8e93372ccff6d5fb57cdc2a09f2c19f
2017-04-20 12:11:15 -07:00
Seigo Nonaka
785738c2fc Merge "Stop fetching font data if the context is restricted." into oc-dev
am: 4e45b1491a

Change-Id: I8eee6edde2790dd11b1221418bc222d11dc986f4
2017-04-20 19:06:51 +00:00
TreeHugger Robot
4e45b1491a Merge "Stop fetching font data if the context is restricted." into oc-dev 2017-04-20 18:56:46 +00:00
Sudheer Shanka
c820191061 Update ClipDescription.getTimeStamp to use currentTimeMillis timebase.
Bug: 37419581
Test: cts-tradefed run singleCommand cts-dev -m CtsContentTestCases -t \
      android.content.cts.ClipDescriptionTest

Change-Id: I699bfc073c471534eee0b3aa0300a6b6682ab8dd
2017-04-20 11:30:48 -07:00
Makoto Onuki
16e83d0536 Enhance the shortcut manager javadoc.
Test: make -j offline-sdk-docs
Bug 37418396

Change-Id: Ic82eb45ea232c2f032abaade12ac9ca967c35cae
2017-04-20 11:22:59 -07:00