Erik Bjäreholt
Erik Bjäreholt
Logs when I try to run ActivityWatch on Android 11 ``` 12883-12917/net.activitywatch.android.debug W/AssetExtractor: webui/js/index.d85839d5.js.map -> /data/user/0/net.activitywatch.android.debug/cache/webui/js/index.d85839d5.js.map 12883-12917/net.activitywatch.android.debug W/AssetExtractor: webui/manifest.json -> /data/user/0/net.activitywatch.android.debug/cache/webui/manifest.json 12883-12883/net.activitywatch.android.debug E/WebUI: WebView received error: net::ERR_CONNECTION_REFUSED 12883-12917/net.activitywatch.android.debug W/AssetExtractor: webui/precache-manifest.117af8d05f49331312917f2185126b0d.js...
@eamon0989 Unfortunately I got stuck on this issue. I'm not quite sure what to do about it at this point, might ask on StackOverflow or similar to see if some...
Weirdly enough, it works on my (and I think also @johan-bjareholt's) Android 11 phone (mine is Poco F3, so not-so-stock Android), so at least it isn't broken for *all* Android...
@yshalsager I'm assuming you'll see the same logs as the one I posted above, but if you could confirm that is the case then that would give us some confidence...
@rakshazi Nice! It'll come in handy when I'm submitting it to the main F-droid repo :)
I added a merge request to the fdroiddata repo: https://gitlab.com/fdroid/fdroiddata/merge_requests/5502 Hopefully someone will help us fix the final issues to make it ready for inclusion in the main F-droid repo!
@TheRealMephisto The links already mentioned in the thread should be a good start. Let us know how your work goes!
Very nicely investigated! One question I have is do we really need to consider the `SCREEN_NON_INTERACTIVE` events at all? It would significantly complicate the logic to have to reorder the...
Here are some logs with more info: ``` 16:59:03.829 D/UsageStatsWatcher: Event type 1 at 2020-06-22T14:49:18.663Z with data {"app":"ActivityWatch","package":"net.activitywatch.android.debug","classname":"net.activitywatch.android.MainActivity"} 16:59:03.930 D/UsageStatsWatcher: Event type 16 at 2020-06-22T14:54:05.336Z with data {"app":"Android System","package":"android"} 16:59:03.932...
>To make debugging easier, it would be good to store 'event_type' directly in data. This would make it a lot easier to later look through the events and make sure...