Nicolas Pomepuy
bde51d143e
Bump the remote access to 0.7.0
And fix vulnerability
1 year ago
Steve Lhomme
1e978adca1
gradle: update Android Gradle plugin to 8.11
It requires Gradle 8.13 which is in the Docker images.
8.10 has a breaking change for finalizeDsl but we don't use it.
It uses SDK Build Tools 35.0.0 and NDK 27.0.12077973 by default, just like 8.9.1.
1 year ago
Nicolas Pomepuy
792ee6679a
Add the parental controls to the preference parser
1 year ago
Nicolas Pomepuy
2332bef83e
Force feedback description texts to be in English
1 year ago
Nicolas Pomepuy
8b7b90faa9
Add the display settings to the feedback text
1 year ago
Nicolas Pomepuy
ca1d02b281
Feedback info: add a section to restore the user's settings
1 year ago
Nicolas Pomepuy
bd891ec93d
Feedback info: remove prepending tabs for changed settings
1 year ago
Nicolas Pomepuy
700d0b0de6
Feedback info: show the preference titles
1 year ago
Nicolas Pomepuy
14c8e5e339
Refactor the useful info gathering
1 year ago
Steve Lhomme
35ab60a975
buildsystem: remove package name from AndroidManifest.xml
It's deprecated and generates a warning during build.
1 year ago
Steve Lhomme
bef68aeb21
gradle: compute the medialibraryVersion programmatically
The 0.13.13 should probably be taken from the medialibrary sources,
the '-rc17' being the version of the android library port.
1 year ago
Duncan McNamara
63495e43a1
Fix background audio stopping after notification
When playing a podcast in the background, receiving a notification will
trigger a pause of the playback, for the notification to pass, then will
resume playback and seek backwards so the user doesn't miss any audio.
In the delayedPodcastRunnable of VLCAudioFocusHelper, resumePlayback()
and service.seek(position, fromUser = true) are called in sequence.
Both trigger a showNotification, resumePlayback through the libvlc event
Playing, seek right in it's function.
Problem is, seek will trigger the showNotification before the event
Playing happens. showNotificationInternal of PlaybackService will call
stopForeground when called while playback is stopped. Then
showNotification called from playback resuming will try to
startForeground to ensure the service isn't killed by the system, which
is not allowed as startForeground can only be called with the app in the
foreground or through user inputs like the notification buttons,
see https://developer.android.com/develop/background-work/services/fgs/
restrictions-bg-start.
To avoid calling stopForeground, seek should not be called from
VLCAudioFocusHelper with the fromUser parameter true, though we do need
to updateState should still be called to update the auto ui.
Fixes #3218
1 year ago
Kerry Shen
239b01c121
FileBrowserFragment: Update CAB subtitle on file selection
1 year ago
Steve Lhomme
13567cd0dd
buildsystem: use the matching gradle to create the gradle wrapper
It should not download anything if the version is matching.
1 year ago
Steve Lhomme
53ea7019fa
buildsystem: check the gradle version in the PATH matches the one we want
Older gradle versions may give an error in the simplistic build.gradle.
It's fine, we won't have a matching version.
1 year ago
Steve Lhomme
295073f5a7
gradle: set the build-tools version to the Docker ones
So we don't have to download them.
1 year ago
Steve Lhomme
c3dc071b02
gradle: comment the verbose resource language file logging
It can be turned on if needed.
1 year ago
Steve Lhomme
cf1201f879
CI: use newer Docker images with gradle 8.13 in the PATH
4.0 switches to NDK28.
1 year ago
Steve Lhomme
71fc0a9e93
buildsystem: allow using the gradle from the PATH to download our gradle wrapper version
1 year ago
Steve Lhomme
ed92d31a1d
buildsystem: remove gradle zip right after unpacking
1 year ago
Steve Lhomme
69950bbe90
buildsystem: always verify gradlew is usable
1 year ago
Steve Lhomme
950ccf08bb
buildsystem: pass the forceVlc4 flag when calling gradle wrapper
Otherwise it may fail on unsupported things for VLC3.
1 year ago
Steve Lhomme
8869b628c0
buildsystem: make gradlew executable before calling it
1 year ago
Steve Lhomme
ec11980c4f
buildsystem: add comment about gradle hash
1 year ago
Kerry Shen
a09d5a9105
Change fast play speed SeekBar resolution to 0.1x
1 year ago
Kerry Shen
8c9090aef7
Remove fastplay_speed_summary from strings.xml
1 year ago
Kerry Shen
4fb712e376
Add fast play speed SeekBar and migration
1 year ago
Steve Lhomme
1ca64268be
remove remaining last remaining bit of noTv
hopefully
1 year ago
Steve Lhomme
b8f869ce9a
buildsystem: add missing targetSdkVersion
So all defaultConfig are defined the same way.
1 year ago
Steve Lhomme
9c22e73448
buildsystem: remove stray -tv option
It's not supported since 2ab57d188e .
1 year ago
Steve Lhomme
0fe38fd1bd
buildsystem: remove undefined NDK_LIB_DIR usage
1 year ago
Steve Lhomme
f24fdd5fdf
buildsystem: document what variables are set by compile-libvlc.sh
1 year ago
Steve Lhomme
eacdbcdddd
buildsystem: install the medialibrary built with meson
...into its prefix. This can be discovered by CMake in a standardized location.
1 year ago
Steve Lhomme
9c07335884
buildsystem: generate the meson cross file for the medialibrary
So we don't have to edit them whenever we change the NDK.
1 year ago
Steve Lhomme
249b4dae95
buildsystem: avoid using a tuple for library prefix
It's an autotool thing that it not standard in other build systems. And the Android triplets don't have an easy name to figure out.
The native libraries built depend on the CPU architecture and the Android target they are built for.
1 year ago
Steve Lhomme
b1490aaa24
buildsystem: reconfigure libsqlite3 if it wasn't built
1 year ago
Steve Lhomme
5fd510028d
buildsystem: use a variable for the medialibrary install prefix
1 year ago
Steve Lhomme
b5387e2e8f
buildsystem: remove page size from static libraries
LDFLAGS is not used for static libraries.
1 year ago
Steve Lhomme
dfb11df7a1
buildsystem: fix compile-medialibrary indentation
No functional changes.
1 year ago
Steve Lhomme
ea72f89bba
buildsystem: use more portable shell logic test
1 year ago
Steve Lhomme
b090c25d53
buildsystem: remove stray code from patched sqlite
Following 0f771afdf2 we don't need these parts
that were added in 11cefbd40c .
1 year ago
Steve Lhomme
0deead0d53
buildsystem: fix location of remote access dist folder
1 year ago
Steve Lhomme
29fb433a27
buildsystem: fix compile-remoteaccess indentation
1 year ago
Steve Lhomme
8a360515dd
buildsystem: use a full path for unstripped .so files
1 year ago
Steve Lhomme
6a394fb764
buildsystem: pass medialibrary configuration as flags
Rather than environment variables.
1 year ago
Steve Lhomme
da1c39c477
medialibrary: use the ANDROID_ABI value passed to NDK_BUILD
Don't rely on environment variables.
1 year ago
Steve Lhomme
639d63516b
buildsystem: allow passing all medialibrary configuration options as flags
1 year ago
Steve Lhomme
79be47ac9e
buildsystem: group the non valid ANDROID_ABI name handling
So the other if/else section is setting the same variables in each case.
1 year ago
Steve Lhomme
6ab956641d
buildsystem: only set the default ANDROID_ABI when it's missing
Let the rest of the script the other values related to the ANDROID_ABI.
1 year ago
Steve Lhomme
1f57dd7f9c
build.gradle: align Amazon minSdk with the rest of the project
1 year ago