mirror of
				https://github.com/oplus-giulia-dev/android_device_oneplus_giulia
				synced 2025-11-04 13:55:48 +08:00 
			
		
		
		
	giulia: displayconfig: Correct inverted width and height
The initial densityMapping configuration had references from AOSP DisplayDeviceConfig.java template which actually has this inverted. Let's correct it to account for the native portrait orientation in phones. Change-Id: I07c9567c1d0c72b7ed77c1fe8fdf399bae30dd85 Signed-off-by: madmax7896 <madmax78968@gmail.com>
This commit is contained in:
		@@ -2,13 +2,13 @@
 | 
			
		||||
<displayConfiguration>
 | 
			
		||||
  <densityMapping>
 | 
			
		||||
    <density>
 | 
			
		||||
      <height>1080</height>
 | 
			
		||||
      <width>2376</width>
 | 
			
		||||
      <height>2376</height>
 | 
			
		||||
      <width>1080</width>
 | 
			
		||||
      <density>450</density>
 | 
			
		||||
    </density>
 | 
			
		||||
    <density>
 | 
			
		||||
      <height>1264</height>
 | 
			
		||||
      <width>2780</width>
 | 
			
		||||
      <height>2780</height>
 | 
			
		||||
      <width>1264</width>
 | 
			
		||||
      <density>520</density>
 | 
			
		||||
    </density>
 | 
			
		||||
  </densityMapping>
 | 
			
		||||
@@ -44,4 +44,4 @@
 | 
			
		||||
  <screenBrightnessRampSlowIncrease>0.04</screenBrightnessRampSlowIncrease>
 | 
			
		||||
  <screenBrightnessRampIncreaseMaxMillis>3000</screenBrightnessRampIncreaseMaxMillis>
 | 
			
		||||
  <screenBrightnessRampDecreaseMaxMillis>3000</screenBrightnessRampDecreaseMaxMillis>
 | 
			
		||||
</displayConfiguration>
 | 
			
		||||
</displayConfiguration>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user