Julian Winkler
e011092025
api-impl: misc APIs for WhatsApp media chooser Activities
2025-04-26 11:07:31 +02:00
Julian Winkler
69b742263a
copy CursorAdapter from AOSP
...
copied from master (commit 1cdfff555f4a21f71ccc978290e2e212e2f8b168)
2025-04-26 11:04:02 +02:00
Julian Winkler
7985381b60
implement MediaMetadataRetriever on top of MediaPlayer
...
also add MediaPlayer.getDuration() and MediaPlayer.getCurrentPosition()
2025-04-23 18:16:37 +02:00
Julian Winkler
49fa854c93
add a media ContentProvider
...
Every time the ContentProvider is accessed, a file chooser opens and the
selected file is then provided as media file.
2025-04-23 18:13:15 +02:00
Julian Winkler
cff51b230b
api-impl: misc stubs to make FCM-toolbox launch
2025-04-21 11:11:16 +02:00
Julian Winkler
5de2c27abf
api-impl: misc stubs for WhatsApp support
2025-04-21 10:19:48 +02:00
Julian Winkler
f2065e31a4
ListView.findViewById(): iterate header and footer views even if invisible
2025-04-21 10:14:06 +02:00
Julian Winkler
68b8af1e1c
Activity: fix crash when finish() is called from onResume()
2025-04-21 07:47:44 +02:00
Julian Winkler
e652089252
map Android UnifiedPush to DBus UnifiedPush
2025-04-21 07:31:06 +02:00
Julian Winkler
ec45faaf87
View.dispatchTouchEvent(): implement ACTION_CANCEL for sythetic events
2025-04-19 15:32:27 +02:00
Julian Winkler
bd83e211d0
handle onClickListener for synthesized MotionEvents
...
Since synthesized events can't be handled by GTK, we also need to handle
gestures by ourself in that case.
2025-04-18 07:21:21 +02:00
Julian Winkler
db29a02c73
framework-res/meson.build: adjust aapt command for new path
2025-04-18 07:19:44 +02:00
Mis012
272c554262
register path overrides with libc_bio, install fonts.xml
2025-04-11 22:22:54 +02:00
Julian Winkler
8e40c13480
api-impl: add APIs for libGDX games
2025-04-09 13:01:13 +02:00
Julian Winkler
728c43f925
implement View.scrollBy()
2025-04-09 12:40:09 +02:00
Julian Winkler
0c0af3d1be
LayerDrawable: handle null Drawables
...
This fixes a NullPointerException with the SponsorBlock UI of the
Tubular NewPipe fork
2025-04-09 12:38:12 +02:00
Julian Winkler
0b5ab83933
CookieManager: apply NewPipe hack also to NewPipe forks
2025-04-09 12:37:04 +02:00
Nikita Travkin
882cd1b471
ATLKeyboard: Integrate with phosh and wayland IME
2025-04-02 16:58:17 +02:00
Nikita Travkin
80ec4bd02a
api-impl: Stub out SuggestionSpan
2025-04-02 16:58:17 +02:00
Mis012
bce91cc527
api-impl: add ATLKeyboardViewer to support launching IMEs
2025-04-02 16:58:17 +02:00
Mis012
bb7eb461c8
PreferenceManager: fix default preferences xml name
2025-03-28 13:20:09 +01:00
Mis012
9f93f95f4d
api-impl-jni: check in missed generated headers
2025-03-27 13:06:39 +01:00
Mis012
39b8ac624d
GeomagneticField: import from AOSP master (commit 42a0e321e226fe0f678ff15d9293b03bcd606b96)
...
NOTE: WMM2025 is out now, if google doesn't update to it soon maybe we should
2025-03-27 13:06:39 +01:00
Mis012
12121d2d48
LocationManager: expose more information from the backend to the apps
...
note: GnssStatus was accidentally bundled into ab5b600bf1
2025-03-27 13:06:39 +01:00
Mis012
d2e2ab37bc
graphics/Region: add stubs
2025-03-27 13:06:39 +01:00
Mis012
0a0e476883
(Gsk)Canvas: add debug prints, and a hack
2025-03-27 13:01:02 +01:00
Mis012
23078bfb06
Configuration: make en_US the default locale
2025-03-26 21:13:48 +01:00
Mis012
f03f3106e7
PackageManager: implement resolveActivity
2025-03-26 21:13:19 +01:00
Mis012
955113f110
api-impl: add missed java files to meson.build
2025-03-26 21:12:02 +01:00
Mis012
f3332b7201
api-impl: misc stubs and fixes
2025-03-26 21:12:02 +01:00
Mis012
fd2e9f43b6
api-impl: borrow several classes form AOSP master (cca 42a0e321e226fe0f678ff15d9293b03bcd606b96)
2025-03-26 21:12:02 +01:00
Mis012
ea45182cca
ContentProvider: don't start content providers which are supposed to be started as separate processes
2025-03-26 20:24:17 +01:00
Mis012
ebbbc517a8
android/os/Build: allow overriding SDK_INT
2025-03-26 20:22:12 +01:00
Mis012
340fae107e
PopupWindow: implement more stuff, mainly offset
2025-03-26 20:18:16 +01:00
Mis012
5c29d2d297
TextView: chain setText variants in the same direction as AOSP to fix behavior of classes which override it
2025-03-26 20:13:37 +01:00
Mis012
4d12ad5c90
View: add basic implemntation of dispatchTouchEvent
...
Some Views block all events going to their descendants, and
then synthesize new events themselves. Gtk doesn't allow event
synthesization, which makes this quite annoying to deal with.
This initial implementation definiely has some problems,
for example it seems to cause infinite loops in some cases,
however it surprisingly works well enough.
2025-03-26 20:06:15 +01:00
Mis012
b19f2c35d2
api-impl-jni: SoundPool: fix formatting
2025-03-26 19:44:06 +01:00
Mis012
6d73fd7a99
XmlBlock: implement nativeGetAttributeName, use getPooledString instead of mStrings.get
2025-03-26 19:42:49 +01:00
Julian Winkler
15a6432d01
Revert "View: call onLayout() only on size change or on request"
...
This reverts commit b33a470c7b
.
This commit was added as fix for layout recreation loops, but this is no
longer a problem, since ViewGroup.detachViewFromParent() has been
improved. The first fix is no longer needed and it seems to cause some
minor regressions, so we revert it.
2025-03-25 23:34:56 +01:00
Julian Winkler
caa4700487
ViewGroup: keep track of detachedChildren
...
Some ViewGroups like ViewPager2 call attachViewToParent() without
calling detachViewFromParent() first. This is not allowed according to
the Android API spec, but we need to handle it.
2025-03-25 23:34:56 +01:00
Julian Winkler
4a4b4a4722
api-impl: misc stubs and fixes for several apps including F-Droid and AuroraStore
2025-03-25 23:34:56 +01:00
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