Revert back configs (#3802)

This commit is contained in:
John Andrew Camu authored and GitHub committed 2023-12-01 06:33:12 +08:00
1 parent bda49b0fdb
commit ffacafc22c
3 files changed
+9 -9

No files matched your search

@@ -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);
}
}
}
@@ -97,7 +97,7 @@ public final class FeatureFlags {
public static final BooleanFlag ENABLE_GESTURE_ERROR_DETECTION = getDebugFlag(270389990,
"ENABLE_GESTURE_ERROR_DETECTION",
true,
false,
"Analyze gesture events and log detected errors");
// When enabled the promise icon is visible in all apps while installation an
@@ -160,12 +160,12 @@ public final class FeatureFlags {
public static final BooleanFlag ENABLE_BULK_WORKSPACE_ICON_LOADING = getDebugFlag(270392203,
"ENABLE_BULK_WORKSPACE_ICON_LOADING",
true,
false,
"Enable loading workspace icons in bulk.");
public static final BooleanFlag ENABLE_BULK_ALL_APPS_ICON_LOADING = getDebugFlag(270392465,
"ENABLE_BULK_ALL_APPS_ICON_LOADING",
true,
false,
"Enable loading all apps icons in bulk.");
public static final BooleanFlag ENABLE_DATABASE_RESTORE = getDebugFlag(270392706,