OSDN Git Service

[Network Connection] Call NetworkRequestUserSelectionCallback#reject() if user quit...
authorcosmohsieh <cosmohsieh@google.com>
Wed, 4 Sep 2019 04:55:27 +0000 (12:55 +0800)
committercosmohsieh <cosmohsieh@google.com>
Wed, 4 Sep 2019 17:06:10 +0000 (01:06 +0800)
commit0f2773fb786b74738720af0897a80a0cc580bc46
treec774e881661caa6fa5d9aeb67ffb57499dd665d8
parent34b1e00ca746ca8cd88e14a0fa0f2a40e6f51706
[Network Connection] Call NetworkRequestUserSelectionCallback#reject() if user quit activity without selection

Call NetworkRequestUserSelectionCallback#reject() to notify framework that user quit this request without
selecting any network.

Bug: 138855477
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.NetworkRequestErrorDialogFragmentTest
Change-Id: I4b06c9772598ab3f9416f32456cd0a65e2d70d68
src/com/android/settings/wifi/NetworkRequestDialogActivity.java
src/com/android/settings/wifi/NetworkRequestErrorDialogFragment.java
tests/robotests/src/com/android/settings/wifi/NetworkRequestErrorDialogFragmentTest.java