From 555cd3acb7a4103d72b5d5faabd9371880a56378 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Wed, 21 Jan 2026 17:12:44 +0800 Subject: [PATCH] ktlint: Fix standard_kdoc violations Signed-off-by: Aayush Gupta --- .editorconfig | 1 - .../schabi/newpipe/player/mediabrowser/PackageValidator.kt | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 3d5399585..c902918f0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -22,7 +22,6 @@ ktlint_standard_function-expression-body = disabled ktlint_standard_function-literal = disabled ktlint_standard_function-signature = disabled ktlint_standard_indent = disabled -ktlint_standard_kdoc = disabled ktlint_standard_max-line-length = disabled ktlint_standard_mixed-condition-operators = disabled ktlint_standard_no-empty-first-line-in-class-body = disabled diff --git a/app/src/main/java/org/schabi/newpipe/player/mediabrowser/PackageValidator.kt b/app/src/main/java/org/schabi/newpipe/player/mediabrowser/PackageValidator.kt index c7106003b..0bbc7252d 100644 --- a/app/src/main/java/org/schabi/newpipe/player/mediabrowser/PackageValidator.kt +++ b/app/src/main/java/org/schabi/newpipe/player/mediabrowser/PackageValidator.kt @@ -98,14 +98,14 @@ internal class PackageValidator(context: Context) { callingUid == Process.SYSTEM_UID -> true // If the app was signed by the same certificate as the platform itself, also allow it. callerSignature == platformSignature -> true - /** + /* * [MEDIA_CONTENT_CONTROL] permission is only available to system applications, and * while it isn't required to allow these apps to connect to a * [MediaBrowserServiceCompat], allowing this ensures optimal compatability with apps * such as Android TV and the Google Assistant. */ callerPackageInfo.permissions.contains(MEDIA_CONTENT_CONTROL) -> true - /** + /* * If the calling app has a notification listener it is able to retrieve notifications * and can connect to an active [MediaSessionCompat]. *