commit | 8628a41bdc062733f1eb7c9ad7d4fb12883094f9 | [log] [tgz] |
---|---|---|
author | Polina Koval <kovalp@google.com> | Tue May 21 16:47:48 2024 +0100 |
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Wed May 22 14:38:31 2024 +0000 |
tree | 6354799d61506211f4329df1a7403bdacae104c7 | |
parent | a2519b2a47e318c9169e396f914dec1d43e7aa5b [diff] |
Disable preview actions when code has errors This change disables preview actions (such as Interactive or Animation preview modes) until the code is compilable again, improving the user experience. Additionally, the EnableUnderConditionWrapper now provides a reason when disabling an action. Fixes: 333714367 Test: PreviewSurfaceActionManagerTest Change-Id: Ie6a3faedee048200c0456e0484475b8ac6a9dabd
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.