• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

Revisión341fdf9badbddd3cab563c03519ab7a8e220e169 (tree)
Tiempo2018-02-06 14:22:40
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Android-x86 7.1-r1 release (20180206)

Cambiar Resumen

Diferencia incremental

--- a/fstab.x86
+++ b/fstab.x86
@@ -6,3 +6,4 @@ none /cache tmpfs nosuid,nodev,noatime defaults
66 /devices/*/*sdmmc*/* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
77 /devices/*/80860F14:01/mmc_* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
88 /devices/*/80860F14:02/mmc_* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
9+/devices/*/PNP0FFF:00/mmc_* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
--- a/init.sh
+++ b/init.sh
@@ -1,5 +1,5 @@
11 #
2-# Copyright (C) 2013-2015 The Android-x86 Open Source Project
2+# Copyright (C) 2013-2018 The Android-x86 Open Source Project
33 #
44 # License: GNU Public License v2 or later
55 #
@@ -10,6 +10,11 @@ function set_property()
1010 [ -n "$DEBUG" ] && echo "$1"="$2" >> /dev/x86.prop
1111 }
1212
13+function set_prop_if_empty()
14+{
15+ [ -z "$(getprop $1)" ] && set_property "$1" "$2"
16+}
17+
1318 function init_misc()
1419 {
1520 # device information
@@ -53,7 +58,6 @@ function init_hal_bluetooth()
5358 T10*TA|HP*Omni*)
5459 BTUART_PORT=/dev/ttyS1
5560 set_property hal.bluetooth.uart.proto bcm
56- [ -z "$(getprop sleep.state)" ] && set_property sleep.state none
5761 ;;
5862 MacBookPro8*)
5963 rmmod b43
@@ -142,6 +146,7 @@ function init_hal_gralloc()
142146 set_property ro.hardware.hwcomposer drm
143147 set_property ro.hardware.gralloc gbm
144148 fi
149+ set_prop_if_empty sleep.state none
145150 ;;
146151 0*inteldrmfb|0*radeondrmfb|0*nouveaufb|0*svgadrmfb|0*amdgpudrmfb)
147152 if [ "$HWACCEL" != "0" ]; then
@@ -178,6 +183,9 @@ function init_hal_power()
178183
179184 # TODO
180185 case "$PRODUCT" in
186+ HP*Omni*|OEMB|Surface*3|T10*TA)
187+ set_prop_if_empty sleep.state none
188+ ;;
181189 *)
182190 ;;
183191 esac
--- a/packages.mk
+++ b/packages.mk
@@ -97,3 +97,4 @@ PRODUCT_PACKAGES += \
9797 # Third party apps
9898 PRODUCT_PACKAGES += \
9999 Eleven \
100+ TSCalibration2 \