Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Group download notifications + remove seekbar #285

Merged
merged 6 commits into from
Jul 26, 2020

Conversation

AbsurdlySuspicious
Copy link
Collaborator

@AbsurdlySuspicious AbsurdlySuspicious commented Jul 26, 2020

dawn_download_notif

Enable grouping of successful media download notifications.
Also remove seekbar so that they look normal on Android >=9

@AbsurdlySuspicious
Copy link
Collaborator Author

AbsurdlySuspicious commented Jul 26, 2020

+ workaround for android 11 - see #282
Sorry it's so messy :)
I initially misunderstood this issue and so I thought it would be easier to put actual fix in this PR since it's all around single place anyway

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
// ---
// Android 11 finally broke this so we'll force it to use BigPicture style for now
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && Build.VERSION.SDK_INT < 30) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use named version code here instead of 30? Perhaps with <= if latest is not available.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SDK 28 is used so latest version listed there is api 28 / Android 9. I think the only way to get new consts is to unlink compileSdk and targetSdk in gradle scripts and switch to compile 30 + target 28. This way it shouldn't break anything, though sdk update is entirely different matter anyway

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I see, lets leave this as is then.

@Tunous Tunous added the bug Something isn't working label Jul 26, 2020
@Tunous Tunous merged commit 3cf87bc into Tunous:master Jul 26, 2020
@Tunous Tunous added this to the 0.9.3 milestone Jul 26, 2020
@AbsurdlySuspicious AbsurdlySuspicious deleted the down_notif/feature branch July 27, 2020 23:45
msfjarvis added a commit to msfjarvis/Dawn that referenced this pull request Aug 1, 2020
…/androidx.room-room-rxjava2-2.2.5

* upstream/master:
  Add downloaded files to media index (Tunous#288)
  Group download notifications + remove seekbar (Tunous#285)
  Use Instant in recycling unit test
Tunous added a commit that referenced this pull request Aug 1, 2020
* Use Instant in recycling unit test

* Group download notifications + remove seekbar (#285)

* remove seekbar

* group download notifications

* put success notifications in a separate group

* changelog

* workaround for Android 11

Co-authored-by: Łukasz Rutkowski <lukus178@gmail.com>

* Add downloaded files to media index (#288)

* index new media

* update already downloaded media

* properly broadcast video files

* force downloaded media rescan

* changelog

* build: commonize room version

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* Fix tests

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* Revert "Fix tests"

This reverts commit 4778981.

Co-authored-by: Łukasz Rutkowski <lukus178@gmail.com>
Co-authored-by: AbsurdlySuspicious <absurdlysuspicious@protonmail.com>
Tunous added a commit that referenced this pull request Aug 1, 2020
* Bump room-rxjava2 from 2.2.1 to 2.2.5

Bumps room-rxjava2 from 2.2.1 to 2.2.5.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fixes for #170 (#289)

* Use Instant in recycling unit test

* Group download notifications + remove seekbar (#285)

* remove seekbar

* group download notifications

* put success notifications in a separate group

* changelog

* workaround for Android 11

Co-authored-by: Łukasz Rutkowski <lukus178@gmail.com>

* Add downloaded files to media index (#288)

* index new media

* update already downloaded media

* properly broadcast video files

* force downloaded media rescan

* changelog

* build: commonize room version

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* Fix tests

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* Revert "Fix tests"

This reverts commit 4778981.

Co-authored-by: Łukasz Rutkowski <lukus178@gmail.com>
Co-authored-by: AbsurdlySuspicious <absurdlysuspicious@protonmail.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Łukasz Rutkowski <lukus178@gmail.com>
Co-authored-by: AbsurdlySuspicious <absurdlysuspicious@protonmail.com>
Co-authored-by: Łukasz Rutkowski <Tunous@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants