commit | 03b8cd76ac526e551c5218e074c63cc703b489d4 | [log] [tgz] |
---|---|---|
author | cosmohsieh <cosmohsieh@google.com> | Tue Mar 26 15:22:08 2019 +0800 |
committer | cosmohsieh <cosmohsieh@google.com> | Fri Mar 29 10:15:21 2019 +0800 |
tree | daa75249718fb6957a9afa84cf5018d5b86084d4 | |
parent | 7c49d1505fcbbf71e9cf6245e36f61a4ba82c7af [diff] |
[Network Connection] Correct canceling dialog behavior Use setCancelable() rather than setCanceledOnTouchOutside() for better code smell and consisting with general not canceling behavior. The back key and touching outside will not cancel this dialog for better UX. Bug: 128877712 Test: atest NetworkRequestDialogFragmentTest Change-Id: I19bc5637a7307610e34db15d54c1d80d5b7e379b