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

Nicolas Pomepuy git at videolan.org
Fri Sep 30 09:38:46 UTC 2022


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

Target API 33 and ask for notification permission in onboarding

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

 .../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/0b2c0d23703ee9cb7040ebacd02a9f8740963991


More information about the Android mailing list