frameworks/base
修訂 | 12c301199f3b36553752a0745676817b3e7e7675 (tree) |
---|---|
時間 | 2020-04-14 23:46:55 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Set forceDesktopMode to true
@@ -236,8 +236,8 @@ public class DisplayRotation { | ||
236 | 236 | // It's also not likely to rotate a TV screen. |
237 | 237 | final boolean isTv = mContext.getPackageManager().hasSystemFeature( |
238 | 238 | PackageManager.FEATURE_LEANBACK); |
239 | - final boolean forceDesktopMode = | |
240 | - mService.mForceDesktopModeOnExternalDisplays && !isDefaultDisplay; | |
239 | + final boolean forceDesktopMode = true; | |
240 | + // mService.mForceDesktopModeOnExternalDisplays && !isDefaultDisplay; | |
241 | 241 | mDefaultFixedToUserRotation = |
242 | 242 | (isCar || isTv || mService.mIsPc || forceDesktopMode) |
243 | 243 | // For debug purposes the next line turns this feature off with: |