File tree Expand file tree Collapse file tree 4 files changed +2
-9
lines changed
app/src/main/java/org/schabi/newpipe Expand file tree Collapse file tree 4 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -146,10 +146,6 @@ public void setupAfterIntent() {
146146 }
147147 }
148148
149- // `protected` matches the visibility declared in VideoPlayerUi.kt. The Kotlin parent used to
150- // declare this as `internal`, which the Kotlin compiler mangles to a JVM-private name that
151- // Java cannot see, so this class could not compile. Changing to `protected` gives the method
152- // a stable, unmangled JVM name accessible from Java subclasses.
153149 @ Override
154150 protected BasePlayerGestureListener buildGestureListener () {
155151 return new MainPlayerGestureListener (this );
Original file line number Diff line number Diff line change @@ -101,9 +101,6 @@ public void setupAfterIntent() {
101101 initPopupCloseOverlay ();
102102 }
103103
104- // Same reason as MainPlayerUi: `protected` is required so this Java class can override the
105- // method declared in the Kotlin parent (VideoPlayerUi). Using `internal` in Kotlin produces
106- // a mangled JVM name that Java subclasses cannot reference.
107104 @ Override
108105 protected BasePlayerGestureListener buildGestureListener () {
109106 return new PopupPlayerGestureListener (this );
Original file line number Diff line number Diff line change 11/*
2- * SPDX-FileCopyrightText: 2026 NewPipe e.V. <https://newpipe-ev.de >
2+ * SPDX-FileCopyrightText: 2026 NewPipe contributors <https://newpipe.net >
33 * SPDX-License-Identifier: GPL-3.0-or-later
44 */
55package org.schabi.newpipe.views
Original file line number Diff line number Diff line change 11/*
2- * SPDX-FileCopyrightText: 2026 NewPipe e.V. <https://newpipe-ev.de >
2+ * SPDX-FileCopyrightText: 2026 NewPipe contributors <https://newpipe.net >
33 * SPDX-License-Identifier: GPL-3.0-or-later
44 */
55package org.schabi.newpipe.views
You can’t perform that action at this time.
0 commit comments