From ebdc2ee8b5afe900a0f228e0d78577db0cc156af Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 24 Nov 2019 11:55:42 +0100 Subject: [PATCH] Rename variable for consistency Use suffix "Field" for fields variables. --- server/src/main/java/com/genymobile/scrcpy/Workarounds.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/main/java/com/genymobile/scrcpy/Workarounds.java b/server/src/main/java/com/genymobile/scrcpy/Workarounds.java index f45d82a4..ccfe5370 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Workarounds.java +++ b/server/src/main/java/com/genymobile/scrcpy/Workarounds.java @@ -48,9 +48,9 @@ public final class Workarounds { applicationInfo.packageName = "com.genymobile.scrcpy"; // appBindData.appInfo = applicationInfo; - Field appInfo = appBindDataClass.getDeclaredField("appInfo"); - appInfo.setAccessible(true); - appInfo.set(appBindData, applicationInfo); + Field appInfoField = appBindDataClass.getDeclaredField("appInfo"); + appInfoField.setAccessible(true); + appInfoField.set(appBindData, applicationInfo); // activityThread.mBoundApplication = appBindData; Field mBoundApplicationField = activityThreadClass.getDeclaredField("mBoundApplication");