Fix signature.

This commit is contained in:
Swapnil Tripathi 2021-08-15 00:36:58 +05:30 committed by Tobias Fella
parent 2e0fcd4ca6
commit 7e934fda0d
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.kde.kasts"
android:versionName="0.0.1"
android:versionCode="1628961273"
android:versionCode="1628967125"
android:installLocation="auto">
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>

View File

@ -76,7 +76,7 @@ void MediaSessionClient::setSessionMetadata()
int rate = m_audioPlayer->playbackRate();
// Playback rate
QAndroidJniObject::callStaticMethod<void>("org/kde/kasts/KastsActivity", "setMetadata","(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;J;J;F)V",title.object<jstring>(), author.object<jstring>(), album.object<jstring>(), position, duration, rate);
QAndroidJniObject::callStaticMethod<void>("org/kde/kasts/KastsActivity", "setMetadata","(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJF)V",title.object<jstring>(), author.object<jstring>(), album.object<jstring>(), position, duration, rate);
}
void MediaSessionClient::setPlaybackRate()