mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore(android): update AndroidP sdk version check (#6093)
This commit is contained in:
committed by
Dimitar Topuzov
parent
6ce1d22d9a
commit
feaf1408a4
@@ -51,10 +51,7 @@ interface ExpandedEntry extends BackstackEntry {
|
||||
const sdkVersion = lazy(() => parseInt(device.sdkVersion));
|
||||
const intEvaluator = lazy(() => new android.animation.IntEvaluator());
|
||||
const defaultInterpolator = lazy(() => new android.view.animation.AccelerateDecelerateInterpolator());
|
||||
|
||||
// NOTE: Android P Beta SDK version returns 27, which is API level for Android 8.1
|
||||
// TODO: Update condition when Android P SDK version returns 28
|
||||
const isAndroidP = lazy(() => sdkVersion() >= 27);
|
||||
const isAndroidP = lazy(() => sdkVersion() > 27);
|
||||
|
||||
export const waitingQueue = new Map<number, Set<ExpandedEntry>>();
|
||||
export const completedEntries = new Map<number, ExpandedEntry>();
|
||||
@@ -833,4 +830,4 @@ class DefaultTransition extends Transition {
|
||||
return getDefaultAnimation(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user