- Feb 27, 2019
-
-
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 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: 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: 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: 75985bdd Change-Id: I2147a3fca7e583678538d5c18ba721a882888412
-
Tor Norbye authored
Test: Unit test updated Change-Id: I7f0b859b5f70649c611706a065f5a6411345976d
-
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: 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
-
- Feb 06, 2019
-
-
Tor Norbye authored
am: 42a0adb7 Change-Id: If5a2802cc540b2e18734f082a23fbf41729cef02
-
Tor Norbye authored
This CL updates the handling of Kotlin-style null syntax (used in format v3). It now does a much more accurate job formatting types from Java syntax (and Java type use annotation syntax) into Kotlin-style nullness syntax. This cannot be done with simple things like replacing @Nullable with ? since the place for the annotations in the type expression is not the same as where the nullness suffix goes. This CL also adds --format=latest as an alias for --format=v3 and --format=recommended as an alias for --format=v2. (The alias values will change over time as the formats and recommendations evolve.) Bug: 123415058 Test: Many new unit tests Change-Id: I6622041f0966b99157db4fe60d534a55e658bd10
-
- Feb 01, 2019
-
-
Tor Norbye authored
am: c01068d0 Change-Id: Ib5cc43ca6fcbf65eeeea4905ee9c8b58df3b166c
-
Tor Norbye authored
More recent versions of the parsing environment requires some javadoc extension points to be registered. Test: make sdk Change-Id: Ifee7ff006b6d11bbb58ec772e722ffef9f6f6f33
-
- Jan 31, 2019
-
-
Tor Norbye authored
am: e3a5680d Change-Id: Ie6a3304d1bb86e429e48e9918b990685ba2c3023
-
Tor Norbye authored
This should fix 123538809: Broken at //contentads/gfp/video/liveads/testing/playback:appletv4_invalid_test_build_test Change-Id: I52ad8f0afd0c2c47c30a16e47dada923cbd61f25 Fixes: 123538809 Test: Unit tests updated
-
- Jan 30, 2019
-
-
Tor Norbye authored
am: 7debdebe Change-Id: I73074ad21aeaa381359dd386cf44ed28d0567063
-
Tor Norbye authored
-
Adrian Roos authored
am: 1ff8c824 Change-Id: Id9ede10438e3d6a5d11c5cd1a5ca019168847e96
-
Adrian Roos authored
-
Tor Norbye authored
The severity changed; update the unit tests. Test: This is it Change-Id: I21fcb3442ba7cce39db3dbaf384fd41a3792b76c
-
Aurimas Liutikas authored
am: fa817cb6 Change-Id: I9ac372fd73e953cd64f70ab85a4faad8709b68a5
-
- Jan 28, 2019
-
-
Aurimas Liutikas authored
Change-Id: I2d34f9c0275ff1bc70de28087d3a4b0086780b28 Test: None
-
- Jan 25, 2019
-
-
Tor Norbye authored
am: 02917ad7 Change-Id: Ib9684927c73cce7459debfd66cfcb9924f165401
-
Tor Norbye authored
-
- Jan 24, 2019
-
-
Tor Norbye authored
am: be3c5da1 Change-Id: I6ae1f8047678ad28adf054b3caf96fba4f24a42d
-
Tor Norbye authored
When reading in annotations from Java stub files, attempt to merge in type annotations as well. Bug: 123223339 Test: Unit test included Change-Id: I289b0a92d8a3741ce6aabdbb5c83b3b3cbcf32d1
-
Tor Norbye authored
-
Tor Norbye authored
am: eeec5f82 Change-Id: I59edd3f51443081d0fed557e706175ec3f591865
-
Tor Norbye authored
Bug: 122452571 Test: make sdk before aosp/I25f6203725391dc5404cb8b6049479c9c3da1699 is applied Change-Id: Ie499130c037885618bac851a665b4dee6cc0cefe
-