mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
refactor: AndroidFrame.hasOwnActivity cleanup (#6241)
This commit is contained in:
@@ -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<WeakRef<AndroidFrame>>();
|
||||
|
||||
class AndroidFrame extends Observable implements AndroidFrameDefinition {
|
||||
public rootViewGroup: android.view.ViewGroup;
|
||||
public hasOwnActivity = false;
|
||||
public frameId;
|
||||
|
||||
private _showActionBar = true;
|
||||
|
||||
Reference in New Issue
Block a user