commit | a4fe5c98714dbab424980fcee4820b88aa5d8a77 | [log] [tgz] |
---|---|---|
author | Salvador Martinez <dehboxturtle@google.com> | Tue Apr 24 16:03:34 2018 -0700 |
committer | Salvador Martinez <dehboxturtle@google.com> | Thu Apr 26 10:14:54 2018 -0700 |
tree | 5c7ed44e6c131f433cf77400e5eecdc41cb61caf | |
parent | 465f6da15b804e3ff077d78a76296340b24a5c3b [diff] |
Only start tether when not already enabled The toggle in the tether page currently tries to start tethering if it gets turned on. However, changing a wifi config can cause startTether to be called and also the toggle to switch leading to a double call to startTether. This CL makes it so that if we are already connected to tethering we don't try to start it again. Test: robotests Change-Id: I91085244c5d1fcc245a6b6480e638a32bc14f0ac Fixes: 78028548 Fixes: 78441216 Fixes: 74368363