-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 11: could not set settings value #1468
Comments
I can confirm this on Google Pixel 4a as well. |
This commit in AOSP framework_base added a parameter "attributionTag" to the call() method: https://android.googlesource.com/platform/frameworks/base.git/+/12ac3f406fed87cb9cd3a28b9947e7202a2d14bd%5E%21/#F17 Fixes #1468 <#1468>
Thank you for the reminder. I have no device with Android 11 to test, but now the AOSP sources are available, so I think this commit fixes it: bb760be Here is the server with the fix:
(to replace in v1.16 release) |
Thank you so much for this! I'm on snap beta channel, and unfortunately have no idea how to easily update The following are read-only:
I'm on beta channel:
If it isn't too hard to push your change to |
You could provide an alternative path to the server: SCRCPY_SERVER_PATH=scrcpy-server scrcpy |
✔️ Ok on Pixel 3 Android 11 Release |
✔️ Ok on Pixel 4a Android 11 Release (both Thank you for resolving this promptly!!! |
This commit in AOSP framework_base added a parameter "attributionTag" to the call() method: https://android.googlesource.com/platform/frameworks/base.git/+/12ac3f406fed87cb9cd3a28b9947e7202a2d14bd%5E%21/#F17 As a consequence, the method did not exist, so scrcpy used the legacy call() method (using the authority "unknown") as a fallback, which fails for security reasons. Fixes #1468 <#1468>
Thank you for your tests 👍 |
scrcpy v1.17 Changes since v1.16: - Fix errors on Android 11 (Genymobile#1468) - Add --encoder option (Genymobile#1810, Genymobile#1827) - Add --forward-all-clicks option (Genymobile#1302, Genymobile#1613) - Add --legacy-paste option (Genymobile#1750, Genymobile#1771) - Workaround screen off/on issue on exit (Genymobile#1670) - Rework console/noconsole versions on Windows (Genymobile#1875, Genymobile#1988) - Terminate server properly without killing it on close (Genymobile#1992) - List available shortcut keys on error (Genymobile#1681) - Upgrade platform-tools to 30.0.5 (adb) in Windows releases - Upgrade SDL to 2.0.14 in Windows releases
Rectification: the commit message ae758f9 says:
In fact, the referenced commit renames |
(this issue has been reported to me privately)
Environment
Describe the bug
The text was updated successfully, but these errors were encountered: