<?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="2024.1.2.00">
  <feature
      name="What's New in Koala Feature Drop">
    <tutorial
        key="whats-new"
        label=" What's New in Koala Feature Drop"
        icon="stable/product-icon.svg"
        remoteLink="https://d.android.com/r/studio-ui/whats-new-assistant/preview-release-notes/2024-1-2"
        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="Code suggestions with Gemini in Android Studio">
        <stepElement>
          <section>
            <![CDATA[
            <p>Provide custom prompts for Gemini in Android Studio to generate code suggestions. You
            can ask Gemini to simplify complex code by rewriting it, perform very specific code
            transformations such as "make this code idiomatic," or generate new functions you
            describe. Android Studio then shows you Gemini's code suggestion as a code diff, so that
            you can review and accept only the suggestions you want.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/gemini/code-suggestions">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Analyze crash reports with Gemini in Android Studio">
        <stepElement>
          <section>
            <![CDATA[
            <p>Use Gemini in Android Studio to analyze your App Quality Insights crash reports,
            generate insights, provide a crash summary, and when possible recommend next steps,
            including sample code and links to relevant documentation. Generate all of this
            information by clicking <b>Show Insights</b> in the <b>App Quality Insights</b> tool
            window in Android Studio after you enable Gemini from
            <b>View > Tool Windows > Gemini</b>.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/debug/gemini-aqi">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Android Device Streaming: more devices and improved sign-up">
        <stepElement>
          <section>
            <![CDATA[
            <p>Android Device Streaming now includes the Samsung Galaxy Fold5, Samsung Galaxy S23
            Ultra, and the Google Pixel 8a, in addition to the portfolio of 20+ device models
            already available. Additionally, if you're new to Firebase, Android Studio automatically
            creates and sets up a no-cost Firebase project for you when you sign in to Koala Feature
            Drop to use Device Streaming. So, you can get to streaming the device you need much
            faster.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/run/device-streaming">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="USB cable speed detection">
        <stepElement>
          <section>
            <![CDATA[
            <p>Android Studio now detects when it's possible to connect your Android device with a
            faster USB cable, and suggests an upgrade that maximizes your device capabilities. Using
            an appropriate USB cable optimizes app installation time and minimizes latency when
            using tools such as the Android Studio debugger. USB cable speed detection is currently
            available for macOS and Linux.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/usb-check">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Updated sign in flow to Google services">
        <stepElement>
          <section>
            <![CDATA[
            <p>It's now easier to sign in to multiple Google services—such as Gemini in Android
            Studio, Firebase for Android Device Streaming, and Google Play for Android Vitals
            reports—with one authentication step. Additionally, if you're new to Firebase and want
            to use Android Device Streaming, Android Studio automatically creates a project for you,
            so you can quickly start streaming a real physical Firebase device. To get started,
            click the profile avatar and sign in with your developer account.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/sign-in-updates">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Device UI setting shortcuts">
        <stepElement>
          <section>
            <![CDATA[
            <p>To help you build and debug your UI, we've introduced Device UI setting shortcuts in
            the <b>Running Devices</b> tool window in Android Studio. Use the shortcuts to view the
            effect of common UI settings such as dark theme, font size, screen size, app language
            and TalkBack. You can use the shortcuts with emulators, mirrored physical devices, and
            devices streamed from Firebase Test Lab. Device UI setting shortcuts are available for
            devices running API level 33 or higher.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/debug/device-ui-setting-shortcuts">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Faster and improved Profiler with a task-centric approach">
        <stepElement>
          <section>
            <![CDATA[
            <p>
            The Android Studio Profiler is more performant and has a new task-centric UI that
            makes it easier to run common profiling tasks. For example, capturing system activities
            with a profileable app now starts up to 60% faster.
            </p>
            <br>
            <p>
            Use the new UI to quickly start the profiling task you are interested in,
            whether it's capturing system activities, analyzing memory usage, finding CPU hotspots,
            or more.
            </p>
            <br>
            <img
              src="https://d.android.com/studio/releases/assistant/2024.1.2/profiler.png"
              width="700"
              alt="Faster and improved Profiler with a task-centric approach">
            <br>
            <a href="https://d.android.com/r/studio-ui/profile/task-based-profiler">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Google Play SDK Index integration">
        <stepElement>
          <section>
            <![CDATA[
            <p>The Android Studio
            <a href="https://d.android.com/build/dependencies#sdk-insights">Google Play SDK Index integration</a>
            now includes warnings from the
            <a href="https://android-developers.googleblog.com/2024/05/build-better-safer-sdks-google-play-sdk-console.html">Google Play SDK Console</a>.
            This gives you a complete view of any potential version or policy issues in your
            dependencies before submitting your app to the Google Play Console.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/build/play-sdk-index">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Wear OS tiles preview panel">
        <stepElement>
          <section>
            <![CDATA[
            <p>View snapshots of your Wear OS app's tiles in the Android Studio UI preview panel.
            This preview panel is particularly useful if your tile's appearance changes in response
            to conditions, such as different content depending on the device's display size, or a
            sports event reaching halftime.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/design/tile-preview-panel">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Mock sensor capabilities and values">
        <stepElement>
          <section>
            <![CDATA[
            <p>Android Studio now includes a new sensor panel, which lets you simulate a device
            having or not having specific sensor capabilities, such as a heart rate sensor, as well
            as set specific test values for these sensors. Use this panel to test how your app
            handles devices that have different sensor capabilities. This panel is useful for
            testing health and fitness apps, especially on Wear OS devices.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/test/mock-sensor-capabilities-values">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Compose Glance widget previews">
        <stepElement>
          <section>
            <![CDATA[
            <p>Android Studio Koala Feature Drop makes it easy to preview your Jetpack Compose
            Glance widgets directly within the IDE. Catch potential UI issues and fine-tune your
            widget's appearance early in the development process.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/design/glance-widget-preview">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Live Edit for Compose enabled by default">
        <stepElement>
          <section>
            <![CDATA[
            <p>Live Edit is now enabled in manual mode by default. It has increased stability and
            more robust change detection, including support for import statements.
            </p>
            <br>
            <a href="https://d.android.com/r/studio-ui/test/live-edit-opt-out">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <step label="Compose Preview Screenshot Testing tool">
        <stepElement>
          <section>
            <![CDATA[
            <p>Use the Compose Preview Screenshot Testing tool to test your Compose UIs and
            prevent regressions. The new tool helps you generate HTML reports that let you
            visually detect any changes to your app's UI.
            </p>
            <br><br>
            <br>
            <a href="https://d.android.com/r/studio-ui/test/compose-screenshot-testing">Learn more</a>
            <br>
            ]]>
          </section>
        </stepElement>
      </step>
      <footerStep label="">
        <stepElement>
          <section>
            <![CDATA[
              <br><em>Last updated 8/26/2024</em><br>
            ]]>
          </section>
        </stepElement>
      </footerStep>
    </tutorial>
  </feature>
</tutorialBundle>
