Rename variable for consistency

Use suffix "Field" for fields variables.
This commit is contained in:
Romain Vimont 2019-11-24 11:55:42 +01:00
parent dfd0707a29
commit ebdc2ee8b5

View file

@ -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");