Do not change the Android layer types (hardware/software) (#4625)

This commit is contained in:
Panayot Cankov
2017-08-25 10:45:58 +03:00
committed by GitHub
parent ab42715089
commit d62df3789c
4 changed files with 2 additions and 61 deletions

View File

@@ -1,7 +1,6 @@
// Definitions.
import { Point, CustomLayoutView as CustomLayoutViewDefinition, dip } from ".";
import { GestureTypes, GestureEventData } from "../../gestures";
import { CacheLayerType } from "../../../utils/utils";
// Types.
import { Background, ad as androidBackground } from "../../styling/background";
@@ -510,11 +509,6 @@ export class View extends ViewCommon {
}
(<any>nativeView).background = undefined;
const cache = <CacheLayerType><any>nativeView;
if (cache.layerType !== undefined) {
cache.setLayerType(cache.layerType, null);
cache.layerType = undefined;
}
}
}
}