LeOS-GSI/patches/leos/platform_packages_modules_S.../0001-captivePortal.patch

27 lines
1.2 KiB
Diff

From 2eb5d67413371b76cb046a2275fb1b53faf35c56 Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Mon, 8 Jan 2024 09:21:14 +0100
Subject: [PATCH] captivePortal
Change-Id: I31d096dcd6e5d527f7117fa3523b4efade5b2622
---
.../src/com/android/server/cts/device/statsd/AtomTests.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/AtomTests.java b/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/AtomTests.java
index 41481392..9a7b5ec1 100644
--- a/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/AtomTests.java
+++ b/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/AtomTests.java
@@ -672,7 +672,7 @@ public class AtomTests {
// Constants which are locally used by doGenerateNetworkTraffic.
private static final int NETWORK_TIMEOUT_MILLIS = 15000;
private static final String HTTPS_HOST_URL =
- "https://connectivitycheck.gstatic.com/generate_204";
+ "http://captiveportal.kuketz.de/generate_204";
private void doGenerateNetworkTraffic(@NonNull Context context, int transport)
throws InterruptedException {
--
2.34.1