Julian Winkler
7b0341123b
startActivityForResult(): add initial support for android.intent.action.INSTALL_PACKAGE
...
For now this just calls 'android-translation-layer --install' on the given
APK file. Which would then show the dynamic launcher portal.
2025-03-25 23:17:09 +01:00
Julian Winkler
494b4e7134
call onAnimationStart() / onAnimationStop() callbacks from View.startAnimation()
2025-03-25 23:17:09 +01:00
Julian Winkler
82f1e59f2a
copy ArraySet from AOSP
...
from latest AOSP master (frameworks/base 90a150c2c04d6ba22e4bc7418c0b35bb7d3c9a9b)
2025-03-25 23:17:09 +01:00
Julian Winkler
506de2b807
fix Layout.getLineStart() / Layout.getLineEnd()
...
These methods are supposed to return the String index and not
coordinates as accidently assumed when originally implementing it.
2025-03-25 23:17:09 +01:00
Julian Winkler
e72c579fd4
add stub AndroidKeyStore security provider
2025-03-25 23:17:09 +01:00
Julian Winkler
820b9d7ec5
HACK: make Resources.mDrawableCache of type ThemedResourceCache, but only for F-Droid
...
This field is directly accessed by androidx and some androidx version
expect it to be a Map while other expect a ThemedResourceCache. This
mess is probably caused by reporting an age old Build.SDK_INT.
2025-03-25 23:17:09 +01:00
Julian Winkler
df4d4721ce
make IntentFilter.match() actually functional
2025-03-25 23:17:09 +01:00
Julian Winkler
5a4f56f4ba
uncomment PackageParser.parsePackage()
2025-03-25 23:17:09 +01:00
Julian Winkler
4648dd3249
createMainActivity: prioritize Activities with category DEFAULT
2025-03-25 23:17:09 +01:00
Mis012
32a7846a9d
AssetManager: fix uses of long instead of jlong
2025-03-24 16:59:09 +01:00
Julian Winkler
1edb28b0f7
implement ViewGroup.detachViewFromParent() properly
...
Temporarily detaching a View from its parent should not call any
callbacks, which was the case with the old implementation. This was
causing infinite recreation loops in some cases.
2025-03-23 18:32:47 +01:00
Mis012
582307f74c
ExpandableListView: borrow from AOSP master (commit 272d3ffb52e10ee821eaf58fa398376c45b16b06)
2025-03-07 18:41:21 +01:00
Mis012
2e9099baed
AssetManager: use locking
2025-03-07 18:41:21 +01:00
Mis012
74f2e9f308
MediaPlayer: implement using GtkMediaStream
2025-03-04 18:10:32 +01:00
Julian Winkler
c31ed5e878
Build.md: add missing WebkitGTK dependency
2025-03-03 18:48:31 +01:00
Julian Winkler
fa3292dcb5
add CookieManager and WebStorage, but disable them in NewPipe for now
...
These classes are needed for WhatsApp, but having them available makes
NewPipe try to generate PoTokens in the WebView, which does not work yet,
so we just throw an Exception in NewPipe based on the package name.
2025-03-02 00:05:59 +01:00
Julian Winkler
911b6dff9a
DecelerateInterpolator: add default constructor
2025-03-02 00:05:59 +01:00
Julian Winkler
61ad80d938
PropertyValuesHolder: fix for int properties
2025-03-02 00:05:59 +01:00
Julian Winkler
a9f377f754
Button: fix setText() overriding the compoundDrawable
2025-03-02 00:05:59 +01:00
Julian Winkler
b33a470c7b
View: call onLayout() only on size change or on request
...
GTK always wants us to call gtk_widget_allocate() on all children, so we
need to do it manually when not calling onLayout().
2025-03-02 00:05:59 +01:00
Mis012
f0fcd47c80
replace our implementation of applyStyle with a native function that calls into libandroidfw
...
also change a few things to work with latest libandroidfw, since we are now using
it's helper functions that need to agree on e.g STYLE_NUM_ENTRIES with the Java
code.
2025-02-27 22:44:55 +01:00
Mis012
d97c3ee048
AssetManager: update to use v2 of libandroidfw C api
2025-02-27 22:44:55 +01:00
Mis012
ca39c81224
Drawable: fix theme not getting passed to newly inflated drawables
...
When Theme support was added, not everything was immediately updated
to use theme information properly. This was fixed in a lot of places
since then, but it seems not here.
2025-02-27 22:44:55 +01:00
Mis012
8afb1a0fe2
VelocityTracker: fix infinite loop typo
2025-02-27 22:06:28 +01:00
Mis012
b35ecc7918
CI: only run on master branch
2025-02-26 15:42:09 +01:00