mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-27 17:11:51 +00:00
!10549 支持三方应用控制启动页关闭
Merge pull request !10549 from yecong2332/appRemoveStartingWindow
This commit is contained in:
commit
2f770e4ca3
@ -525,6 +525,8 @@ public:
|
||||
WSError RemoveStartingWindow() override;
|
||||
void SetEnableRemoveStartingWindow(bool enableRemoveStartingWindow);
|
||||
bool GetEnableRemoveStartingWindow() const;
|
||||
void SetAppBufferReady(bool appBufferReady);
|
||||
bool GetAppBufferReady() const;
|
||||
|
||||
protected:
|
||||
class SessionLifeCycleTask : public virtual RefBase {
|
||||
@ -795,6 +797,7 @@ private:
|
||||
* Starting Window
|
||||
*/
|
||||
bool enableRemoveStartingWindow_ {false};
|
||||
bool appBufferReady_ {false};
|
||||
};
|
||||
} // namespace OHOS::Rosen
|
||||
|
||||
|
@ -2832,6 +2832,16 @@ bool Session::GetEnableRemoveStartingWindow() const
|
||||
return enableRemoveStartingWindow_;
|
||||
}
|
||||
|
||||
void Session::SetAppBufferReady(bool appBufferReady)
|
||||
{
|
||||
appBufferReady_ = appBufferReady;
|
||||
}
|
||||
|
||||
bool Session::GetAppBufferReady() const
|
||||
{
|
||||
return appBufferReady_;
|
||||
}
|
||||
|
||||
WindowType Session::GetWindowType() const
|
||||
{
|
||||
auto property = GetSessionProperty();
|
||||
|
Loading…
Reference in New Issue
Block a user