Update DesktopMode API name.

Bug: 384568161
Test: Build
Flag: EXEMPT bugfix
Change-Id: Idc953d196ac7cf4ebcc82000d0c4be9fab893f9a
This commit is contained in:
Ben Lin
2025-01-30 00:00:36 +00:00
parent c73faf8424
commit a20685eb3c
4 changed files with 8 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ public class DesktopExperiencePreferenceController extends DeveloperOptionsPrefe
@Override
public CharSequence getSummary() {
if (DesktopModeStatus.isDeviceEligibleForDesktopMode(mContext)
if (DesktopModeStatus.isInternalDisplayEligibleToHostDesktops(mContext)
&& !DesktopModeFlags.ENABLE_DESKTOP_WINDOWING_MODE.isTrue()) {
return mContext.getString(
R.string.enable_desktop_experience_features_summary_with_desktop);