Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb3f8700 authored by Tony Wickham's avatar Tony Wickham
Browse files

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
parent a5375784
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);