mirror of
https://github.com/bitwarden/android.git
synced 2026-03-18 11:44:32 -05:00
Auto-fill accessibility service on Android 8.0 causes stuttering #85
Closed
opened 2025-11-07 08:25:50 -06:00 by GiteaMirror
·
28 comments
No Branch/Tag Specified
main
android-collections
PM-29829/duplicate-items-created-scanning-qrcode
sdlc/sdk-update
PM-25654-preview-attachment
cx/android-architect-agent
PM-30130-remove-archive-feature-flag
premium-upgrade/PM-33510-billing-manager
llm/add-resolving-sdk-updates-skill
premium-upgrade/PM-33509-billing-repository
QA-1523/sanity-test-saucelabs
release/2026.3-rc48
PM-24380/flight-recorder-redact-hostname
PM-26577-app-links-support
PM-26896-autofill-fix
release/2026.2-rc47
PM-32714/fallback-to-web-vault-host
pr-6572
PM-28834/setting-app-layout-horizonos
release/2026.2-rc46
release/2026.1-rc45
PM-30644/added-logs-for-debug
PM-30644/quicktile-nav-not-showing-migration
minor-gradle-updates
release/2026.1-rc42
release/2026.1-rc44
release/2026.1-rc43
PM-28834/set-landscape-on-horizonos-devices
context-rules
devclarity/update-code-review-command
PM-20026/force-ltr-passwords-and-codes
release/2025.12-rc41
cmcg/testCoverage
PM-29014/talkback-support-for-passwords
release/2025.12-rc40
BRE-1305/publish_test
accept-user-certs
autofill-permissions
release/2025.11-rc39
PM-22479/check-all-certificates-validate-asset-links
release/2025.10-rc38
agalles/android-latest
optimize-test-workflows
tier2-test-sharding
retro-agent
PM-27001/skip-account-selection-only-one-exists-cxp
release/2025.10-rc37
agalles/test-1118
release/2025.10-rc36
PM-20593-token-refresh
QA-1126b/adding-native-sanity-test
release/2025.9-rc35
pm-25933/sdk-update-password
release/2025.9-rc34
release/2025.8-rc33
agalles/20250821-release
debug-release-issues
pm-24249-allow-automated-prs-for-sdk-updates
release/2025.8-rc32
release/WORKFLOW-TEST-2025.8-rc28
agalles/20250807release
release/2025.07-rc25
release/hotfix-v2025.7.0-bwa
pm-23311/export-vault-policy-bypass
release/2025.07-rc24
authenticator-pm-sync-flags-issue
ps/implement-sdk-repository-example
release/hotfix-v2025.6.0-bwpm
release/2025.06-rc21
agalles/automate-android-fastlane-patch
release/2025.05-rc20
release/2025.04-rc19
languages/basque
release/2025.03-rc19
update-readme
qrcode/feature
innovation/archive/pm-19153-archive-items
qrcode/2-ui-fields
qrcode/1-page
hold-on-biometric-prompt-alternative
release-notes-process
release/2025.02-rc16
bwa-monorepo
PM-8223/new-device-verification-ux-improvements
pm-18451/exempt-from-policies
test-bwa
cs-workaround-linked-0-copy
release/2025.01-rc15
release/2025.01-rc14
release/2024.12-rc13
pm-16670/sync-leave-notice
821
PM-16695/backport-lean-more-new-device-verification
km/15084-testing
release/hotfix-v2024.11.7
release/2024.11-rc1
pm-11304/collection-add-item-button
PM-14241/disabling-logs-app-crash
poc/offline-editing
new-version-calc
pm-11649/expired-link-services
pm-6702/add-feature-flag
pm-6702/email-verification-feature
pm-9933/marketing-copy-update
pm-6702/registration-flows
update-templates
pm-6701/email-verification-selfhost-registration
v2026.2.1-bwpm
v2026.2.1-bwa
v2026.2.0-bwpm
v2026.2.0-bwa
v2026.1.1-bwa
v2026.1.1-bwpm
temp-test
v2026.1.0-bwpm
v2026.1.0-bwa
v2025.12.1-bwa
v2025.12.1-bwpm
v2025.12.0-bwa
v2025.12.0-bwpm
v2025.11.1-bwpm
v2025.11.1-bwa
v2025.11.0-bwpm
v2025.11.0-bwa
v2025.10.1-bwa
v2025.10.1-bwpm
v2025.10.0-bwa
v2025.10.0-bwpm
v2025.9.1-bwa
v2025.9.1-bwpm
v2025.9.0-bwa
v2025.9.0-bwpm
v2025.8.1-bwa
v2025.8.1-bwpm
v2025.8.0-bwa
v2025.8.0-bwpm
v2025.7.2-bwa
v2025.7.2-bwpm
v2025.7.1-bwa
v2025.7.1-bwpm
v2025.7.0-bwa
v2025.7.0-bwpm
v2025.6.1-bwpm
v2025.6.0-bwa
v2025.6.0-bwpm
v2025.1.0-bwa
v2025.5.0-bwa
v2025.5.0-bwpm
v2025.5.999
2025.4.0
v2025.4.0
untagged-4731eaadac73f3dfbbb8
v2025.3.0
v2025.2.0
untagged-815a165c5d70ffe75bc7
v2025.1.2
v2025.1.1
v2025.1.0
v2024.12.0
untagged-5a76b6392a4c8998c63a
v2024.11.7
v2024.11.6
v2024.11.5
v2024.11.4
v2024.11.3
v2024.11.2
v2024.11.1
v2024.11.0
v2024.10.2
v2024.10.1
v2024.10.0
v2024.9.0
v2024.8.1
v2024.8.0
v2024.7.3
v2024.7.2
v2024.7.1
v2024.7.0
v2024.6.1
v2024.6.0
v2024.5.1
v2024.4.1
v2024.4.2
v2024.4.0
v2024.3.3
v2024.3.1
v2024.3.0
v2024.2.1
v2024.2.0
v2024.1.1
v2024.1.0
v2023.12.0
v2023.10.0
v2023.9.2
maui-single-project-android
v2023.9.1
v2023.9.0
v2023.8.0
v2023.7.0
v2023.5.0
v2023.4.0
v2023.3.2
v2023.3.1
v2023.3.0
v2023.2.0
v2023.1.0
v2022.11.0
v2022.10.0
v2022.9.1
v2022.9.0
v2022.8.0
v2022.6.2
v2022.6.1
v2022.6.0
v2022.05.0
v2.18.0
v2.17.0
v2.16.4
v2.16.3
v2.16.2
v2.16.1
v2.15.0
v2.14.2
v2.14.1
v2.14.0
v2.13.0
v2.12.0
v2.11.3
v2.11.2
v2.11.1
v2.11.0
v2.10.0
v2.9.1
v2.9.0
v2.8.2
v2.8.1
v2.8.0
v2.7.2
v2.7.0
v2.6.1
v2.6.0
v2.5.6
v.2.5.5
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.1
v2.3.0
v2.2.8
v2.2.7
v2.2.6
v2.2.2
v2.2.1
v2.2.0
v2.1.2
v2.1.0
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v1.22.1
v1.22.0
v1.21.0
v1.20.0
v1.19.0
v1.18.1
v1.18.0
v1.17.0
v1.16.0
v1.15.2
v1.15.1
v1.15.0
v1.14.4
v1.14.1
v1.14.0
v1.13.0
v1.12.2
v1.12.1
v1.12.0
v1.11.1
v1.11.0
v1.10.0
v1.9.0
v1.8.1
v1.8.0
v1.7.0
v1.6.5
v1.6.1
v1.6.0
v1.5.1
v1.5.0
v1.4.4
v1.4.3
v1.4.0
v1.3.0
v1.2.1
v1.2.0
v1.1.0
v1.0.0
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/android#85
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ChrisG683 on GitHub (Sep 12, 2017).
So I've been struggling with the Pixel Launcher on Android 8.0 Oreo lately on my Pixel XL, and I've finally discovered why my launcher was so laggy/stuttery/janky, it's the auto-fill techniques used by password managers such as Lastpass and Bitwarden.
I discovered this through other people realizing it was Lastpass accessibility service causing their launcher to have so much stuttering, so I tried disabling the Bitwarden accessibility service and it immediately cleared up the jankiness I was getting.
I know 8.0 provides the new auto-fill API that should hopefully replace the accessibility service, but I thought I would go ahead and mention this here in case the bug can be hotfixed in the meantime before the auto-fill API release lands.
@kspearrin commented on GitHub (Sep 12, 2017):
Seems like maybe the launcher is sending a lot of accessibility events that are slowing things down. Any idea how I can get the launcher on a Nexus 5X to test with?
@carlylemiii commented on GitHub (Sep 12, 2017):
Maybe try
http://www.androidpolice.com/2017/06/13/modified-pixel-launcher-apk-enables-google-now-pane-pixel-exclusive-features-work-device-no-root-mods-required/
?
@kspearrin commented on GitHub (Sep 12, 2017):
@carlylemiii I don't get any laggy stuttering with Launcher3 installed. Seems to work well.
@kspearrin commented on GitHub (Sep 12, 2017):
Trying a blind fix here. Can you try the new beta version on Google Play (v1.9.0 build 940)? I added a possible fix that will filter out any package name that contains "launcher" in it from the accessibility service processing.
ref
96588089ef@ChrisG683 commented on GitHub (Sep 12, 2017):
I enrolled in the beta and received 1.10.0 (941). Enabling the accessibility service still resulted in the Pixel Launcher being very janky. On a side note, this does not seem to impact Nova Launcher.
@kspearrin commented on GitHub (Sep 12, 2017):
Any idea what the package name of the launcher on the pixel is?
@kspearrin commented on GitHub (Sep 12, 2017):
Is this it? https://play.google.com/store/apps/details?id=com.google.android.apps.nexuslauncher&hl=en
@ChrisG683 commented on GitHub (Sep 12, 2017):
Yes that is the correct launcher to my understanding
@kspearrin commented on GitHub (Sep 12, 2017):
Seems my fix didn't work :(
@kspearrin commented on GitHub (Sep 12, 2017):
@ChrisG683 Can you try this launcher and see if there are any issues? https://github.com/amirzaidi/Launcher3/releases
@ChrisG683 commented on GitHub (Sep 12, 2017):
It fails to install, maybe it conflicts with the real Pixel Launcher?
@kspearrin commented on GitHub (Sep 12, 2017):
Hm, yea I think it has the same package name.
@kspearrin commented on GitHub (Sep 12, 2017):
Any idea how I update my Nexus 5X to Oreo? Trying a system update shows that 7.1 is still the latest...?
@ChrisG683 commented on GitHub (Sep 12, 2017):
If you're familiar with flashing Factory Images or OTAs, you can find them here:
Factory Images (be sure to remove "-w" so you don't wipe your phone)
https://developers.google.com/android/images#bullhead
OTAs
https://developers.google.com/android/ota#bullhead
@kspearrin commented on GitHub (Sep 12, 2017):
I'm not an Android user so unfortunately I'm not really familiar with that stuff. Any idea when it is suppose to be available to download through normal system update? I thought it was already released a couple weeks ago?
@ChrisG683 commented on GitHub (Sep 12, 2017):
It was, but sometimes they roll it out in phases, I'm afraid I don't have an ETA for you. Also if you're rooted or have your bootloader unlocked, I believe that disables OTAs.
@kspearrin commented on GitHub (Sep 15, 2017):
I flashed 8.0 on my Nexus 5X and can't reproduce it so it seems like it's just the Pixel.
@chetgurevitch commented on GitHub (Sep 21, 2017):
Xamarin support for the new Android Oreo APIs just landed and obviously the pixels are receiving android 8.0.0, so this is kinda a moot issue in the long run but I can replicate this on my nexus 6p as well.
@kspearrin As I'm sure you noticed the play store listing has a compatibility whitelist so people have been extracting it manually from the Pixel factory images. Here's the apk, a couple array values were tweaked to get circular icons working on nexus phones but it's otherwise identical. After extracting the archive you can install it with
adb install NexusLauncherPrebuilt.apkor by transferring the apk to your device and opening it with a file manager. The google now page to the left of the home screen doesn't work when it's installed as a normal app but I doubt that's relevant to this issue.@kspearrin commented on GitHub (Sep 22, 2017):
@chetgurevitch Thanks. Is there an official source for that APK? Sorry, but I don't want to just install a random APK uploaded here to GitHub from someone I don't know.
@chetgurevitch commented on GitHub (Sep 22, 2017):
@kspearrin The factory image... I could script that out in bash in an easily auditablle fashion
but idk about windowsEdit: Mingw should work
@kspearrin commented on GitHub (Sep 22, 2017):
I have a unix environment to work with.
@chetgurevitch commented on GitHub (Sep 23, 2017):
Cool, here's the script https://gist.github.com/chetgurevitch/1c61153f8d37cb8e8f31fd3730e39f6f.
Tested on arch and ubuntu. You'll need zlib1g-dev to satisfy the /usr/include/zlib.h dependency on debian based distros. Also a small tool called simg2img is neccesary (the script downloads and compiles the source from google's android repo) and sudo is unfortunately necessary to mount the images.
I get 5aed0d0bdff8d83b387881126deb31d8c8d139b8708f543ac55687c7fa342a2a as the sha256 sum for the apk, no difference between pixel/pixel xl images. Let me know if you've got any concerns.
@kspearrin commented on GitHub (Sep 26, 2017):
@chetgurevitch Ran the script, got the .apk, downloaded on my Nexus 5X w/ 8.0, and am getting "App not installed" when trying to install it.
@tdimarzio commented on GitHub (Oct 19, 2017):
Experiencing the same thing. See my comments at https://www.reddit.com/r/GooglePixel/comments/768qor/pixel_launcher_performance_issue_since_oreo_update/. Nova launcher is completely smooth in contrast.
@chetgurevitch commented on GitHub (Oct 20, 2017):
@kspearrin Sorry for taking so long to get back to you on this, apparantly the older pixel launcher won't install as a user app. Luckily the newer version shipping with the pixel 2 does, but pixel 2 factory images aren't out yet. You could download it from apkmirror and use
keytool -printcert -jarfile foo.apkto verify that it's signed by google and the certificate fingerprints match those of the apk you extracted before, but if you'd rather wait I'm expecting the old script to work fine on pixel 2 factory images. Those should drop in the next couple days/weeks (10/21 last year). Also the issue is still very much reproducable on the new version.@kspearrin commented on GitHub (Oct 20, 2017):
Ok, I got the pixel launcher installed on my Nexus 5X now from api mirror. However, on this device I do not see any stuttering when the autofill service is running. Seems pretty smooth to me.
While debugging the autofill service, I do however see that this launcher is sending
WindowContentChangedevents every time the user interacts with it (is scrolls through apps or whatever). I am guessing that is what is causing issues for people since it's a constant stream of event spam to the service. In this case, the autofill service does no work, however, since one of the first checks is if the event is coming from a launcher, so it returns early.I am not really sure what else can be done.
@kspearrin commented on GitHub (Feb 1, 2018):
Is there anyone in this thread with a pixel device that is having this issue that would be able to work with me in our live chatroom to try and debug this more? Feel free to ping me at https://gitter.im/bitwarden/Lobby
@kspearrin commented on GitHub (Feb 2, 2018):
This has now been resolved. Please try the latest beta on the Play Store for the fixes.