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 buddyliao committed Feb 25, 2025
1 parent 216b790 commit 7cd3a77
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 7cd3a77

Please sign in to comment.