Signed-off-by: donglin <donglin9@huawei.com>
Change-Id: Ib3760e4a621d7b36b71b7547a8d41d5644e70c96
This commit is contained in:
donglin 2022-08-25 11:08:36 +08:00
parent bbba86c27d
commit 449cb581e2

View File

@ -20,6 +20,7 @@
namespace OHOS {
namespace AppExecFwk {
const long int UNEXPIRED_TIME = 1860000000;
bool BundleMgrProxy::GetApplicationInfo(
const std::string &appName, const ApplicationFlag flag, const int userId, ApplicationInfo &appInfo)
{
@ -204,7 +205,7 @@ bool BundleMgrService::GetApplicationInfo(
}
if (appName == "com.crowdtest.unexpired") {
appInfo.appDistributionType = "crowdtesting";
appInfo.crowdtestDeadline = 1860000000;
appInfo.crowdtestDeadline = UNEXPIRED_TIME;
}
return true;
}