2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-08-31 22:35:37 +00:00

Improve comment

Rephrase to simplify and add a link to the issue.
This commit is contained in:
Romain Vimont
2019-06-14 10:11:15 +02:00
parent b29a568f08
commit fe758e6e15

View File

@@ -78,8 +78,8 @@ public final class SurfaceControl {
public static IBinder getBuiltInDisplay(int builtInDisplayId) {
try {
// Android Q does not have this method anymore but has a
// replacement.
// the method signature has changed in Android Q
// <https://github.com/Genymobile/scrcpy/issues/586>
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q) {
return (IBinder) CLASS.getMethod("getBuiltInDisplay", int.class).invoke(null, builtInDisplayId);
} else {