<?xml version="1.0"?>
<!--
  ~ Copyright (C) 2019 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<tutorialBundle
    name="What's New"
    resourceRoot="/"
    stepByStep="false"
    hideStepIndex="true"
    version="2023.1.1">
  <feature
      name="What's New in Hedgehog">
    <tutorial
        key="whats-new"
        label=" What's New in Hedgehog"
        icon="stable/whats_new_icon.png"
        remoteLink="https://d.android.com/r/studio-ui/whats-new-assistant/stable-release-notes/2023-1-1"
        remoteLinkLabel="Read in a browser">
      <description>
        <![CDATA[
          This panel describes some of the new features and behavior changes
          included in this update.
          <br><br>
          To open this panel again later, select <b>Help &gt; What's New in Android Studio</b>
          from the main menu.
          ]]>
      </description>
      <step label="IntelliJ IDEA 2023.1 platform update">
        <stepElement>
          <section>
            <![CDATA[
            <p>
              Android Studio Hedgehog includes the IntelliJ IDEA 2023.1 updates, which improve the
              Studio IDE experience.
            </p>
            <br>
            <a href="https://developer.android.com/r/studio-ui/ide/intellij-platform-update">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Analyze Android vitals in App Quality Insights">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               <b>App Quality Insights</b> now includes Android vitals data, so you can more easily
               access core metrics collected by Google Play and improve your user experience. Use
               Android vitals to address issues related to app stability, performance, battery
               usage, and more to help users and maximize the discoverability of your app on
               Google Play.
            </p>
            <br>
            <img
              src="https://d.android.com/studio/releases/assistant/2023.1.1/aqi-vitals-wna.png"
              width="428"
              alt="">
            <br><br>
            <a href="https://d.android.com/r/studio-ui/debug/aqi-android-vitals">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="New Power Profiler">
        <stepElement>
          <section>
            <![CDATA[
            <p>
              Starting in Android Studio Hedgehog, the Power Profiler shows power consumption on
              devices. You can view this new data in the On Device Power Rails Monitor (ODPM).
              It segments the information by subsystems called "Power Rails." The System Trace
              records and displays power consumption data.
            </p>
            <img
              src="https://d.android.com/studio/releases/assistant/2023.1.1/power-profiler-wna.png"
              width="428"
              alt="New Power Profiler">
            <br><br>
            <br>
            <a href="https://d.android.com/r/studio-ui/profile/power-profiler">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="New Android App Links Assistant">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               Android Studio HedgeHog introduces the new App Links Assistant that provides a
               comprehensive overview of the deep links setup in your app. The Assistant displays
               all existing deep links in the app's <code>Manifest.xml</code> file, validates whether the
               configuration for those deep links is correct, and provides an easy and quick way to
               automatically fix the misconfigurations.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/ide/app-links-assistant">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Live Edit updated manual mode shortcut">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               Live Edit includes a new shortcut for pushing edits in manual mode (Push Edits
               Manually): <kbd>Control+\\</kbd> (<kbd>Command+\\</kbd> for macOS). Manual mode is
               helpful in situations where you want to have precise control over when updates are
               deployed to the running application. For example, if you're making a large scale
               change in a file and don't want any intermediate state to be reflected on the device.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/test/live-edit-manual-mode">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Compose Multipreview templates">
        <stepElement>
          <section>
            <![CDATA[
            <p>
              <code>androidx.compose.ui:ui-tooling-preview</code> 1.6.0-alpha01+ introduces new
              Multipreview API templates: <code>@PreviewScreenSizes</code>,
              <code>@PreviewFontScales</code>, <code>@PreviewLightDark</code>, and
              <code>@PreviewDynamicColors</code>, so that with one single annotation, you can
              preview your Compose UI in common scenarios.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/ide/compose-multipreview-templates">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Compose Preview Gallery mode">
        <stepElement>
          <section>
            <![CDATA[
            <p>
              Android Studio Hedgehog introduces a new Gallery in Compose Preview, which lets you
              focus on one preview at a time and save resources on rendering. We recommend using
              Gallery Mode when you need to iterate on your app's UI and switching to other modes,
              for example Grid or List, when you need to see UI variants.
            </p>
            <br>
            <a href="https://developer.android.com/r/studio-ui/ide/compose-preview-gallery-mode">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Compose state information in debugger">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               When parts of your Compose UI recompose unexpectedly, it's sometimes difficult to
               understand why. Now, when setting a breakpoint on a composable function, the debugger
               lists the parameters of the composable and their state, so you can more easily
               identify what changes might have caused the recomposition.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/debug/compose-state-in-debugger">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Device mirroring">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               Mirror your physical device to execute common actions such as starting apps and
               interacting with them, rotating the screen, folding and unfolding the phone, changing
               the volume, and more—right from the Studio IDE. Device mirroring is always enabled.
               You can start and stop mirroring using the <b>Running Devices</b> window or the
               <b>Device Manager</b>.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/run/device-mirroring">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Hardware input forwarding">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               You can now enable transparent forwarding of your workstation hardware inputs, such
               as the mouse and keyboard, to a connected physical and virtual device.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/test/hardware-input">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Manage devices directly from the Running Devices window">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               You can now start and stop virtual devices, or the mirroring of physical devices,
               directly from the <b>Running Devices</b> window.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/run/running-devices">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Embedded Layout Inspector">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               Starting with Android Studio Hedgehog Canary 2, you can run the Layout Inspector
               directly in the <b>Running Devices</b> tool window. This experimental feature
               conserves screen real estate and helps organize your UI debugging workflow in a
               single tool window. In embedded mode you can show a view hierarchy, inspect the
               properties of each view, and access other common Layout Inspector features.
            </p>
            <br>
            <img
              src="https://d.android.com/studio/releases/assistant/2023.1.1/embedded-layout-inspector-wna.png"
              width="428"
              alt="">
            <br><br>
            <a href="https://d.android.com/r/studio-ui/debug/embedded-layout-inspector">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
       <step label="New UI improvements">
        <stepElement>
          <section>
            <![CDATA[
            <p>
              We've listened to your feedback on the new Android Studio UI and have included
              numerous improvements and bug fixes in Android Studio Hedgehog. The improvements
              include enhancements for compact mode, window splitting, and more.
            </p>
            <br>
            <a href="https://developer.android.com/r/studio-ui/ide/new-ui-improvements">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="SDK Upgrade Assistant updates">
        <stepElement>
          <section>
            <![CDATA[
            <p>
              Starting with Android Studio Hedgehog, the SDK Upgrade Assistant includes support for
              upgrading to Android 14. In addition, the SDK Upgrade Assistant has more relevance
              filters for removing unnecessary steps and the ability to pinpoint where exactly some
              code changes need to be made.
            </p>
            <br>
            <a href="https://developer.android.com/r/studio-ui/ide/sdk-upgrade-assistant">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Use Firebase Test Lab devices with Gradle Managed Devices">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               You can run your automated instrumented tests at scale on Firebase Test Lab devices
               when using Gradle Managed Devices. Test Lab lets you test on a wide range of physical
               and virtual Android devices and configurations. Now the build system can fully manage
               these Test Lab devices based on the configurations in your project's Gradle files.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/test/ftl-gmd">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Disable build optimization for target API level only">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               You can disable IDE optimization for the target device API level. To turn this
               feature off, go to
               <b>File &gt; Settings &gt; Experimental</b>
               (<b>Android Studio &gt; Settings &gt; Experimental</b> on macOS) and uncheck
               <b>Optimize build for target device API level only</b>.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/build/toggle-target-api-optimization">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Windows-only: Minimize the impact of antivirus software on build speed">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               Build Analyzer informs you if antivirus software might be impacting your build
               performance. This can happen if antivirus software, such as Windows Defender, is
               doing real-time scanning of directories used by Gradle. Build Analyzer recommends a
               list of directories to exclude from active scanning and, if possible, it offers a
               link to add them to the Windows Defender folder exclusion list.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/build/build-analyzer-antivirus">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Eclipse Android Development Tool projects are no longer supported">
        <stepElement>
          <section>
            <![CDATA[
            <p>
               Android Studio Hedgehog and higher don't support importing Eclipse ADT projects. You
               can still open these projects, but they are no longer recognized as Android projects.
               If you need to import this type of project you can use an earlier version of Android
               Studio.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/ide/eclipse-adt-not-supported">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="New macro to set JDK path">
        <stepElement>
          <section>
            <![CDATA[
            <p>
              Android Studio Hedgehog includes a new macro, <code>#GRADLE_LOCAL_JAVA_HOME</code>, to
              specify the JDK path. This makes it safer and easier to specify the Java home path
              used for the Gradle daemon (background process) execution for your project.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/jdk-macro">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <footerStep label="">
        <stepElement>
          <section>
            <![CDATA[
              <br><em>Last updated 11/23/2023</em><br><br>
            ]]>
          </section>
        </stepElement>
      </footerStep>
    </tutorial>
  </feature>
</tutorialBundle>