Rename DesktopMode API back
Also fix some indentation. Bug: 395826065 Test: atest, Manual Flag: EXEMPT bugfix Change-Id: I50d30a8508d387e36981fb3bdd13b99480baedcf
This commit is contained in:
@@ -98,7 +98,7 @@ public class DesktopExperiencePreferenceController extends DeveloperOptionsPrefe
|
||||
|
||||
@Override
|
||||
public CharSequence getSummary() {
|
||||
if (DesktopModeStatus.isInternalDisplayEligibleToHostDesktops(mContext)
|
||||
if (DesktopModeStatus.isDeviceEligibleForDesktopMode(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