— a/android13/frameworks/base/core/res/res/values/config.xml
+++ b/android13/frameworks/base/core/res/res/values/config.xml
@@ -3970,7 +3970,7 @@
animations. Note that this is only a default and will be overridden by a
user-set value if toggled by settings so the “Transition animation scale” setting
should also be hidden if intended to be permanent. -->
1.0
0.5
true
diff --git a/android13/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java b/android13/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java
old mode 100644
new mode 100755
index 3fcc3e75228…8ae8d80f871
— a/android13/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java
+++ b/android13/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java
@@ -353,6 +353,7 @@ import com.mediatek.server.wm.WmsExt;
import com.mediatek.server.wm.WindowManagerDebugger;
/// M: MTK Power: rotation boost Mechanism
import com.mediatek.server.powerhal.PowerHalManager;
+import android.util.Log;
/** {@hide} */
public class WindowManagerService extends IWindowManager.Stub
@@ -1001,9 +1002,9 @@ public class WindowManagerService extends IWindowManager.Stub
PowerManager mPowerManager;
PowerManagerInternal mPowerManagerInternal;
private float mWindowAnimationScaleSetting = 1.0f;private float mTransitionAnimationScaleSetting = 1.0f;private float mAnimatorDurationScaleSetting = 1.0f;
private float mWindowAnimationScaleSetting = 0.5f;//1.0f; modify from 1.0f to 0.5fprivate float mTransitionAnimationScaleSetting = 0.5f;//1.0f; modify from 1.0f to 0.5fprivate float mAnimatorDurationScaleSetting = 0.5f;//1.0f; modify from 1.0f to 0.5f
private boolean mAnimationsDisabled = false;
boolean mPointerLocationEnabled = false;
@@ -1337,8 +1338,10 @@ public class WindowManagerService extends IWindowManager.Stub
}, UserHandle.ALL, suspendPackagesFilter, null, null);
// Get persisted window scale setting
mWindowAnimationScaleSetting = Settings.Global.getFloat(resolver,
Settings.Global.WINDOW_ANIMATION_SCALE, mWindowAnimationScaleSetting);
Settings.Global.WINDOW_ANIMATION_SCALE, mWindowAnimationScaleSetting);
mTransitionAnimationScaleSetting = Settings.Global.getFloat(resolver,
Settings.Global.TRANSITION_ANIMATION_SCALE,
context.getResources().getFloat(
diff --git a/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/res/values/defaults.xml b/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/res/values/defaults.xml
old mode 100644
new mode 100755
index 23de0d095ff…5cb546cab85
— a/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/res/values/defaults.xml
+++ b/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/res/values/defaults.xml
@@ -32,8 +32,8 @@
102
false
100%100%
50%
50%
true
false
diff --git a/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/android13/vendor/mediatek/proprietary/packages/apps/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
old mode 100644
new mode 100755