mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Reading window_animation_scale from Settings.Global
It moved from Settings.System, so there were constant warnings in the logs. This only affects dogfood builds. Change-Id: Ic3c179837f78a8040579fcc6ad485f6fabe1c2a1
This commit is contained in:
@@ -1404,8 +1404,8 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
|
||||
}
|
||||
|
||||
if (FeatureFlags.IS_DOGFOOD_BUILD) {
|
||||
duration *= Settings.System.getFloat(getContext().getContentResolver(),
|
||||
Settings.System.WINDOW_ANIMATION_SCALE, 1);
|
||||
duration *= Settings.Global.getFloat(getContext().getContentResolver(),
|
||||
Settings.Global.WINDOW_ANIMATION_SCALE, 1);
|
||||
}
|
||||
|
||||
whichPage = validateNewPage(whichPage);
|
||||
|
||||
Reference in New Issue
Block a user