Mi informacion de contacto
Correo[email protected]
2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
Las modificaciones que involucran el marco generalmente se encuentran en la carpeta QSSI.
1. Para dispositivos Android, se encuentra que los auriculares están conectados al dispositivo, pero la barra de estado del dispositivo no muestra el estado de los auriculares que están conectados.
frameworks/base/paquetes/SystemUI/res/valores/config.xml
Modificación a continuación:
- <string-array name="config_statusBarIconsToExclude" translatable="false">
- <item>@*android:string/status_bar_rotate</item>
- - <item>@*android:string/status_bar_headset</item>
- + <!-- <item>@*android:string/status_bar_headset</item> -->
- </string-array>
2. Conéctese a Wifi Si la conexión Wi-Fi se realiza correctamente, se muestra un signo de exclamación o de interrogación y no se puede utilizar. El acceso real a la red es posible.
/paquetes/módulos/NetworkStack/res/valores/config.xml
Siempre que el Wifi esté conectado, el sistema determinará la conectividad de la red visitando un sitio web. Google utiliza de forma predeterminada el sitio web https://www.google.com/generate_204, al que se puede acceder en el extranjero pero no necesariamente en el país. Es necesario sustituirlo por un sitio web al que se pueda acceder tanto en el país como en el extranjero.
- <!-- <string name="default_captive_portal_http_url" translatable="false">http://connectivitycheck.gstatic.com/generate_204</string> -->
- <string name="default_captive_portal_http_url" translatable="false">http://connectivitycheck.platform.hicloud.com/generate_204</string>
- <!-- HTTPS URL for network validation, to use for confirming internet connectivity. -->
- <!-- default_captive_portal_https_url is not configured as overlayable so
- OEMs that wish to change captive_portal_https_url configuration must
- do so via configuring runtime resource overlay to
- config_captive_portal_https_url and *NOT* by changing or overlaying
- this resource. It will break if the enforcement of overlayable starts.
- -->
- <!-- <string name="default_captive_portal_https_url" translatable="false">https://www.google.com/generate_204</string> -->
- <string name="default_captive_portal_https_url" translatable="false">https://connectivitycheck.platform.hicloud.com/generate_204</string>
-
- <!-- List of fallback URLs to use for detecting captive portals. -->
- <!-- default_captive_portal_fallback_urls is not configured as overlayable
- so OEMs that wish to change captive_portal_fallback_urls configuration
- must do so via configuring runtime resource overlay to
- config_captive_portal_fallback_urls and *NOT* by changing or overlaying
- this resource. It will break if the enforcement of overlayable starts.
- -->
- <string-array name="default_captive_portal_fallback_urls" translatable="false">
- <item>http://connectivitycheck.platform.hicloud.com/generate_204</item>
- <item>http://www.google.com/gen_204</item>
- <item>http://play.googleapis.com/generate_204</item>
- </string-array>
3. Cómo agregar el paquete GMS. Generalmente, el paquete GMS se encuentra en la carpeta partner_gms.
Copie todas las carpetas partners_gms al directorio de proveedores.
Escriba un comando en el archivo QSS/device/qcom/qssi/qssi.mk:
$(call inherit-product, vendor/partner_gms/products/gms.mk)
4、