[Android] Target API 33 and ask for notification permission in onboarding

Nicolas Pomepuy git at videolan.org
Fri Sep 30 09:23:43 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Sep 19 09:31:55 2022 +0200| [a277b16f51c6b31e8dcb26c57942467e90e18173] | committer: Duncan McNamara

Target API 33 and ask for notification permission in onboarding

> https://code.videolan.org/videolan/vlc-android/commit/a277b16f51c6b31e8dcb26c57942467e90e18173
---

 .../resources/src/main/res/values/strings.xml      |  2 +
 application/vlc-android/AndroidManifest.xml        |  1 +
 .../onboarding_notification_permission.xml         | 85 ++++++++++++++++++++
 .../layout/onboarding_notification_permission.xml  | 74 +++++++++++++++++
 .../vlc/gui/helpers/hf/NotificationDelegate.kt     | 92 ++++++++++++++++++++++
 .../org/videolan/vlc/gui/helpers/hf/OtgAccess.kt   |  2 -
 .../vlc/gui/onboarding/OnboardingActivity.kt       | 15 +++-
 .../OnboardingNotificationPermissionFragment.kt    | 55 +++++++++++++
 .../vlc/gui/onboarding/OnboardingViewModel.kt      |  1 +
 .../src/org/videolan/vlc/util/Permissions.kt       |  2 +
 build.gradle                                       |  2 +-
 11 files changed, 327 insertions(+), 4 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/a277b16f51c6b31e8dcb26c57942467e90e18173


More information about the Android mailing list