Skip to content

Maintanece updates#44

Closed
AjeshRPai wants to merge 32 commits into
endfrom
maintanence-updates
Closed

Maintanece updates#44
AjeshRPai wants to merge 32 commits into
endfrom
maintanence-updates

Conversation

@AjeshRPai

Copy link
Copy Markdown
Contributor

This pull request introduces several updates across the codebase, focusing on dependency configuration, migration to drawable resources for images, and UI enhancements. The most significant changes include updating the Gradle configuration, replacing image URLs with drawable resources, and improving system bar handling and layout padding.

Dependency and Configuration Updates:

  • Added a .github/renovate.json file to configure Renovate with a local configuration and specified base branches (main and end).
  • Updated Gradle plugin alias for baselineprofile and set Java and Kotlin compatibility options to version 11 in baseline-profiles/app/build.gradle.kts. [1] [2] [3]
  • Updated dependencies to use androidx.profileinstaller in baseline-profiles/app/build.gradle.kts.

Migration to Drawable Resources:

  • Replaced all imageUrl fields with imageRes (drawable resource IDs) in the SearchCategory and Snack models, and updated corresponding usages in Search.kt and Snack.kt. [1] [2] [3] [4] [5]
  • Updated UI components (SnackImage, CartItem, SnackItem, and HighlightSnackItem) to use drawable resources instead of URLs. [1] [2] [3] [4]

UI Enhancements:

  • Improved system bar handling by replacing WindowCompat.setDecorFitsSystemWindows with enableEdgeToEdge in MainActivity.
  • Enhanced layout padding by adding safeDrawingPadding and consumeWindowInsets to JetsnackMain. [1] [2]

Miscellaneous:

  • Replaced custom mirroring logic for icons with Icons.AutoMirrored.Outlined in Snacks.kt.

astamato and others added 30 commits May 18, 2023 21:45
[bechmark][main] Downgrading AGP version to work with Flamingo
AGP, Gradle and library version updates
AGP, Gradle and library version updates
fix(deps): update all dependencies (main)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Replaces: unsplash image urls with static images
Updates: composable to respect edge to edge displays
Baseline Profile Codelab Sample App - Replaces unsplash urls with static images
Key changes include:
- Replacing `imageUrl` with `@DrawableRes imageRes` for local image loading, removing the dependency on network calls for images.
- Updating `MainActivity` to use `enableEdgeToEdge()` for drawing behind system bars.
- Replacing `WindowCompat.setDecorFitsSystemWindows(window, false)` with `enableEdgeToEdge()`.
- Updating `JetsnackMain` to use `safeDrawingPadding()` and `consumeWindowInsets()` for proper handling of system insets.
- Replacing deprecated Material 2 icons with Material 3 equivalents, including `Icons.AutoMirrored.Outlined.ArrowBack`.
- Adding new drawable resources for local image loading.
Replaces: Unsplash image url with static images [Macro benchmark sample]
Updates: Java versions to 11 to be compatible with java version generated by baseline profile and benchmark module
Fixes: Build issues and updates dependencies
# Conflicts:
#	baseline-profiles/app/build.gradle.kts
#	baseline-profiles/build.gradle.kts
#	baseline-profiles/gradle/libs.versions.toml
#	benchmarking/app/build.gradle.kts
#	benchmarking/build.gradle.kts
#	benchmarking/gradle/libs.versions.toml
@google-cla

google-cla Bot commented Jun 11, 2025

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@AjeshRPai AjeshRPai closed this Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants