Skip to content
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 14: No Method getInternalDisplayToken #4335

Closed
Reginer opened this issue Oct 7, 2023 · 7 comments
Closed

Android 14: No Method getInternalDisplayToken #4335

Reginer opened this issue Oct 7, 2023 · 7 comments

Comments

@Reginer
Copy link

Reginer commented Oct 7, 2023

Android 14 android.view.SurfaceControl no method getInternalDisplayToken .

getBuiltInDisplayMethod = CLASS.getMethod("getInternalDisplayToken");

@Reginer
Copy link
Author

Reginer commented Oct 7, 2023

@Reginer
Copy link
Author

Reginer commented Oct 7, 2023

Maybe

import com.android.server.display.DisplayControl

DisplayControl.getPhysicalDisplayToken(physicalDisplayId) 

@rom1v
Copy link
Collaborator

rom1v commented Oct 7, 2023

See #3784 (comment) and following comments.

@rom1v rom1v closed this as completed Oct 7, 2023
@Reginer
Copy link
Author

Reginer commented Oct 7, 2023

Don't close the issue yet .
The problem real exist.

@rom1v
Copy link
Collaborator

rom1v commented Oct 7, 2023

Don't close the issue yet .
The problem real exist.

Sure, but there are already many issues about that in Android 14, I keep only one open.

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented Oct 7, 2023

@rom1v Yes, please have one post about Android 14 as it has plenty of issues, and also please put the link/s to the issue tracker, so that users here would consider to start them.

I saw that you created this:
https://issuetracker.google.com/issues/303565669

Are there more?
Please put the links at the first post of the thread.

@rom1v
Copy link
Collaborator

rom1v commented Oct 7, 2023

It remains 3 scrcpy features broken in Android 14:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants