Commit Graph

973 Commits

Author SHA1 Message Date
Julian Winkler
a2f3f8808a api-impl: add stubs for WhatsApp forwarding Activity 2025-10-26 17:45:26 +01:00
Julian Winkler
007eee64d3 ImageView: don't call setImageDrawable() from contructor 2025-10-26 17:45:26 +01:00
Julian Winkler
8a5625350e AssetManager: re-extract native libs if APK file was updated 2025-10-26 17:45:26 +01:00
Julian Winkler
213b2029d8 stub WifiInfo.getBSSID() 2025-10-26 17:45:26 +01:00
Julian Winkler
5cd6a7fd85 AbsListView.onTouchUp(): Also update nextSelectedPosition
This seems to be a bug in the AOSP implementation, but somehow on AOSP
it doesn't have any effect.
2025-10-26 17:45:26 +01:00
Julian Winkler
b0df34027b ViewGroup: hide detached views 2025-10-26 17:45:26 +01:00
Julian Winkler
78cec69351 implement ShapeDrawable as constant color 2025-10-26 17:45:26 +01:00
Julian Winkler
387187a525 Activity: finish asynchron 2025-10-26 17:45:26 +01:00
Julian Winkler
131b53e9b1 Bitmap: workaround GTK unreferencing the default GdkDisplay during offscreen rendering 2025-10-26 16:06:29 +01:00
Julian Winkler
16db14ae54 View.serVisibility(): request relayout from parent
Since we no longer call requestLayout() recursively, it is now important
on which View the method is called.
2025-10-26 11:08:03 +01:00
Julian Winkler
86afbe26d1 ViewGroup: don't request layout for addInLayout / removeInLayout 2025-10-26 11:08:03 +01:00
Julian Winkler
3b69e949d9 TextView: make sure getPaint().getTextSize() returns the expected value
Using pango_font_description_set_absolute_size() now to prevent previous
rounding errors when converting from pixels to points and back.

This is needed to prevent androidx AppCompatTextViewAutoSizeHelper from
constantly requesting a relayout.
2025-10-26 11:08:03 +01:00
Julian Winkler
377c140d7c View.requestLayout(): avoid recursion
Calling this method recursively can confuse Views that overwrite it.
2025-10-26 11:08:03 +01:00
Julian Winkler
7941a04ab3 Bitmap: use thread local GdkDisplay to fix glitches on X11
GdkDisplay is not thread safe on X11. We can't even use the default
display from main thread, because a GTK render thread may run concurrently.
2025-10-24 12:05:20 +02:00
Julian Winkler
162ce00ba4 add missing openAssetFile() method in ContentProvider subclasses
Fixup of previous commit where openAssetFile() was added as abstract method.
2025-10-21 19:02:00 +02:00
Julian Winkler
82477865ad api-impl: add some methods to make the WhatsApp video player functional 2025-10-21 06:59:59 +02:00
Julian Winkler
72e86cba13 PackageManager.getApplicationInfo(): don't pretend that other packages are installed
So that WhatsApp no longer thinks the task killer apps are installed.
2025-10-21 06:59:59 +02:00
Julian Winkler
7e7e6c0e6e android.text.Layout: convert byte index to character index
This fixes a WhatsApp crash when rendering text with emojis.
2025-10-21 06:59:59 +02:00
Julian Winkler
f5c1de9782 EditText: handle setText(null) properly 2025-10-21 06:59:59 +02:00
lsnow
46e9cbb0ba NotificationManager: check for null before adding an action button 2025-10-19 23:19:59 +08:00
Julian Winkler
70e879c61b add documentation for the DBus API of cross application Intents 2025-10-13 15:16:13 +02:00
Julian Winkler
b2f99da75b intent_serialize: use DBus name instead of package name
Applications may need to use a DBus name different from the package name.
For example, the Flatpak sandbox does not allow DBus names with less
than two dots, but many Android package names contain just one dot.
2025-10-13 15:15:46 +02:00
Julian Winkler
f208e944d2 View: respect requestLayout() calls also from inside onMeasure()
Previously, we accidentally cleared the flag after onMeasure(). This
fixes one cause for the bug where you had to resize the window to see
the content, but the bug still persists in some apps like Shosetsu.
2025-10-10 12:18:07 +02:00
Julian Winkler
d4aca99823 View: replace custom isAttachedToWindow tracking with GTK signals 2025-10-10 12:05:48 +02:00
Julian Winkler
2288f2bce9 main.c: remove construct_classpath logging 2025-10-08 16:06:53 +02:00