私の連絡先情報
郵便メール:
2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
フレームワークに関係する変更は通常、QSSI フォルダーにあります。
1. Android デバイスの場合、ヘッドフォンがデバイスに接続されていることがわかりますが、デバイスのステータス バーには、接続されているヘッドフォンのステータスが表示されません。
フレームワーク/ベース/パッケージ/SystemUI/res/values/config.xml
以下の変更:
- <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. Wi-Fi に接続します。Wi-Fi 接続に成功すると、感嘆符または疑問符が表示され、使用できません。実際にネットワークにアクセスすることが可能です。
/packages/modules/NetworkStack/res/values/config.xml
Wi-Fi が接続されると、システムは Web サイトにアクセスしてネットワークの接続性を判断します。 Google はデフォルトで Web サイト https://www.google.com/generate_204 を使用します。これは海外からアクセスできますが、国内からアクセスできるとは限りません。国内外からアクセスできるウェブサイトに置き換える必要がある。
- <!-- <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. GMSパッケージの追加方法。通常、GMS パッケージは、partner_gms フォルダーの下にあります。
すべての Partner_gms フォルダーをベンダー ディレクトリにコピーします。
QSS/device/qcom/qssi/qssi.mk ファイルにコマンドを書き込みます。
$(call inherit-product, vendor/partner_gms/products/gms.mk)
4、