OSDN Git Service

Instrument captive portal login activity
authorHugo Benichi <hugobenichi@google.com>
Mon, 5 Jun 2017 05:52:24 +0000 (14:52 +0900)
committerHugo Benichi <hugobenichi@google.com>
Wed, 12 Jul 2017 06:22:03 +0000 (15:22 +0900)
commit508d9c2c42a435264cbb563b7b81573a68f03478
treef5343d69e1b03908c9573231c8eb1d4ba10b5382
parenteed04347e73b07c7c726453c5931b335ce5f0303
Instrument captive portal login activity

Also add CAPTIVE_PORTAL_LOGIN_ACTIVITY_SSL_ERROR constants to
metrics_constants.proto for counting ssl error pages shown by the
captive portal login activity.

Bug: 36203355
Bug: 34901696
Bug: 36532213
Test: manually tested with captive portal testing setup while watching
      event logs: adb logcat -b events | grep captiveportallogin
        06-08 16:25:20.279 21558 21558 I sysui_action: [1004,com.android.captiveportallogin]
        06-08 17:01:04.052 21558 21558 I sysui_action: [1007,com.android.captiveportallogin]

Merged-In: Ia05853506d424ad4cb2c11770ae7718fbef3f01c
Merged-In: I55ea3c61842f16bf6a98e812fb6dc940f96f895c
Merged-In: I38b8e4dd3d62ad1261695780aeb2377f26a25997
Merged-In: I9184f6263a003c2be28f41a550c6164c8d6ee907

(cherry picked from commit c61dc92fc0619d101c4b789f6305012701cc47a0)

Change-Id: I89ca3dfc74d09b7b2d303c0eb01b7b9883b01a42
packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
proto/src/metrics_constants.proto