commit | ff898e1b01a9d3df1a205d8a374537a801e76289 | [log] [tgz] |
---|---|---|
author | Marcello Galhardo <mgalhardo@google.com> | Tue Aug 13 15:08:42 2024 +0100 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Aug 21 19:00:28 2024 +0000 |
tree | abc56fee97e1af18332c3a41cc0660f4f3347cf6 | |
parent | 1ec4ffc46dd92e01acea930fcfa93c8cd5f5232a [diff] |
Allow obfuscation of `androidx.lifecycle.ReportFragment` * `androidx.lifecycle` still intentionally depends on the deprecated `android.app.Fragment` to avoid creating a dependency with `androidx.fragment`. * `androidx.lifecycle.ReportFragment` remains necessary for the Lifecycle Runtime, which causes problems when minification is enabled. * This new rule mirrors the rules applied to `androidx.fragment.Fragment`, enabling obfuscation of the deprecated `android.app.Fragment` EXCLUSIVELY for `ReportFragment`. This guarantees that `ReportFragment` won't cause issues, and the Proguard rule will function exactly as the new `Fragment` library does. * Alternatively, we could mirror the `androidx.fragment` rule in the future to ensure consistent minification of any `Fragment` extending `android.app.Fragment`. However, this change would likely belong in a different artifact, rather than within `lifecycle-runtime`. Fixes: b/338958225 Fixes: b/341537875 Test: manual (cherry picked from https://android-review.googlesource.com/q/commit:ab7690c74e67844b84714a9e062d603ec5038094) Merged-In: I6e08bb7cdaf41b73100929169780da074ea48832 Change-Id: I6e08bb7cdaf41b73100929169780da074ea48832
Jetpack is a suite of libraries, tools, and guidance to help developers write high-quality apps easier. These components help you follow best practices, free you from writing boilerplate code, and simplify complex tasks, so you can focus on the code you care about.
Jetpack comprises the androidx.*
package libraries, unbundled from the platform APIs. This means that it offers backward compatibility and is updated more frequently than the Android platform, making sure you always have access to the latest and greatest versions of the Jetpack components.
Our official AARs and JARs binaries are distributed through Google Maven.
You can learn more about using it from Android Jetpack landing page.
For contributions via GitHub, see the GitHub Contribution Guide.
Note: The contributions workflow via GitHub is currently experimental - only contributions to the following projects are being accepted at this time:
When contributing to Jetpack, follow the code review etiquette.
We are not currently accepting new modules.
Head over to the onboarding docs to learn more about getting set up and the development workflow!
Our continuous integration system builds all in progress (and potentially unstable) libraries as new changes are merged. You can manually download these AARs and JARs for your experimentation.
Before uploading your first contribution, you will need setup a password and agree to the contribution agreement:
Generate a HTTPS password: https://android-review.googlesource.com/new-password
Agree to the Google Contributor Licenses Agreement: https://android-review.googlesource.com/settings/new-agreement
AndroidX uses git to store all the binary Gradle dependencies. They are stored in prebuilts/androidx/internal
and prebuilts/androidx/external
directories in your checkout. All the dependencies in these directories are also available from google()
, or mavenCentral()
. We store copies of these dependencies to have hermetic builds. You can pull in a new dependency using our importMaven tool.