Skip to content

Commit

Permalink
Clicking the standard window or single window does not lead to the re…
Browse files Browse the repository at this point in the history
…sponse page
  • Loading branch information
qls152 authored and liaozhiwei-liaozhiwei committed Feb 24, 2025
1 parent 506bca5 commit 99f826b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/ActivityManagerService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,10 @@ int ActivityManagerInner::startActivity(const sp<IBinder>& caller, const Intent&
}

auto taskmanager = getTaskManager(packageInfo.isSystemUI);
ActivityStackHandler apptask = taskmanager->findTask(packageInfo.packageName);
ActivityStackHandler apptask;
/** check activity name */
if (activityName.empty()) {
apptask = taskmanager->findTask(packageInfo.packageName);
if (!apptask) {
activityName = packageInfo.entry;
}
Expand Down

0 comments on commit 99f826b

Please sign in to comment.