History log of /packages/apps/Settings/src/com/android/settings/wifi/ConnectedAccessPointPreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5178a9d07a501262f92ef6e37227ada57ab32954 20-Mar-2018 Adam Newman <homebrew@google.com> Observe NetworkCallback instead of polling

Switch from polling for the first connected WiFi network to observing
the currently connected WiFi network and associating that with the
preference at the time the preference is created or updated.

Whenever the ConnectedAccessPointPreference is removed or UI is stopped
unregister the callback.

Bug:68031656
Test: make RunSettingsRoboTests
Change-Id: I5d1ed83b6a13e8a83fae04bfdce8d0f13c2ba0ac
/packages/apps/Settings/src/com/android/settings/wifi/ConnectedAccessPointPreference.java
c6b4f3d92c82167205ccc5af11e0d9c3250cb8c3 09-Mar-2018 Adam Newman <homebrew@google.com> Enable launching captive portal directly

Whenever a user has connected to a captive portal network, split the
ConnectedAccessPointPreference to allow directly signing into the
captive portal or modifying the network's settings. When in any other
network state, use the old behavior of a single tappable preference that
takes the user to settings.

Bug: 63929546
Bug: 68031656
Test: make RunSettingsRoboTests
Test: manual by connecting to Captive Portal and normal WiFi networks.

Change-Id: I444202a12138d90c94bda94945c121c8c0810536
(cherry picked from commit 7577624db7bf9d9c8382161bab25849589822601)
/packages/apps/Settings/src/com/android/settings/wifi/ConnectedAccessPointPreference.java
a2b151efbe819af04885237bf0ffdb341c56e7a7 27-Jan-2018 jackqdyulei <jackqdyulei@google.com> Remove the second target for ConnectedApPreference

Also create new gear layout since previous one has its own
ripple, which conflicts the normal preference ripple.

Fixes: 72528535
Fixes: 72442172
Test: Screenshot | RunSettingsRoboTests

Change-Id: I6a253574d0a5c971104c157584d66c3312764a26
/packages/apps/Settings/src/com/android/settings/wifi/ConnectedAccessPointPreference.java
fbede9c080bd6d3d40e1e969239f44ccea058233 02-Nov-2017 jackqdyulei <jackqdyulei@google.com> Add ConnectedAccessPointPreference

This preference contains:
1. All the logic from AccessPointPreference
2. Gear icon on the right

Bug: 68807544
Test: RunSettingsRoboTests & Screenshot
Change-Id: I128401d81b075c4e9c5ca711562de26e73147745
/packages/apps/Settings/src/com/android/settings/wifi/ConnectedAccessPointPreference.java