ronnie
2022-10-23 1972b0e7ed50e5b37c5633d662ea03d23b15499c
android/device/softwinner/ceres-c3/ceres_c3.mk
....@@ -3,7 +3,8 @@
33
44 #32bit android,you should define TARGET_ARCH := arm
55 #64bit android,you should define TARGET_ARCH := arm64
6
-TARGET_ARCH ?= arm
6
+#TARGET_ARCH ?= arm
7
+TARGET_ARCH ?= arm64
78 ifeq ($(TARGET_ARCH),arm)
89 $(call inherit-product, device/softwinner/ceres-common/ceres_32_bit.mk)
910 else ifeq ($(TARGET_ARCH),arm64)
....@@ -255,7 +256,10 @@
255256
256257 # set primary display orientation to 270
257258 PRODUCT_PROPERTY_OVERRIDES += \
258
- ro.surface_flinger.primary_display_orientation=ORIENTATION_270 \
259
+ ro.surface_flinger.primary_display_orientation=ORIENTATION_270
260
+ #feisi
261
+ #ro.surface_flinger.primary_display_orientation=ORIENTATION_90
262
+ #ro.surface_flinger.primary_display_orientation=ORIENTATION_0 \
259263
260264 PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
261265 ro.minui.default_rotation=ROTATION_LEFT \
....@@ -265,8 +269,8 @@
265269 ro.camera.enableLazyHal=true
266270
267271 PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
268
- ro.primary_display.user_rotation=90 \
269
- ro.input_flinger.primary_touch.rotation=270\
272
+ ro.primary_display.user_rotation=0 \
273
+ ro.input_flinger.primary_touch.rotation=0\
270274
271275 # if display width < height, maybe qq camera is not match
272276 # we can set the property for qq.
....@@ -310,6 +314,11 @@
310314
311315 #PRODUCT_ROTATION := 90
312316
317
+PRODUCT_COPY_FILES += \
318
+ $(LOCAL_PATH)/ido/liblcd_bl.so:/system/lib64/liblcd_bl.so \
319
+ $(LOCAL_PATH)/ido/liblcd_bl32.so:/system/lib/liblcd_bl.so \
320
+
321
+
313322 PRODUCT_CHARACTERISTICS := tablet
314323
315324 PRODUCT_AAPT_CONFIG := mdpi xlarge hdpi xhdpi large