Jeff Sharkey
e01a56bb66
Merge "More auto-doc work." into oc-dev am: 6bc03748a7
...
am: f25b285706
Change-Id: Ic6b7c359259b6fd809b1a01ba249a7b44e15a29f
2017-04-24 18:37:08 +00:00
TreeHugger Robot
f7a8befbec
Merge "Add PC feature flag"
2017-04-24 17:54:13 +00:00
Nicolas Geoffray
04fbbec585
Merge "Drop REASON_FORCED_DEXOPT."
2017-04-24 10:42:46 +00:00
Jeff Sharkey
6bc03748a7
Merge "More auto-doc work." into oc-dev
2017-04-22 19:11:34 +00:00
Sudheer Shanka
a9a28a17b9
Merge "Fix a spelling." into oc-dev am: 1939550fba
...
am: ba16a5b5e9
Change-Id: Ibde673514841f823df5bc2c7e6a1220955537d26
2017-04-22 02:45:24 +00:00
TreeHugger Robot
1939550fba
Merge "Fix a spelling." into oc-dev
2017-04-22 02:32:39 +00:00
Adam Lesinski
ea957eb6d2
Merge "Propagate density through AdaptiveIconDrawable and BitmapDrawable" into oc-dev am: 5be3647a9e
...
am: 091fe96343
Change-Id: Ib313379b085c4d3ee435b22bb844aeeef6ff74cf
2017-04-21 23:40:31 +00:00
Stefan Ramsauer
a3ced1c0af
Merge "Fix parameter name mismatch in getResourceIdentifier."
2017-04-21 22:37:35 +00:00
Dennis Kempin
7345ed5065
Add PC feature flag
...
This CL adds a feature flags for traditional clamshell and desktop
computing devices. It can be used by apps to specifically target
those device types (such as Chromebooks) and by the framework to
recognize apps that have been designed for that form-factor.
Bug: 37359238
Test: None
Change-Id: Ie10443583997bcf1bff0b44da31af3f144f7aa0b
2017-04-21 15:37:02 -07:00
TreeHugger Robot
5be3647a9e
Merge "Propagate density through AdaptiveIconDrawable and BitmapDrawable" into oc-dev
2017-04-21 22:35:57 +00:00
Jeff Sharkey
910e081216
More auto-doc work.
...
Add support for AnyThread, CallSuper, and UiThread.
Another related CL started documenting @RequiresPermission, so remove
duplicated information in existing APIs.
Suppress auto-doc on a handful of classes that are already
well-documented.
Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I791437dccec0f11d5349a23b982ba098cb551af8
2017-04-21 16:35:08 -06:00
Jeff Sharkey
2d3bdf9201
Merge "Move PackageManager to new auto-doc feature!" into oc-dev am: 0a02259bba
...
am: 8203c3694a
Change-Id: I4bb0d19647db20e91d06602322fab6914a891d8e
2017-04-21 20:35:24 +00:00
Adam Lesinski
50954d2b4e
Propagate density through AdaptiveIconDrawable and BitmapDrawable
...
Resources#getDrawableForDensity now propagates the overridden
density through to AdaptiveIconDrawable so that the density can be
propagated to leaf BitmapDrawables correctly.
This enables AdaptiveIconDrawable to support higher resolution
foreground/background bitmaps for use in Launcher.
Bug: 36039665
Test: bit CtsContentTestCases:android.content.res.cts.ResourcesTest
Change-Id: Iaa9a5592626e38e1ff839a76f7c6cfb9e16e5dc1
2017-04-21 13:25:44 -07:00
TreeHugger Robot
0a02259bba
Merge "Move PackageManager to new auto-doc feature!" into oc-dev
2017-04-21 20:20:08 +00:00
Stefan Ramsauer
dd48cc8ad4
Fix parameter name mismatch in getResourceIdentifier.
...
Test: No test since change is NOP.
Change-Id: Id069f18e7e75f3b34448cfbabb8ba84d7bb18d87
2017-04-21 12:25:11 -07:00
Kang Li
4d87d4101b
Merge "Removes colon characters from the doc of EXTRA_CONTENT_ANNOTATIONS." into oc-dev am: 8b4f17be85
...
am: 9d6cb20646
Change-Id: I40b3e211111afb40789c13bed940310a96f45fcf
2017-04-21 18:20:11 +00:00
Jeff Sharkey
4347f8147b
Move PackageManager to new auto-doc feature!
...
Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: Ib368042e91be3ed702ede0facaf5c8d8d28853d4
2017-04-21 12:14:49 -06:00
Sudheer Shanka
e9ee7f2cb5
Fix a spelling.
...
Bug: 37419581
Test: N/A
Change-Id: Ia647911524f0a2ebc304e46753a2299bbdd61617
2017-04-21 10:35:47 -07:00
Kang Li
fadc0166d5
Removes colon characters from the doc of EXTRA_CONTENT_ANNOTATIONS.
...
bug: 37496130
Test: skipped test, because the change is only in javadoc.
Change-Id: I899d55da59260eabfcea0549a1c6a338bcda2c81
2017-04-21 15:19:58 +00:00
Nicolas Geoffray
e103256c1f
Drop REASON_FORCED_DEXOPT.
...
This can already be configured with the default compiler filter.
Also remove unused performDexOptIfNeeded.
bug:35794392
Test: device boots, forced dexopt works.
Change-Id: I14fc86c4783b2d7ac9cf8972b6619ba303e79659
2017-04-21 15:43:19 +01:00
Jeff Sharkey
1e91509009
Merge "Auto-generate docs based on annotations." into oc-dev am: 9ea4b33f2a
...
am: 045d23a6f9
Change-Id: Ib587ffea3014503833ff50096ba8cc0c84080ea3
2017-04-21 02:18:20 +00:00
Sudheer Shanka
810fd52523
Merge "Update ClipDescription.getTimeStamp to use currentTimeMillis timebase." into oc-dev am: 2cef335b5b
...
am: b4c55b62a5
Change-Id: Ie247afa90811c4ffb24179fba63fd71cb8fc6426
2017-04-21 02:09:07 +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
2cef335b5b
Merge "Update ClipDescription.getTimeStamp to use currentTimeMillis timebase." into oc-dev
2017-04-21 01:51:27 +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
Makoto Onuki
b7f2e77fe5
Merge "Enhance the shortcut manager javadoc." into oc-dev am: aeb7505a7f
...
am: be699f8a36
Change-Id: I19b1df9a997a26d7f0ba9dbc179ae3cc31c23278
2017-04-20 20:29:50 +00:00
Makoto Onuki
aeb7505a7f
Merge "Enhance the shortcut manager javadoc." into oc-dev
2017-04-20 20:14:27 +00:00
Chad Brubaker
a59e95a047
Merge "Address API review comments for registerReceiver" into oc-dev am: 1f4e053aef
...
am: 46f7f1c245
Change-Id: If4167d8458b144a73deeaceeaa51b1f8d482d6d7
2017-04-20 20:13:48 +00:00
Chad Brubaker
1f4e053aef
Merge "Address API review comments for registerReceiver" into oc-dev
2017-04-20 19:52:51 +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
Jesse Hall
81cacd871d
Merge "Merge "Vulkan compute 0 only requires variable pointers" into oc-dev am: 45ff1d1ad3" into oc-dev-plus-aosp
...
am: 61244e64a6
Change-Id: I6ad5d14f3428a15f122aa6e66e9ede930bda3d93
2017-04-20 16:56:38 +00:00
Svetoslav Ganov
993f63270f
Merge "Address API council comments" into oc-dev am: fb4fb03cc3
...
am: 375d615b30
Change-Id: Ibba72870f4d4da53ab411b5e279a967a86584e19
2017-04-20 15:28:57 +00:00
Christopher Tate
a3f70c18af
Merge "Revert "Introduce PACKAGE_FIRST_ADDED broadcast"" into oc-dev am: aa6b649a35
...
am: e56d699a89
Change-Id: I5d684f3dc14130655868394b001d2960a84d1579
2017-04-20 15:09:39 +00:00
Jesse Hall
45ff1d1ad3
Merge "Vulkan compute 0 only requires variable pointers" into oc-dev
2017-04-20 14:51:36 +00:00
Dianne Hackborn
9ab0f438e1
Merge "Fix issue #37470038 : API Review: ServiceConnection.onBindingDead()" into oc-dev am: 232ff0bdc8
...
am: 54246d5374
Change-Id: Id414ddd56d711cf4f0e383d8e0964add4129eec0
2017-04-20 14:44:48 +00:00
Suprabh Shukla
2fa6412a86
Merge "Package installer related changes to javadoc" into oc-dev am: 52312298b6
...
am: a2450bacdc
Change-Id: I7bf7b87bfc5f4eb71b8cc1177375c257e5c79499
2017-04-20 14:37:05 +00:00
Chad Brubaker
696ab6b7ff
Merge "Change ANDROID_ID for Instant Apps" into oc-dev am: 904e6cad28
...
am: 97eecf8d09
Change-Id: Ibbea27ef27bfaa43649d0ff86e23f0ffd559d7f6
2017-04-20 13:34:06 +00:00
Jeff Sharkey
3ea7c8b6d5
Merge "Flesh out more API docs." into oc-dev am: 3a427c3bd9
...
am: 750d6d12f6
Change-Id: I3778fa0ead9c23909875f88f7debba1f56c867a0
2017-04-20 13:15:28 +00:00
Eugene Susla
cbe10269b5
Merge "Make javadoc of companion service name more like others" into oc-dev am: 4d95e40bb3
...
am: aaa64afd83
Change-Id: Idbae279855b0851cf53fc1a7e17594a0590acbf3
2017-04-20 12:50:25 +00:00
Jeff Sharkey
fb303617f8
Merge "Some folks like sending null fields." into oc-dev am: 9a1967e157
...
am: 218c2135b6
Change-Id: I56fe999c3edb167aac57284700d3ccbbc5d4f9ea
2017-04-20 12:46:37 +00:00
TreeHugger Robot
e54a1877e9
Merge "Add more explicit documentation for install reason"
2017-04-20 12:05:49 +00:00
TreeHugger Robot
7a7fe4c9d8
Merge "Handle runtime exception in clip data"
2017-04-20 07:48:46 +00:00
Daichi Hirono
3d9f3fccf2
Handle runtime exception in clip data
...
When invoking ContentProvider through binder, ContentProvider may return
any type of RuntimeException. To let ClipData fall back to URI when it
failes to obtain text explanation, the CL add a catch closure for
RuntimeException.
Bug: 37260995
Test: Manually
Change-Id: I54ffbbcb05be3f3ff1ebc1c3dc68c074e6eb9825
2017-04-20 15:05:16 +09:00
TreeHugger Robot
fb4fb03cc3
Merge "Address API council comments" into oc-dev
2017-04-20 03:53:37 +00:00
TreeHugger Robot
aa6b649a35
Merge "Revert "Introduce PACKAGE_FIRST_ADDED broadcast"" into oc-dev
2017-04-20 02:15:14 +00:00
TreeHugger Robot
232ff0bdc8
Merge "Fix issue #37470038 : API Review: ServiceConnection.onBindingDead()" into oc-dev
2017-04-19 23:55:40 +00:00
Adam Lesinski
6db2ee975e
Merge "Merge "Fix issue with fontScale changes not taking effect" into oc-dev am: 83c9413b75" into oc-dev-plus-aosp
...
am: a79d516e63
Change-Id: Ib158c3a45ec89b7374418c064d7b46cc4ab8f551
2017-04-19 23:34:56 +00:00
TreeHugger Robot
52312298b6
Merge "Package installer related changes to javadoc" into oc-dev
2017-04-19 23:34:27 +00:00
Christopher Tate
94b91dbbb8
Revert "Introduce PACKAGE_FIRST_ADDED broadcast"
...
This reverts commit ee3b42af3f .
Bug 37219124
Test: manual
2017-04-19 15:49:17 -07:00