Skip to content

Commit 555cd3a

Browse files
committed
ktlint: Fix standard_kdoc violations
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
1 parent ea105e9 commit 555cd3a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ ktlint_standard_function-expression-body = disabled
2222
ktlint_standard_function-literal = disabled
2323
ktlint_standard_function-signature = disabled
2424
ktlint_standard_indent = disabled
25-
ktlint_standard_kdoc = disabled
2625
ktlint_standard_max-line-length = disabled
2726
ktlint_standard_mixed-condition-operators = disabled
2827
ktlint_standard_no-empty-first-line-in-class-body = disabled

app/src/main/java/org/schabi/newpipe/player/mediabrowser/PackageValidator.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ internal class PackageValidator(context: Context) {
9898
callingUid == Process.SYSTEM_UID -> true
9999
// If the app was signed by the same certificate as the platform itself, also allow it.
100100
callerSignature == platformSignature -> true
101-
/**
101+
/*
102102
* [MEDIA_CONTENT_CONTROL] permission is only available to system applications, and
103103
* while it isn't required to allow these apps to connect to a
104104
* [MediaBrowserServiceCompat], allowing this ensures optimal compatability with apps
105105
* such as Android TV and the Google Assistant.
106106
*/
107107
callerPackageInfo.permissions.contains(MEDIA_CONTENT_CONTROL) -> true
108-
/**
108+
/*
109109
* If the calling app has a notification listener it is able to retrieve notifications
110110
* and can connect to an active [MediaSessionCompat].
111111
*

0 commit comments

Comments
 (0)