AndroidX Activity 1.10.0-alpha02

1.10.0-alpha02
Changed 1
  • The PickVisualMedia and PickMultipleVisualMedia Activity Result contracts no longer directly delegate to Google Play services when the system Photo Picker is unavailable, and instead use the public ACTION_SYSTEM_FALLBACK_PICK_IMAGES action and related extras as a fallback for OEMs and system apps behavior changed · inferred, marked in the notes below
Fixed 3
  • Removed manual outlining of access to new platform APIs, since this now happens automatically via API modeling with R8 (AGP 7.3 or later) and for all builds with AGP 8.1 or later
  • The Activity Compose PredictiveBackHandler API no longer continues to handle the system back gesture on the frame it is disabled, preventing libraries like Navigation Compose from throwing an IndexOutOfBoundsException with an empty back stack
  • Calling onBackPressed from the OnBackPressedDispatcher after a system back gesture handled by PredictiveBackHandler no longer fails

1 change to check, marked in the notes below

From AndroidX Activity

Behavior Changes The PickVisualMedia and PickMultipleVisualMedia Activity Result contracts that trigger the Photo Picker no longer directly delegates to Google Play services if the system Photo picker is not available, but uses the public ACTION_SYSTEM_FALLBACK_PICK_IMAGES action and related extras to provide a consistent Photo Picker experience to OEMs and system apps as a fallback. This should have no effect on the user experience for devices that have a recent version of Google Play services. ( I3513d) Bug Fixes Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (e.g. R8 version 3.3) and for all builds when using AGP 8.1 or later (e.g. D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. ( I9496c, b/345472586) From Activity 1.9.2: Fixed an issue where the Activity Compose PredictiveBackHandler API would continue to handle the system back gesture on the frame it was disabled, which could result in libraries like Navigation Compose to handle back even with an empty back stack, resulting in it throwing an IndexOutOfBoundsException. ( Ie3301, b/340202286) From Activity 1.9.1: Fixed an issue with PredictiveBackHandler where after doing system back, attempting to do onBackPressed from the OnBackPressedDispatcher would fail. ( I5f1f8) behavior changed · inferred

View original

Upgraded? How did it go?

Discussion