| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Cyanogenmod setupwizard sends a token to validate when the result is sent. Handle this token.
Issue-id: CYNGNOS-2048
Change-Id: I7b76e0df32288bf2efd60c495d6e726065353435
|
|
|
|
| |
Change-Id: I6246b8b354c124dc672efb1f18492c133208660d
|
|
|
|
| |
Change-Id: I9ccb7ee5e8882acfaa6afc5cd9efa9211058ed60
|
|
|
|
|
|
| |
Bug: 18869302
Bug: 22368233
Change-Id: Iaecb59e4ef13a0fa82a0a4a920689804d24044c8
|
|
|
|
|
|
|
|
| |
This new class replaces the awkward string token and ConnectivityManager APIs
used by apps handling captive portals.
Bug:21343774
Change-Id: I1a2c69edb17322715bf8422bb4216b0ea60bfd59
|
|
|
|
|
| |
Bug:21604873
Change-Id: I0361da37039bb4f0f9d2e0dabbae4ab2ddbb05e3
|
|
|
|
|
| |
Bug:21447011
Change-Id: I72ec4fd780ddb89cecfa584aa285f3822f326810
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug:21146632
Change-Id: I934044a2eec89a47185add881a74de5669cd0f89
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
Change-Id: I116a9dbf19e95651a7c50393e4dcd7fb59ca3f3f
|
| |
| |
| |
| |
| |
| |
| |
| | |
This API allows apps other than the system's CaptivePortalLogin
to handle signing in to captive portals.
bug:19416463
Change-Id: I27fce5856b635233e6ff66396d50ccabedd76cf5
|
|\ \
| |/
| |
| | |
Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
|
|
|
|
|
|
|
| |
Bug: 18467482
Bug: 18869302
Bug: 18924197
Change-Id: I1de478e9c8a165faf6f1bf81e042d1de9e03c3d5
|
|\
| |
| |
| | |
CaptivePortalLogin." into lmp-mr1-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|