Assigned
Status Update
Comments
su...@google.com <su...@google.com>
pi...@google.com <pi...@google.com> #2
Thanks for the issue. We've already fixed this for the upcoming Navigation 2.2.0-rc03.
be...@gmail.com <be...@gmail.com> #3
🤘
em...@audi.de <em...@audi.de> #4
As of last comment from Benjamin, this issue seems to be a well-known one.
The 1.1.0-alpha01 release has been made after this
It has been
Because no newer release has been made, we still have to deal with the issue.
When do you plan the next release?
Description
slices/core/src/main/java/androidx/slice/SliceProvider.java
Version used:
androidx.slice:slice-core:1.1.0-alpha01
androidx.slice:slice-view:1.1.0-alpha01
Devices/Android versions reproduced on:
Automotive Emulators
Description:
The demonstrator "SliceViewerKotlin" defines a provider and a viewer for slices. Both are located in the same app.
The unpin/pin behavior of slices is as following:
- assuming one slice is being displayed in a one-slice-viewer and it has been pinned
- this slice is getting unpinned:
--> if this slice is replaced by another one
--> if the user leaves the viewer-app i.e. he moves to any other app
This behavior is fine.
Now, put the provider in a separate app:
- the pinned slice is NOT getting unpinned in both situations from above
- the slice is unpinned, when the app is manually stopped
Why a different behavior? Is it a bug?
4 attachments:
- project "SliceViewerKotlin.zip" - after I´ve adapted it slightly as a "one-slice-viewer"
- project "StandaloneSliceProvider.zip" - similar to above but it only contains a provider and an empty Activity to enable any SliceAction
- log "PlayingWithProvider_in_SliceViewerKotlin.txt" to illustrate the unpin-behavior when both presenter and provider are in the same app
- log "PlayingWith_Standalone_Provider.txt" to illustrate the unpin-behavior when both presenter and provider are NOT in the same app