AndroidX Activity 1.7.0-beta01

1.7.0-beta01
Added 1
  • IntentSenderRequest.Builder.setFlags() now allows you to set multiple flags from Intent, rather than only a single flag.
Changed 3
  • ActivityResultRegistryOwner is now written in Kotlin; this is a source incompatible change for classes written in Kotlin, which must now override the activityResultRegistry property rather than implementing the previous getActivityResultRegistry() function. signature changed · inferred, marked in the notes below
  • OnBackPressedDispatcherOwner is now written in Kotlin; this is a source incompatible change for classes written in Kotlin, which must now override the onBackPressedDispatcher property rather than implementing the previous getOnBackPressedDispatcher function. signature changed · inferred, marked in the notes below
  • ContextAware, ContextAwareHelper, OnContextAvailableListener, IntentSenderRequest and OnBackPressedDispatcher are now written in Kotlin.
Fixed 1
  • The fallback for PickVisualMedia for when the framework Photo Picker is unavailable now correctly limits the handling to apps installed in the device's system image.

1 change to check, marked in the notes below

From AndroidX Activity

New Features IntentSenderRequest.Builder.setFlags() now allows you to set multiple flags from Intent, rather than only a single flag. ( Iac04c) Bug Fixes The fallback for PickVisualMedia for when the framework Photo Picker is unavailable now correctly limits the handling to apps installed in the device's system image. ( If8ae6) Kotlin Conversions ActivityResultRegistryOwner is now written in Kotlin. This is a source incompatible change for those classes written in Kotlin - you must now override the activityResultRegistry property rather than implementing the previous getActivityResultRegistry() function. ( I0b00e) OnBackPressedDispatcherOwner is now written in Kotlin. This is a source incompatible change for those classes written in Kotlin - you must now override the onBackPressedDispatcher property rather than implementing the previous getOnBackPressedDispatcher function. ( Ia277d) ContextAware, ContextAwareHelper, OnContextAvailableListener, IntentSenderRequest and OnBackPressedDispatcher are now written in Kotlin. ( I1a73e, Iada92, aosp/2410754, I18ac7, b/257291701) signature changed · inferred

View original

Upgraded? How did it go?

Discussion