- Mar 06, 2019
-
-
Tor Norbye authored
am: 854e54f7 Change-Id: If81c2ab311f5ee817914a23257cb21f8f94e1b66
-
Tor Norbye authored
am: bff0085a Change-Id: I1e327dfca0c8bf689ba17b8f8d19f6bfb225f62d
-
- Mar 05, 2019
-
-
Tor Norbye authored
Adds a new mode, off by default, which lets you either include typedef annotation references in the signature files (without the typedef classes themselves), or inline the typedef constants themselves into all the annotated sites. Usage: --typedefs-in-signatures <ref|inline> Whether to include typedef annotations in signature files. `--typedefs-in-signatures ref` will include just a reference to the typedef class, which is not itself part of the API and is not included as a class, and `--typedefs-in-signatures inline` will include the constants themselves into each usage site. You can also supply `--typedefs-in-signatures none` to explicitly turn it off, if the default ever changes. Bug: 127458147 Test: Unit tests included Change-Id: I9aee3043fb7d0a12bebe23e02ecce405723478f0
-
- Mar 04, 2019
-
-
Tor Norbye authored
am: 9b20842b Change-Id: Iccd96e5f317388a901891adf27e3f1cd655c7056
-
Tor Norbye authored
am: 9bd504bf Change-Id: I616cd745e7a5043d12bf99770f3c10230a29cbf5
-
Tor Norbye authored
-
Tor Norbye authored
This reverts commit 6c7fb437. Reason for revert: Master is broken; not clear if/how this CL is to blame but since it's not needed immediately backing out right now in case its involved Change-Id: I2048e28e515c42bf36d4386acc48b060ad9afb8e
-
Tor Norbye authored
am: d66f2002 Change-Id: I5e067eca03126c0226e1981385f31c723910c2c3
-
Tor Norbye authored
am: 79d3acf0 Change-Id: I79f1fcd613cd180c958c7f5a0a437ddcdb9929fa
-
Tor Norbye authored
-
- Mar 01, 2019
-
-
Tor Norbye authored
Test: Unit test included Bug: 120429729 Change-Id: I1c42787e9571fb845188d0444af39e509474721e
-
- Feb 27, 2019
-
-
Tor Norbye authored
am: 69d093f0 Change-Id: Ia805799b683839cfe20d38b93768074dbc95fc58
-
Tor Norbye authored
am: 29444df3 Change-Id: I70f0251382728e5bc4132650a53320e95d734189
-
Tor Norbye authored
-
Tor Norbye authored
This reverts commit 9da4edac. Reason for revert: b/126374865 Change-Id: I55d05da395dcba2562db61f0f0a873105eef6302
-
- Feb 25, 2019
-
-
Tor Norbye authored
am: 9deb8126 Change-Id: I620d78dba72ef13044eec72985520f4643261bf7
-
Tor Norbye authored
am: 874eeceb Change-Id: I73634485c1ff8cec729b94b8d41b98e48d8b85f9
-
- Feb 21, 2019
-
-
Tor Norbye authored
am: 0db0fbff Change-Id: Iadde17172d42510ebe12a242dcdd011292ff6c9e
-
Tor Norbye authored
-
Tor Norbye authored
am: 2545ce87 Change-Id: I4f509e3da88aec4dbb4b78b02cb60082a8bf5481
-
Tor Norbye authored
-
Tor Norbye authored
Test: make update-api and make checkapi Change-Id: I034f99483c53d86922f735143f6a16ef41d46093
-
Xin Li authored
Bug: 120848293 Change-Id: I2ef1c35ba393a68786739b73c8be62bf5071f9d6
-
- Feb 20, 2019
-
-
Tor Norbye authored
am: a1b5f311 Change-Id: Ib3a4bcd7e6fde54f5b4ef57d91eef0ecbbd0254e
-
Tor Norbye authored
am: 77adac31 Change-Id: I505c2eb0e0527da6e1eebcace7cd141d75cfae47
-
Tor Norbye authored
Allow @RequiresPermission to use the special marker string "carrier privileges" to indicate that the app having carrier services will also satisfy the requirement. Bug: 72967236 Test: Unit tests included Change-Id: I1ae8ef8d70b20b24a2f907cd80a50011fa66625c
-
Tor Norbye authored
Fixes: 124811433 Test: in androidx-master-dev, ./gradlew :media2-widget:generateApi Change-Id: I9e97d8c52b489b5b8a8f5b1ec49b9425c91125d6
-
- Feb 15, 2019
-
-
Tor Norbye authored
am: 5d5a752b Change-Id: Ib9399d80b7351068afa5d8f7bbf1d2836128e75c
-
Tor Norbye authored
am: bd606aec Change-Id: I0173bcc2f1cdf042352292104f4cbd6034f3007a
-
- Feb 13, 2019
-
-
Tor Norbye authored
This is intended for doclava and other tools to do their own rendering of the doc content to describe a deprecation level. Also renames the @since tag to @apiSince to make it less ambiguous and to not conflict with existing @since tags that are present in various docs. Also starts emitting @apiSince into package.html docs, such that there is a concept of a package API level; this is the lowest API level for any class in that package. Also makes sure we don't emit @apiSince for SystemApi docs, since we don't have accurate historical information for SystemApi and TestApi sources. Also starts writing @apiSince tags even when the since tag is 1 (e.g. for the APIs added from the beginning). This was omitted for optimization purposes earlier but is added back to make the doc generation task easier. I also added some optimizations for these two new tags since they can be merged more quickly with some special handling since they never appear in existing sources and can always be listed last in the docs. Finally, various fixes to the API lookup data base generation; this makes the generated database more closely mirror what's in android.jar, and, importantly for doc generation, properly tracks in-development APIs, such that generated docs at the moment shows up as "Q" instead of "28". Test: Unit test updated Change-Id: If25a8075dc1bb2ace184d1b4d6f19717fae2bc83
-
- Feb 09, 2019
-
-
Tor Norbye authored
am: b05456f4 Change-Id: Ic37cdf9f6100e2031781988ba26594b1e4c87e2e
-
Tor Norbye authored
am: 75985bdd Change-Id: I2147a3fca7e583678538d5c18ba721a882888412
-
Tor Norbye authored
Test: Unit test updated Change-Id: I7f0b859b5f70649c611706a065f5a6411345976d
-
Tor Norbye authored
am: 1a083dbc Change-Id: Ie6d9dee0d57ff13f1e2458198762da64e718e0dc
-
Tor Norbye authored
am: f1713cec Change-Id: Ideeae669a2732b7e913e5b78d3db342b4d60362c
-
- Feb 08, 2019
-
-
Tor Norbye authored
This CL adds the following flag: --subtract-api <api file> Subtracts the API in the given signature or jar file from the current API being emitted via --api, --stubs, --doc-stubs, etc. Note that the subtraction only applies to classes; it does not subtract members. This lets you limit the emitted API signature files, stub files, etc, to be just the delta relative to a subset of the API, or an older version of the API. Bug: 119021844: Remove duplicate classes from org.apache.http.legacy stubs library Test: Unit test included Change-Id: I28a9f0f49ac42626a62f5ca4faa6c35e38554228
-
- Feb 07, 2019
-
-
Tor Norbye authored
am: a0524a0b Change-Id: Ib9efacada67ef98a8171391c18b78c40c38bab1e
-
Tor Norbye authored
am: d3fe21fb Change-Id: Ic04f7099e59f53083f46ef78f484da9a38f29397
-
Tor Norbye authored
This CL adds a new flag to tell metalava that it's invoked while *only* checking compatibility. In that case it will ignore various other flags being passed in to it (such as --stubs, which it's currently unconditionally passed but is not useful and is costly during compatibility checks.) It also renames the --update-api flag (meant for similar purpose during make update-api, where we don't need to generate stubs) to be called --only-update-api to make its purpose clearer. Test: Unit test included Change-Id: I3f105746c5f76356b8dca0f1709ee2a4413ff938
-