commit | dbc05dac06be911bec3da8ce7ddd4d4a27836afb | [log] [tgz] |
---|---|---|
author | Yasser Dbeis <ydbeis@google.com> | Wed May 08 17:47:08 2024 -0700 |
committer | Yasser Dbeis <ydbeis@google.com> | Thu May 16 21:11:24 2024 +0000 |
tree | 8126ebff2bbb8e4df250b27c7c8a26e393eb79e7 | |
parent | db492a405a81070b6d4c8d11a98f7898d63c7582 [diff] |
Add check for startup trace event before task tab launch ...to prevent the task tab from being launched and entered when the AndroidProfilerLaunchTaskContributor fails to execute the underlying start trace command. If the user attempts to perform a startup task, and the underlying start trace event is not found, then an error notification is shown. Included in this change is a refactor of the existing notification code so that it can be shared with the "task" notifications. Also, for consistency, the error dialog used for the launch task failure was replaced with a new "task" notification. Note: because the error dialog api is no longer used, it was deleted. Fixes: 339256730 Test: added + updated + manual Change-Id: I3fc649a272acbd0e0747fb7d249701432e39bcd5
This is the source code of the Android plugin for IntelliJ platform, which is also the main part of Android Studio.
See the links below for implementation details and make sure to read IntelliJ Platform SDK docs first.