From cca548d31a3a54526d1d39edbedfd0bfce0d2eba Mon Sep 17 00:00:00 2001 From: Manol Donev Date: Mon, 10 Sep 2018 11:25:08 +0300 Subject: [PATCH] refactor: AndroidFrame.hasOwnActivity cleanup (#6241) --- tns-core-modules/ui/frame/frame.android.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tns-core-modules/ui/frame/frame.android.ts b/tns-core-modules/ui/frame/frame.android.ts index 940dd4101..a8917fb23 100644 --- a/tns-core-modules/ui/frame/frame.android.ts +++ b/tns-core-modules/ui/frame/frame.android.ts @@ -412,9 +412,6 @@ export class Frame extends FrameBase { } super._popFromFrameStack(); - if (this._android.hasOwnActivity) { - this._android.activity.finish(); - } } public _getNavBarVisible(page: Page): boolean { @@ -461,7 +458,6 @@ let framesCache = new Array>(); class AndroidFrame extends Observable implements AndroidFrameDefinition { public rootViewGroup: android.view.ViewGroup; - public hasOwnActivity = false; public frameId; private _showActionBar = true;