mirror of
https://github.com/openharmony/ace_engine_lite.git
synced 2026-07-18 18:34:29 -04:00
IssueNo:I3EFNR
Description: avoid process TE in case not in active state Sig:ace_engine_lite Feature or Bugfix:Feature Binary Source:No
This commit is contained in:
@@ -58,14 +58,14 @@ public:
|
||||
*
|
||||
* @brief Call this function to active the application UI
|
||||
*/
|
||||
void Show() const;
|
||||
void Show();
|
||||
|
||||
/**
|
||||
* @fn JSAbility::Hide()
|
||||
*
|
||||
* @brief Call this function to move the current JS application to background
|
||||
*/
|
||||
void Hide() const;
|
||||
void Hide();
|
||||
|
||||
/**
|
||||
* @fn JSAbility::TransferToDestroy()
|
||||
@@ -95,6 +95,13 @@ public:
|
||||
*/
|
||||
void ForceDestroy();
|
||||
|
||||
/**
|
||||
* @fn JSAbility::IsRecycled()
|
||||
*
|
||||
* @brief Used for checking if the current ability is already teardown
|
||||
*/
|
||||
bool IsRecycled();
|
||||
|
||||
/**
|
||||
* @fn JSAbility::HandleRenderTick()
|
||||
*
|
||||
@@ -111,7 +118,8 @@ public:
|
||||
|
||||
private:
|
||||
// the holder of JS runtime and user' JS related environment
|
||||
void *jsAbilityImpl_;
|
||||
void *jsAbilityImpl_ = nullptr;
|
||||
bool isActived_ = false;
|
||||
}; // class JSAbility
|
||||
} // namespace ACELite
|
||||
} // namespace OHOS
|
||||
|
||||
Reference in New Issue
Block a user