Update DesktopMode API name.
Bug: 384568161 Test: Build Flag: EXEMPT bugfix Change-Id: Idc953d196ac7cf4ebcc82000d0c4be9fab893f9a
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user