• Home
  • History
  • Annotate
  • only in /frameworks/base/packages/CaptivePortalLogin/src/
History log of /frameworks/base/packages/CaptivePortalLogin/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e7d0179df53326a24c5b23812ea5d90a26c2d0a1 20-Jul-2015 Erik Kline <ek@google.com> Change to connectivitycheck.gstatic.com

Bug: 18869302
Bug: 22368233
Change-Id: Iaecb59e4ef13a0fa82a0a4a920689804d24044c8
om/android/captiveportallogin/CaptivePortalLoginActivity.java
49e3edff5156f471819e4ea2a88994bca70bd870 22-May-2015 Paul Jensen <pauljensen@google.com> Add android.net.CaptivePortal class for captive-portal-handling-app callbacks

This new class replaces the awkward string token and ConnectivityManager APIs
used by apps handling captive portals.

Bug:21343774
Change-Id: I1a2c69edb17322715bf8422bb4216b0ea60bfd59
om/android/captiveportallogin/CaptivePortalLoginActivity.java
41ff524a6325feb8dc9d3d64545c5f2aeb964f34 09-Jun-2015 Paul Jensen <pauljensen@google.com> Log SslErrors from captive portal sign in app.

Bug:21604873
Change-Id: I0361da37039bb4f0f9d2e0dabbae4ab2ddbb05e3
om/android/captiveportallogin/CaptivePortalLoginActivity.java
fd54da9b7ccf8218bb99cbbe540fd71ea411508b 09-Jun-2015 Paul Jensen <pauljensen@google.com> Add support for tel: links in captive portal app.

Bug:21447011
Change-Id: I72ec4fd780ddb89cecfa584aa285f3822f326810
om/android/captiveportallogin/CaptivePortalLoginActivity.java
e836b6847af968460f36a4e6649b8cb6f6da18db 19-May-2015 Paul Jensen <pauljensen@google.com> Disallow going back to initial empty page in captive portal app

This is a little tricky because WebView history can only be cleared
after the next page load and we don't want to allow hitting back
during the first page load.

Bug:21147832
Change-Id: I639dfd27d4dc3af618282256ca02b9947e64a7b9
om/android/captiveportallogin/CaptivePortalLoginActivity.java
65636fb23c86e546dc4ce584481fa58bf72e4945 06-May-2015 Paul Jensen <pauljensen@google.com> Update captive portal sign-in app SSL error page UI.

Add text and update image as per UX team recommendations.
Add "Use as is and open browser" link.

Bug:18791346
Bug:20038019
Bug:20486308
Change-Id: Ibf6d1493f5332e7905154cc7306645ac4c1a6283
om/android/captiveportallogin/CaptivePortalLoginActivity.java
868f6243bc6021465938a7b764bef8fd001cb39c 18-May-2015 Paul Jensen <pauljensen@google.com> Don't leak NetworkListens in captive portal app.

Bug:21146632
Change-Id: I934044a2eec89a47185add881a74de5669cd0f89
om/android/captiveportallogin/CaptivePortalLoginActivity.java
5344a4abdf239a19485a9c858b6cc3be96002eac 06-May-2015 Paul Jensen <pauljensen@google.com> Add URL bar to captive portal login app.

Keeps the user informed whether site is using SSL and what URL is being
displayed in an attempt to avoid phishing. The progress bar is now
always visible as it provides a border between the URL bar and WebView.

Bug:20322548
Change-Id: I001a4501a02cc79080b0f37f0a304c609bbd7664
om/android/captiveportallogin/CaptivePortalLoginActivity.java
a179962b61a9c41e8859ce642471928f1ad33c60 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '25a217c' into merge2

Change-Id: I116a9dbf19e95651a7c50393e4dcd7fb59ca3f3f
25a217c0fbda9bbaf58ec08b91115e99f73b727f 28-Feb-2015 Paul Jensen <pauljensen@google.com> Add captive portal API.

This API allows apps other than the system's CaptivePortalLogin
to handle signing in to captive portals.

bug:19416463
Change-Id: I27fce5856b635233e6ff66396d50ccabedd76cf5
om/android/captiveportallogin/CaptivePortalLoginActivity.java
57bf2a8a38e929f00f3323cf97a8ea7a9af900ce 11-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit 'e593d0a' into merge_work

Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
72db88e46fba5f2581eb21c042dc79887cda1c10 10-Mar-2015 Paul Jensen <pauljensen@google.com> Deprecate static ConnectivityManager.get/setProcessDefaultNetwork() functions.

These functions risk hitting an unchecked Exception due to ConnectivityManager
not being instantiated yet. Also, change Network.openConnection() to throw a
checked Exception rather than an unchecked Exception when ConnectivityManager
is not yet instantiated.

bug:19416463
Change-Id: Ie1e2b3238aec0343d267c76b64927073f2f05f85
om/android/captiveportallogin/CaptivePortalLoginActivity.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
om/android/captiveportallogin/CaptivePortalLoginActivity.java
cd29cb66f92b008e8547f70b30223ce8dbc1fb86 13-Jan-2015 Lorenzo Colitti <lorenzo@google.com> Switch the connectivity check to its own hostname.

Bug: 18467482
Bug: 18869302
Bug: 18924197
Change-Id: I1de478e9c8a165faf6f1bf81e042d1de9e03c3d5
om/android/captiveportallogin/CaptivePortalLoginActivity.java
ee8feae5d4624e6759e264cc80eac28b0d0af20f 17-Dec-2014 Paul Jensen <pauljensen@google.com> Merge "Show broken lock image when SSL errors are encountered in CaptivePortalLogin." into lmp-mr1-dev
e0bef71662d81caaaa0d7214fb0bef5d39996a69 10-Dec-2014 Paul Jensen <pauljensen@google.com> Fix several HTTP proxy issues with multinetworking.

1. Send PROXY_CHANGE_ACTION broadcast when any network's proxy changes,
not just the default network.
2. When a process is bound to a particular Network, update the proxy
system properties to those for the bound Network, and keep them
updated when PROXY_CHANGE_ACTION broadcasts are received.
3. Make Network.openConnection() use the proxy for the Network.

bug:17905627
bug:17420465
bug:18144582

(cherry-pick of https://android-review.googlesource.com/#/c/115170)

Change-Id: Ia2819985e6108a8c121e74c683a5646becfd0a97
om/android/captiveportallogin/CaptivePortalLoginActivity.java
fc8022f8cfffded3d94baef3ba5e5ce936799b06 09-Dec-2014 Paul Jensen <pauljensen@google.com> Show broken lock image when SSL errors are encountered in CaptivePortalLogin.

The WebView cancels the page load by default, so showing an indicative image
at least informs users that there is a security problem.

bug:18505835
bug:18570703
Change-Id: Ie6dd9294eec9ca25d27e95a1cd2c95e3065de469
om/android/captiveportallogin/CaptivePortalLoginActivity.java
71b645fe9cb8106dfcbf025a3fd7f58698c051bb 13-Oct-2014 Paul Jensen <pauljensen@google.com> Don't let NetworkMonitor state stop user-initiated transitions.

GCM can call reportInetCondition() at any time which can cause
the NetworkMonitor to transition states to reevaluate at any time.
Previously we were only listening for users clicking the sign-in
notificaiton or completing sign-in when in the appropriate state.
With this change NetworkMonitor's state does not stop us from
listening for the user's actions.

bug:17917929
Change-Id: Ic1da31d90f7090e5fc111874cb7c37d505aaf590
om/android/captiveportallogin/CaptivePortalLoginActivity.java
88eb0fa8eec7da1b7a3bd39f9d9844909911bc64 02-Oct-2014 Paul Jensen <pauljensen@google.com> Use network-specific HTTP proxy settings in captive portal login app.

The HTTP proxy system properties are set based on the proxy configured
for the network the captive portal login app is operating on. These
system properties are subsequently read by the WebView used to perform
the sign-in.
This is a short-term fix using reflection. This allows users with
cellular providers that use proxies to sign into WiFi captive portals.
The long-term fix could involve:
1. Sending out a network-specific proxy config changed broadcast, and
2. Modifying the ActivityThread to set proxy system properties for
Networks selected with setProcessDefaultNetwork(), and
3. Modifying WebView to read from the proxy system properties when
PROXY_CHANGE_ACTION broadcasts are received.

bug:17679789
Change-Id: I3ada0470ad085df1a4452b4a655ac35f310d2241
om/android/captiveportallogin/CaptivePortalLoginActivity.java
8df099df1516d23c113be3121635dcd34984a4a0 26-Sep-2014 Paul Jensen <pauljensen@google.com> Make CaptivePortalLogin app exit if underlying Network disconnects.

The app is no longer useful if the underlying Network has disconnected
and could get in the way of another signing into another Network.

bug:17672087
Change-Id: I26e820444640975e7fd4dd73244f4d4f4b40cb5e
om/android/captiveportallogin/CaptivePortalLoginActivity.java
8f333f19222ac9415152e31f10e0df2b571b0b77 06-Aug-2014 Paul Jensen <pauljensen@google.com> Switch CaptivePortalLogin app to use theme like Settings UI.

The theme is switched to Theme.Material.Settings. The progress bar
window feature is not supported in Material (b/16652978) so I added
a progress bar to the layout. The Theme.Material.Setting's accent
color is set such that ProgressBars are indistinguishable, so accent
color is reset back to the parent's setting.

bug:15409354
Change-Id: Ic2862b8439be8591ec426f3d4dffad72179b2539
om/android/captiveportallogin/CaptivePortalLoginActivity.java
b6ea9ee6fe6fc205f4f8be593ca993d594e8d504 18-Jul-2014 Paul Jensen <pauljensen@google.com> Make back button work in CaptivePortalLogin app like a web browser.

Users will be using the app to navigate web pages like they are used to in
web browsers, so the back button should act similarly. There also isn't
an in-app back button so this adds essentially necessary functionality.

bug:16397616
Change-Id: Idd73d4a048d79e56bf981a8f477336f00eaafc3b
om/android/captiveportallogin/CaptivePortalLoginActivity.java
869868be653cb8eedd338e8347dfee1520d38cec 15-May-2014 Paul Jensen <pauljensen@google.com> Enable network validations and add app to handle captive portal login.

Network validation prevents networks claiming to provide internet connectivity
from becoming the default network in cases where internet connectivity is not
found to actually exist.
If a captive portal is encountered the appropriate broadcasts and notifications
are surfaced to allow apps to handle signing in. If no app handles signing in,
my system app will handle it.

Bug:15409233
Bug:15409354

Change-Id: Ie240d7eac4bdbab8cc7578782bd72d8b26de7951
om/android/captiveportallogin/CaptivePortalLoginActivity.java