File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/player/mediabrowser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ ktlint_standard_function-expression-body = disabled
2222ktlint_standard_function-literal = disabled
2323ktlint_standard_function-signature = disabled
2424ktlint_standard_indent = disabled
25- ktlint_standard_kdoc = disabled
2625ktlint_standard_max-line-length = disabled
2726ktlint_standard_mixed-condition-operators = disabled
2827ktlint_standard_no-empty-first-line-in-class-body = disabled
Original file line number Diff line number Diff 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 *
You can’t perform that action at this time.
0 commit comments