Merge changes I36ea0ffc,I1f3797c5,I01aeeedd into tm-qpr-dev am: a01ccaae13 am: 477064e500
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19638897 Change-Id: If73108977792457238cab50ae67ed62e66e89096 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -170,9 +170,9 @@ public final class InlineTooltipUi extends PopupWindow implements AutoCloseable
|
||||
|
||||
int delayTimeMs = mShowDelayConfigMs;
|
||||
try {
|
||||
final float scale = Settings.Global.getFloat(
|
||||
final float scale = WindowManager.fixScale(Settings.Global.getFloat(
|
||||
anchor.getContext().getContentResolver(),
|
||||
Settings.Global.ANIMATOR_DURATION_SCALE);
|
||||
Settings.Global.ANIMATOR_DURATION_SCALE));
|
||||
delayTimeMs *= scale;
|
||||
} catch (Settings.SettingNotFoundException e) {
|
||||
// do nothing
|
||||
|
||||
Reference in New Issue
Block a user