Mis012
92e2c06347
make sure the apk path is reliably set in the PackageInfo
2024-06-19 22:35:50 +02:00
Mis012
6832f5d16e
main-executable: use C.UTF_8 locale, not en_US
2024-06-19 20:50:35 +02:00
Julian Winkler
85a26e4de9
main.c: tell bionic_translation the load from anywhere in the app_data_dir
...
Facebook implements its own native library unpack mechanism called SoLoader,
which loads native libraries from app_lib_dir/files/decompressed/libs.spo.
The libraries are loaded by absolute path, but bionic_translation needs
to know that this path may contain bionic libraries.
2024-06-16 22:23:07 +02:00
Julian Winkler
bb50bbfa91
add lots of java APIs needed for Whatsapp
2024-06-16 08:45:31 +02:00
Julian Winkler
b81f53e4b2
Bitmap: regenerate GdkTexture when Canvas was used on the Bitmap
2024-06-15 07:14:30 +02:00
Julian Winkler
2a10196bc5
Context: cache SharedPreferences
...
OsmAnd renderer reads SharedPreferences for every frame. Use cached
objects instead of reading it from disk every time
2024-06-15 00:01:51 +02:00
Julian Winkler
b95613614e
implement SurfaceView.lockCanvas() using GskCanvas
2024-06-15 00:00:20 +02:00
Mis012
81797c2667
api-impl: add misc stubs/impls
2024-06-13 21:00:06 +02:00
Mis012
725df91af9
libandroid: add bitmap.c
2024-06-13 20:58:52 +02:00
Mis012
67480873ab
main-executable: handle NULL icon/package name jstring
2024-06-13 20:57:59 +02:00
Mis012
ce85f3e0b1
GradientDrawable: fix imporper commenting out
2024-06-13 20:55:20 +02:00
Mis012
795c76f144
android/content/Context: misc cleanup
2024-06-13 20:54:21 +02:00
Mis012
ccc2a86cf7
api-impl: add native implementations for more GL and EGL java wrappers
2024-06-13 20:41:13 +02:00
Mis012
26657d4a26
api-impl-jni: Bitmap: fix nativeCopyPixelsToBuffer
2024-06-13 20:38:27 +02:00
Mis012
4fd7e2cbb1
AssetManager: fix up AssetInputStream
2024-06-13 20:37:35 +02:00
Julian Winkler
2efa545e73
fix application_info.dataDir getting overwritten by PackageParser
2024-06-13 20:07:10 +02:00
Julian Winkler
5454d9ed3c
MediaCodec: throw IOException for unimplemented codecs
...
fixes SEGFAULT when libavcodec is built without aac decoder
2024-06-13 20:07:01 +02:00
Julian Winkler
47e070bec6
AudioTrack: add missing null pointer check
2024-06-13 20:04:37 +02:00
Julian Winkler
5be3401af5
MediaCodec: fall back to software decoding, if hardware decoding doesn't work
2024-06-13 20:04:37 +02:00
Mis012
fee9302e17
api-impl: fix uses of dummy aux Drawable class
2024-06-13 12:15:50 +02:00
Julian Winkler
931497689c
add Intent.getParcelableArrayListExtra()
2024-06-12 23:04:54 +02:00
Julian Winkler
8f993fd822
AbsListView: add fallback layout params
...
If the child doesn't specify layout params, use width=MATCH_PARENT and
height=WRAP_CONTENT. Same as AOSPs defaults
2024-06-12 23:04:54 +02:00
Julian Winkler
b15bf203a7
remove custom AndroidManifest.xml parsing and instead use PackageParser
...
This has the advantage, that AndroidManifest.xml is only parsed once.
2024-06-12 23:03:20 +02:00
Julian Winkler
f249e1c487
MediaCodec: implement software decoding
...
The decoding is done by libavcodec, libswscale converts YUV to RGB data, which is
then put into a GtkPicture as GdkMemoryTexture.
2024-06-02 18:12:59 +02:00
Julian Winkler
03887e8c2d
MediaCodec: add support for hardware decocders with AV_PIX_FMT_DRM_PRIME
...
This change should enable hardware decoding using v4l2 m2m, but it
hasn't been tested with v4l2 m2m yet.
2024-06-02 18:06:17 +02:00