- 博客(0)
- 资源 (3)
- 收藏
- 关注
H6-设置hdmi默认输出720p.doc
默认hdmi输出720p设置
[disp]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 3
screen0_output_mode = 4
screen0_output_format = 1
screen0_output_bits = 0
screen0_output_eotf = 4
screen0_output_cs = 257
screen0_output_dvi_hdmi = 2
screen0_output_range = 2
screen0_output_scan = 0
screen0_output_aspect_ratio = 8
screen1_output_type = 3
screen1_output_mode = 2
screen1_output_format = 1
screen1_output_bits = 0
screen1_output_eotf = 4
screen1_output_cs = 260
screen1_output_dvi_hdmi = 2
screen1_output_range = 2
screen1_output_scan = 0
screen1_output_aspect_ratio = 8
dev0_output_type = 4
dev0_output_mode = 4
dev0_screen_id = 0
dev0_do_hpd = 1
dev1_output_type = 2
dev1_output_mode = 11
dev1_screen_id = 1
dev1_do_hpd = 1
dev2_output_type = 0
def_output_dev = 0
hdmi_mode_check = 1
fb0_format = 0
fb0_width = 1280
fb0_height = 720
fb1_format = 0
fb1_width = 0
fb1_height = 0
disp_para_zone = 1
2020-04-01
android 6.0 连wifi有感叹号,提示已连接WiFi无法连接网络.doc
framework-base
diff --git a/services/core/java/com/android/server/connectivity/NetworkMonitor.java b/services/core/java/com/android/server/connectivity/NetworkMonitor.java
index 35e80ca..06a07c2 100755
--- a/services/core/java/com/android/server/connectivity/NetworkMonitor.java
+++ b/services/core/java/com/android/server/connectivity/NetworkMonitor.java
@@ -671,7 +671,7 @@ public class NetworkMonitor extends StateMachine {
HttpURLConnection urlConnection = null;
int httpResponseCode = 599;
try {
- URL url = new URL("http", mServer, "/generate_204");
+ URL url = new URL("http", "www.baidu.com", "/more/index.html");
// On networks with a PAC instead of fetching a URL that should result in a 204
// reponse, we instead simply fetch the PAC script. This is done for a few reasons:
// 1. At present our PAC code does not yet handle multiple PACs on multiple networks
@@ -730,6 +730,11 @@ public class NetworkMonitor extends StateMachine {
// There's no point in considering this a captive portal as the user cannot
// sign-in to an empty page. Probably the result of a broken transparent proxy.
// See http://b/9972012.
+ if (httpResponseCode == 200) {
+ if (DBG) log("www.baidu.com 200 response interpreted as 204 response.");
+ httpResponseCode = 204;
+ }
+
if (httpResponseCode == 200 && urlConnection.getContentLength() == 0) {
if (DBG) log("Empty 200 response interpreted as 204 response.");
httpResponseCode = 204;
2020-04-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人