Revert back configs (#3802)

This commit is contained in:
John Andrew Camu
2023-12-01 06:33:12 +08:00
committed by GitHub
parent bda49b0fdb
commit ffacafc22c
3 changed files with 9 additions and 9 deletions
@@ -88,7 +88,7 @@ import android.window.SplashScreen;
import androidx.annotation.BinderThread;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
//import com.android.app.viewcapture.SettingsAwareViewCapture;
import com.android.app.viewcapture.SettingsAwareViewCapture;
import com.android.launcher3.AbstractFloatingView;
import com.android.launcher3.DeviceProfile;
import com.android.launcher3.Launcher;
@@ -532,7 +532,7 @@ public class QuickstepLauncher extends Launcher {
addMultiWindowModeChangedListener(mDepthController);
initUnfoldTransitionProgressProvider();
if (FeatureFlags.CONTINUOUS_VIEW_TREE_CAPTURE.get()) {
// mViewCapture = SettingsAwareViewCapture.getInstance(this).startCapture(getWindow());
mViewCapture = SettingsAwareViewCapture.getInstance(this).startCapture(getWindow());
}
getWindow().addPrivateFlags(PRIVATE_FLAG_OPTIMIZE_MEASURE);
}
@@ -69,7 +69,7 @@ import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.UiThread;
//import com.android.app.viewcapture.SettingsAwareViewCapture;
import com.android.app.viewcapture.SettingsAwareViewCapture;
import com.android.launcher3.BaseDraggingActivity;
import com.android.launcher3.LauncherPrefs;
import com.android.launcher3.R;
@@ -1229,9 +1229,9 @@ public class TouchInteractionService extends Service
}
mTaskbarManager.dumpLogs("", pw);
// if (FeatureFlags.CONTINUOUS_VIEW_TREE_CAPTURE.get()) {
// SettingsAwareViewCapture.getInstance(this).dump(pw, fd, this);
// }
if (FeatureFlags.CONTINUOUS_VIEW_TREE_CAPTURE.get()) {
SettingsAwareViewCapture.getInstance(this).dump(pw, fd, this);
}
}
}