Skip to content

Add 16 kb page support to decoder_flac to support Android 15 #1685

Closed
@maxoertel

Description

@maxoertel

Version

Media3 main branch

More version details

Android 15 adds support for devices with 16 kb page size memory. Any native parts of the app need to be rebuild, otherwise apps will crash at these new devices. Currently, the Flac extension of Exoplayer does not support this. Hence, validating the APK shows UNALIGNED:

Screenshot 2024-09-02 at 11 37 50

TODO:

  • Follow steps here to add 16 kb page size support

Devices that reproduce the issue

Any

Devices that do not reproduce the issue

Reproducible in the demo app?

Yes

Reproduction steps

  1. Build and run the debug app.
  2. Locate the debug APK and unzip it
  3. Use the alignment.sh script provided in the official migration guide linked above and run this command:
    sh alignment.sh my_apk_out | grep "arm64-v8a"

(where my_apk_out is the unzipped apk)

Expected result

libflacJNI.so (the Flac lib) should say ALIGNED

Actual result

It says UNALIGNED

Media

Bug Report

  • You will email the zip file produced by adb bugreport to [email protected] after filing this issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions