AndroidX release notes

Architecture Components

For information about architecture components, see the Architecture components release notes.

December 17, 2018

Monthly AndroidX update, released early to account for holiday break.

The following libraries have been updated:

Activity

androidx.activity 1.1.0-alpha03 is released.

New features

  • ComponentActivity now implements BundleSavedStateRegistryOwner and depends on the newly released SavedState library [aosp/815133]
  • ComponentActivity now works around an Android framework bug that would cause InputMethodManager to leak the last focused view [b/37122102]

Biometric

androidx.biometric 1.0.0-alpha03 is released.

Bug fixes

  • Fixed fragment-related issues
  • On devices O and older, lockout errors are returned immediately to be consistent with P and above

Concurrent Futures

androidx.concurrent:concurrent-futures 1.0.0-alpha03 is released.

New features

  • CallbackToFutureAdapter was introduced. It’s a new, safer API to wrap a callback driven API into ListenableFuture. Prefer it over using ResolvableFuture.

Core

androidx.core 1.1.0-alpha03 and androidx.core-ktx 1.1.0-alpha03 are released with the following changes. androidx.core-ktx 1.1.0-alpha02 is released to provide a ktx match for androidx.core 1.1.0-alpha02.

New features

  • Added Notification channels methods to NotificationManagerCompat so developers can use only NotificationManagerCompat when working with notifications. Special thanks to Zdeněk Kořán for this new feature!

API changes

  • Added new APIs to ShortcutManagerCompat to publish and update dynamic shortcuts.

Fragment

androidx.fragment 1.1.0-alpha03 is released.

New features

  • Fragment now implements BundleSavedStateRegistryOwner and depends on the newly released SavedState library [aosp/824380]
  • A by activityViewModels Kotlin property delegate has been added to retrieve ViewModels associated with the containing Activity [b/119050253]
  • The by viewModels Kotlin property delegate has been expanded to take an optional lambda method for getting the ViewModelStoreOwner, allowing you to pass in the parent Fragment or other custom ViewModelStoreOwner with code such as val viewModel: MyViewModel by viewModels(::requireParentFragment) [b/119050253]

API changes

  • FragmentScenario now allows you to specify a theme such as Theme.AppCompat [b/119054431]. This is a breaking change.
  • Added a requireView() method which returns a @NonNull View or throws an IllegalStateException [b/120241368]
  • Added a requireParentFragment() method which returns a @NonNull Fragment or throws an IllegalStateException [b/112103783]

Bug fixes

  • Fixed IllegalStateException: Failure saving state b/120814739
  • Fragments being restored from saved instance state will now always receive a non-null Bundle [b/119794496]
  • Removed Fragments no longer reuse their Lifecycle object if re-added [b/118880674]

Lifecycle

androidx.lifecycle 2.1.0-alpha01 is released.

New features

  • Added LifecycleEventObserver for the cases when a stream of lifecycle events is needed. It is a public api instead of a hidden GenericLifecycleObserver class.
  • Added ktx extensions for LiveData.observe methods and Transformations.* methods.
  • Method Transformations.distinctUntilChanged was added. It creates a new LiveData object that does not emit a value until the source LiveData value has been changed.
  • Coroutine support in ViewModels: extension property ViewModel.viewModelScope was added.
  • Added ViewModelProvider.KeyedFactory, a factory for ViewModels that receives key and Class in create method.

LocalBroadcastManager

androidx.localbroadcastmanager is being deprecated in version 1.1.0-alpha01.

Reason

  • LocalBroadcastManager is an application-wide event bus and embraces layer violations in your app; any component may listen to events from any other component.
  • It inherits unnecessary use-case limitations of system BroadcastManager; developers have to use Intent even though objects live in only one process and never leave it. For this same reason, it doesn’t follow feature-wise BroadcastManager .

These add up to a confusing developer experience.

Replacement

  • You can replace usage of LocalBroadcastManager with other implementations of the observable pattern. Depending on your use case, suitable options may be LiveData or reactive streams.

Media2

androidx.media2 1.0.0-alpha04 is released.

API changes

  • Renamed the following classes:
    • MediaPlayer2MediaPlayer
    • MediaSession2MediaSession
    • MediaController2MediaController
    • MediaSessionService2MediaSessionService
    • MediaLibraryService2MediaLibraryService
    • MediaBrowser2MediaBrowser
    • MediaMetadata2MediaMetadata
    • Rating2Rating
    • SessionToken2SessionToken
    • SessionCommand2SessionCommand
    • SessionCommandGroup2SessionCommandGroup
  • Merged the following classes:
    • DataSourceDesc2 and MediaItem2 have been combined into MediaItem
    • MediaPlaylistAgent and MediaPlayerConnector have been combined into SessionPlayer
  • Added the following subclasses of Rating: HeartRating, PercentageRating, StarRating, and ThumbRating
  • Media2 now uses ListenableFuture for async methods

Media-Widget

androidx.media:media-widget 1.0.0-alpha06 is released.

API changes

Renamed the package and class names as follows:

  • androidx.media.widget.VideoView2androidx.media2.widget.VideoView
  • androidx.media.widget.MediaControlView2androidx.media2.widget.MediaControlView

Multidex

androidx.multidex 2.0.1 is released.

Bug fixes

  • Fixed compatibility with Robolectric testing. Improved performance of version checking code.

Preference

androidx.preference 1.1.0-alpha02 is released. Please also check out the recently updated Settings guide and sample app!

New features

  • Added EditTextPreference.OnBindEditTextListener interface This allows customizing the EditText displayed in the corresponding dialog after the dialog has been bound. For example, setting a custom input type / length or adding a TextWatcher.

  • Added Preference.setCopyingEnabled() When set, long pressing on the Preference will show a context menu that allows copying the summary of the Preference. This can be used to allow copying of static information such as user-specific IDs / application version information.

  • preferenceTheme is now applied to the activity theme This means that when creating a Preference from code, you no longer need to use the context from PreferenceManager#getContext() - you can just use your Fragment/Activity context.

API changes

  • Refactored findPreference() to return <T extends Preference> This means that you do not need to explicitly cast Preferences when using findPreference(). For example, EditTextPreference preference = findPreference(“edit_text”) is now valid code.

SavedState

androidx.savedstate 1.0.0-alpha01 is released. This is the first release of SavedState.

New features

androidx.savedstate is a new set of alpha APIs that allow developers to plugin components to the restore / saveInstanceState process. The main entry point of the API is SavedStateRegistry<T>, which provides a way to retrieve previously savedstate via consumeRestoredStateForKey and register a callback to registerSavedStateProvider to provide a savedstate once system requests it.

December 3, 2018

Monthly AndroidX update.

The following libraries have been updated:

Activity

androidx.activity 1.0.0-alpha02 is released.

API changes

  • Added a note that getLifecycle() should not be overridden and will be made final in a future release. Please file a feature request if you are currently overriding this method. (aosp/815834)

AppCompat

androidx.appcompat 1.1.0-alpha01 is released.

New features

  • AppCompatTextView now supports app:drawableLeftCompat, app:drawableTopCompat, app:drawableRightCompat, app:drawableBottomCompat, app:drawableStartCompat and app:drawableEndCompat compound drawables, supporting backported drawable types such as VectorDrawableCompat.

  • AppCompatCheckBox and AppCompatRadioButton’s default drawables now animate check state changes.

API changes

  • aosp/740385: ActionBarOverlayLayout now implements NestedScrollingParent2 and NestedScrollingParent3, enabling it to facilitate the latest functionality in nested scrolling 3. If developer code currently overrides ActionBarOverLayLayout.onNestedScroll(View, int, int, int, int), it will likely no longer be called and ActionBarOverLayLayout.onNestedScroll(View, int, int, int, int, int, int[]) should be overridden instead.

Collection

androidx.collection 1.1.0-alpha01 is released with the following changes:

API changes

  • Add putIfAbsent to LongSparseArray, SimpleArrayMap, and SparseArrayCompat (aosp/772608)
  • Add getOrDefault to SimpleArrayMap (aosp/772607)
  • Add two-argument remove to LongSparseArray, SimpleArrayMap, and SparseArrayCompat. Deprecate corresponding KTX extensions for this functionality. (aosp/772482)
  • Add two-argument replace to LongSparseArray, SimpleArrayMap, and SparseArrayCompat (aosp/772483)
  • Add three-argument replace to LongSparseArray, SimpleArrayMap, and SparseArrayCompat (aosp/772484)

Coordinator Layout

androidx.coordinatorlayout 1.1.0-alpha01 is released with the following changes:

API changes

  • aosp/737190: CoordinatorLayout now implements NestedScrollingParent3 and CoordinatorLayout.Behavior implements a new overload of onNestedScroll to enable Behaviors to be able to report how much scroll distance they consume to nested scrolling children (during the dispatchNestedScroll()/onNestedScroll() pass). The previously existing onNestedScroll(CoordinatorLayout, V, View, int, int, int, int, int) has been deprecated in favor of the new onNestedScroll(CoordinatorLayout, V, View, int, int, int, int, int, int[]) and Behavior implementations should be updated accordingly.

    If developer code currently overrides CoordinatorLayout#onNestedScroll(View, int, int, int, int, int), it will likely no longer be called and CoordinatorLayout#onNestedScroll(View, int, int, int, int, int, int[]) should be overridden instead.

Fragment

androidx.fragment 1.1.0-alpha02 is released.

New features

  • FragmentScenario’s Kotlin extensions now let you use a lambda for Fragment construction as an alternative to passing in a FragmentFactory instance. (aosp/812913)

Bug fixes

  • Fixed an IllegalStateException when using nested Fragments on the back stack (b/119256498)
  • Fixed crash when using FragmentScenario.recreate() with a FragmentFactory (aosp/820540)
  • Fixed an issue where target Fragments were not accessible after the Fragment was removed (aosp/807634)

Loader

androidx.loader 1.1.0-alpha01 is released.

New features

  • Added a getExecutor() method to AsyncTaskLoader to allow you to set a custom Executor (aosp/810773)

Behavior changes

  • The default Executor for AsyncTaskLoader is now AsyncTask.THREAD_POOL_EXECUTOR rather than a custom Executor.

Media

androidx.media 1.1.0-alpha01 is released with the following changes.

API changes

  • Deprecated two MediaSessionCompat flags:
    • FLAG_HANDLES_MEDIA_BUTTONS
    • FLAG_HANDLES_TRANSPORT_CONTROLS

MediaRouter

androidx.mediarouter 1.1.0-alpha01 is released.

New features

  • Added support dynamic group routes
    • Added APIs to support dynamic group routes by MediaRouteProviders
    • Added new UX for route chooser and controller dialogues for dynamic group routes

RecyclerView

androidx.recyclerview 1.1.0-alpha01 is released.

API changes

  • aosp/723649: RecyclerView now implements NestedScrollingChild3, enabling it to be informed of when all its nested scrolling parents have stopped consuming nested scrolling distances. If developer code currently overrides RecyclerView.onNestedScroll(View, int, int, int, int, int), it will likely no longer be called and RecyclerView.onNestedScroll(View, int, int, int, int, int, int[]) should be overridden instead.

Bug fixes

  • Fixed crash when using TransitionManager to collapse/expand item in RecyclerView (b/37129527).
  • Fixed bug where RecyclerView.OnItemTouchListener’s behavior was inconsistent with the view system’s onInterceptTouchEvent and onTouchEvent behavior (aosp/721235)
  • Fixed few edge case bugs related to smooth scrolling (aosp/729718, aosp/747168, aosp/812576)
  • Fixed snap strategy in PagerSnapHelper to deal with non-typical child views (aosp/795752)

RecyclerView-Selection

androidx.recyclerview-selection 1.1.0-alpha01 is released.

Bug fixes

  • Fixed ConcurrentModificationException when data set changed with removing selection.

Remote Callback

androidx.remotecallback 1.0.0-alpha01 is released. Remote Callback is a new library aimed at making generating and receiving PendingIntents easier. This is the first version of Remote Callback.

Swipe Refresh Layout

androidx.swiperefreshlayout 1.1.0-alpha01 is released.

API changes

  • aosp/737631: SwipeRefreshLayout now implements NestedScrollingChild3 and NestedScrollingParent3, enabling nested scrolling 3 parents and children to pass consumed nested scrolling distance information through SwipeRefreshLayout. If developer code currently overrides SwipeRefreshLayout.onNestedScroll(View, int, int, int, int, int), it will likely no longer be called and SwipeRefreshLayout.onNestedScroll(View, int, int, int, int, int, int[]) should be overridden instead. Likewise, SwipeRefreshLayout.dispatchNestedScroll(int, int, int, int, int[], int) will likely no longer be called and SwipeRefreshLayout.dispatchNestedScroll(int, int, int, int, int[], int, int[]) should be overridden instead.

Text Classifier

androidx.textclassifier 1.0.0-alpha01 is released. This is the first refactoring of TextClassifier to androidx. This release backports (android.view.textclassifier.TextClassifier)[/reference/android/view/textclassifier/TextClassifier] features, particularly Smart Linkify, back to API 14.

Transition

androidx.transition 1.1.0-alpha01 is released.

API changes

  • aosp/807055: Scene.getCurrentScene(View) method made public. It allows you to write a custom conditional logic depending on a current scene.

Bug fixes

  • Fixed crash when using TransitionManager to collapse/expand item in RecyclerView (b/37129527).
  • Fixed incorrect animation when two Visibility transitions applied (b/62629600).
  • Allow override values like duration and interpolator for TransitionSet’s children (b/64644617).
  • Many other minor bugs fixed.

Vector Drawable

androidx.vectordrawable 1.1.0-alpha01 is released.

New features

  • Support tinting using ColorStateLists defined with theme attrs in VectorDrawableCompat.

Bug fixes

  • Fixed bug in rendering VectorDrawables with gradients (aosp/790377)
  • Fixed getColorFilter() that returned null even when it was set (aosp/762198)

November 7, 2018

Bugfix release of core-1.0.1 and appcompat-1.0.2.

Bug fixes

  • Fixed bug where PrecomputedTextCompat would crash when used with RTL AppCompatTextView. b/113070424

November 5, 2018

Monthly AndroidX update.

Updated libraries

The following libraries have entered alpha:

Activity

androidx.activity 1.0.0-alpha01 is released and introduces ComponentActivity, a new base class of the existing FragmentActivity and AppCompatActivity.

New features

  • You can now register an OnBackPressedCallback via addOnBackPressedCallback to receive onBackPressed() callbacks without needing to override the method in your activity.
  • Added a new by viewModels() Kotlin property delegate for retrieving ViewModels from a ComponentActivity.
  • Pending input events (such as clicks) are now canceled in onStop().

API changes

  • The implementation of LifecycleOwner and ViewModelStoreOwner have been moved from FragmentActivity to ComponentActivity.
  • onRetainCustomNonConfigurationInstance has been deprecated. Use a ViewModel for storing objects that need to survive configuration changes.

Core

androidx.core-ktx 1.0.1 is released with the following bug fixes:

  • Fixed bug where implementation of union and intersection were swapped.

androidx.core 1.1.0-alpha01 is released with the following API changes and bug fixes.

New features and API changes

  • NestedScrollingChild3 and NestedScrollingParent3 add the ‘consumed’ parameter to the overloaded dispatchNestedScroll and * onNestedScroll methods so that the view that drives nested scrolling can be better informed about how much scroll distance was * consumed by parents in each nested scroll pass.
  • NestedScrollView now implements NestedScrollingChild3 and NestedScrollingParent3, and therefore, the NestedScrollingChild2 and * NestedScrollingParent2 implementations of dispatchNestedScroll and onNestedScroll are not guaranteed to be called. Developers * counting on either being called should also override the new nested scrolling 3 version of dispatchNestedScroll and onNestedScroll.
  • ShortcutInfoCompat has the following new fields: Persons, categories and isLongLived. Done to advertise it can accept various types * of content.
  • Renamed SupportActivity to ComponentActivity. See androidx.activity for more info.
  • Added getMainExecutor() method, which returns an Executor link that will run enqueued tasks on the main thread associated with that * context.
  • Added compatibility implementation of Resources.getFloat.
  • Added Results Source to compat RemoteInput. This allows apps to distinguish direct and smart replies for logging purposes.
  • Added Kotlin extension functions for TextView TextWatcher actions.
  • Deprecated AccessibilityNodeInfo capability and flag setters; use actions instead.
  • Added AccessibilityPane to ViewCompat.
  • Exposed ClickableSpans on pre-O devices through the addition of AccessibilityClickableSpanCompat.
  • Deprecated AccessibilityNodeInfoCompat.setFocusable(), setClickable(), setLongClickable(), setScrollable(), and setContextClickable(). Added AccessibilityActions instead.
  • Added ViewCompat.setAccessibilityPaneTitle(), getAccessibilityPaneTitle(), setScreenReaderFocusable(), isScreenReaderFocusable(), setAccessibilityHeading(), and isAccessibilityHeading(), to backport this View accessibility functionality through API 19.
  • Added ViewCompat.enableAccessibleClickableSpanSupport() to allow developers to make non-URL ClickableSpans accessible back through API 19.

Bug fixes

  • Fixed bug that caused ResourcesCompat.getFont() crash when the network fails, when using downloadable fonts.
  • Fixed Null Pointer Exception in TypefaceCompatApi21 that occurred when ContentResolver returned null.
  • Fixed type error in Array Utils where it expected ColorStateList but got raw colors.

Fragment

androidx.fragment 1.1.0-alpha01 is released. This is the first release of the fragment-testing artifact and FragmentScenario which is built on top of the androidx.test:core APIs. See the Fragment testing documentation for more details.

New features

  • New FragmentScenario class for testing Fragments in isolation.
  • You can now set a FragmentFactory on any FragmentManager to control how new Fragment instances are instantiated.
  • Added a new by viewModels() Kotlin property delegate for retrieving ViewModels from a Fragment.
  • Pending input events (such as clicks) are now canceled in a Fragment’s onStop().

API changes

  • Significantly expanded the nullability annotations across the Fragment API surface.

Bug fixes

  • Fix an issue which caused Fragment operations to fail from within LiveData (b/77944637)

Known issues

  • Target Fragments cannot be accessed after a Fragment has been removed from the FragmentManager.
  • fragment-testing depends on androidx.test:core:1.0.0-beta01 instead of the correct androidx.test:core:1.0.0.

Preference

androidx.preference 1.1.0-alpha01 is released with the following changes.

New features

  • You can now set a SummaryProvider on a Preference to dynamically configure its summary whenever the Preference is updated, or becomes visible to the user.
  • Added default SummaryProvider implementations for ListPreference and EditTextPreference, which when set will automatically update the summary of the Preference to reflect its saved value, or ‘Not Set’ if no value has been saved. These can be set with app:useSimpleSummaryProvider=”true”
  • Added PreferenceGroup#removePreferenceRecursively which recursively finds and removes a Preference from the group, or a nested group lower down in the hierarchy.

API changes

  • PreferenceFragment and other classes using framework Fragments have been deprecated - you should use PreferenceFragmentCompat and other compat classes instead.

Bug fixes

  • Fixed iconSpaceReserved not working correctly with PreferenceCategories.
  • Fixed PreferenceCategories not using colorAccent for their title’s color below API 21.
  • Fixed some SeekBarPreference layout inconsistencies below API 21.

Versioned Parcelable

androidx.versionedparcelable 1.1.0-alpha01 is released with the following changes.

New features

  • Added support for CharSequence in all classes except VersionedParcelStream.
  • Added support for SuperClass, Set, and Map.

Bug fixes

  • Fixed a bug with checking IDs in inherited classes.

1.0.0

(September 21, 2018)

This is the stable release of AndroidX 1.0.0 and is suitable for use in production.

New features

1.0.0-rc02

(August 27, 2018)

This release candidate of AndroidX is considered feature-complete and its public API surface is stable. This release will be shipped as final stable version barring any critical issues that may arise. This release should be safe to use in production. Please report any issues to the public issue tracker.

Fixed issues

  • Proguard removes View Model Application constructor (public issue 112230489)
  • Fixed AnimatedStateListDrawableCompat constant state
  • Removed media2 dependency from mediarouter 1.0.0
  • Fragment.getViewLifecycleOwner() does not get stopped when hitting the home button (public issue 113070421)

1.0.0-rc01

(August 6, 2018)

This release candidate of AndroidX is considered feature-complete and its public API surface is stable. This release will be shipped as final stable version barring any critical issues that may arise. This release should be safe to use in production. Please report any issues to the public issue tracker.

Fixed issues

  • BottomNavigationView menu is not initialized correctly in design support library
  • PositionalDataSource doesn't correctly handle pre-pended item inserts into the database
  • Sliders are janky and not responsive
  • SlicesProviderCompat.getPinnedSpecs() doesn't add user IDs to URIs
  • RoutePlayer2: remote playback does not switch back to local playback
  • Cached slice parsing is crashing on actions
  • Google Search app crash in rendering static Slice
  • ConcurrentModificationException in RecyclerView selection library when data set changed with removing selection
  • PreferenceThemeOverlay has been updated to the latest material theme. If no custom theme is provided, PreferenceThemeOverlay is used as the default theme.
  • PreferenceThemeOverlay.v14 and PreferenceThemeOverlay.v14.Material themes have been deprecated in favour of PreferenceThemeOverlay.
  • PreferenceGroup visibility is now tied to its children - hiding a parent group will also prevent its children from being shown in the hierarchy. Use Preference.isShown() to get whether a Preference is actually displayed to the user in the hierarchy.
  • Preference.onSetInitialValue(boolean, Object) has been deprecated and replaced with onSetInitialValue(Object). PreferenceDataStore now also correctly restores default values.

1.0.0-beta01

(July 2, 2018)

This beta release of AndroidX is considered feature-complete and its public API surface is stable, barring any critical issues that may arise. While this release is safe to use in production, it may still contain bugs. Please report any issues to the public issue tracker.

Fixed issues

  • GestureSelectionHelper eating events on non-selectable items
  • Slider slices can have duplicated thumb icon when slider value is being updated
  • IconCompat broke TYPE_URI icons in alpha3
  • Crash with Preferences using Seekbar
  • Crash in Slice.toString()
  • OffsettingListUpdateCallback.onMoved() calls mCallback.onRemoved() instead of mCallback.onMoved() (Issue 110711937)

Android Studio fixes affecting AndroidX

  • gradle.properties file does not update to use AndroidX while creating project with minimum as P
  • External libraries can't compile with AndroidX enabled on Windows (Issue 79642238)
  • Converted androidx app crash when deploying
  • Failed to resolve: androidx.databinding:databinding-runtime:3.2.0-alpha16
  • Unable to deploy Rendering script app after refactoring to Android X
  • Crash when executing "Refactor to AndroidX"
  • Error: package android.support.annotation does not exist
  • ConstraintLayout classes are given the wrong class name during "Refactor to AndroidX"
  • Error: package android.support.design.R does not exist

1.0.0 alpha 3

(June 6, 2018)

Bugfix release.

Fixed issues

  • RecyclerView does not render if two projects with different AndroidX dependencies are open
  • Project fails to create and add androidx flags if gradle.properties is not present
  • Missing androidx.core.media.MediaMetadataCompat
  • Slices are falling over when larger than 64K
  • Crash in slice browser
  • Unable to migrate App to AppCompact with having androidX dependencies
  • Databinding libraries are not updated to androidx
  • Cells with large images block rest of cell content
  • Incorrect import when refactoring to Androidx
  • Slices crashing with NPE in SliceProviderCompat
  • Refactor tool error: Should not use a different version (27) than the compileSdkVersion (28)
  • Dex merge issues with trying to build refactored project (Android Sunflower)
  • AndroidX refactor tool doesn't convert dependencies containing variables
  • Espresso Test Recorder does not support androidx dependencies
  • NPE in com.example.androidx.slice.demos
  • dejetifier flatfoot problems
  • androidx.wear has bad dependency on ConstraintLayout libs
  • Full loading slices are broken
  • After refactoring to androidx adding a new activity is creating with old support code
  • dagger-android does not work with jetifier
  • Grid templates: Min width of thumbnails for grid row is 1:1 width/height ratio.
  • Enforce requiring a primary action on a slice
  • Slices for device volume will require setMin on the slider
  • Permission slices broken
  • Slices needs a new permission system
  • Need to allow auto-granting slice perms based on a perm
  • Inconsistent sizes in slice
  • NullPointerException in FontsContractCompat

1.0.0 alpha 2

(May 25, 2018)

Bugfix release.

Fixed issues

1.0.0 alpha 1

(May 8, 2018)

Initial alpha release. The package names are subject to change during the alpha period.

Known issues

  • The following libraries are not yet compatible with the AndroidX refactor:
    • com.google.dagger:dagger-android
    • com.google.android.support:wearable
    • io.fabric.tools:gradle: Requires 1.25.4 or later
  • Upgrade to version 2.16 or later forcom.google.dagger:dagger-android` to be compatible with the AndroidX refactor.
  • The Android Studio refactor tool incorrectly refactors some classes from the android.arch.persistence.room.* and android.support.v4.media.* namespaces.
    Workaround: Check and correct your import lines after running the refactor tool.
  • After using Android Studio refactor tool, full package name is used for some classes in code even though the package was imported.

Fixed issues

  • BottomNavigationView menu is not initialized correctly (AOSP issue 63375220)
  • RecyclerView getItemDecorationAt has incorrect documentation (AOSP issue 72727717)