mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Do not change the Android layer types (hardware/software) (#4625)
This commit is contained in:
10
tns-core-modules/utils/utils.d.ts
vendored
10
tns-core-modules/utils/utils.d.ts
vendored
@@ -15,16 +15,6 @@ export const FILE_PREFIX: string;
|
||||
interface Owned {
|
||||
owner: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* Used to cache and restore Android views' layer type, i.e. android.view.View.getLayerType and android.view.View.setLayerType.
|
||||
* @private
|
||||
*/
|
||||
interface CacheLayerType {
|
||||
layerType: number;
|
||||
setLayerType(layerType: number, paint: any): void;
|
||||
getLayerType(): number;
|
||||
}
|
||||
//@endprivate
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user