commit | 23e8fa1020b060ae968a5ddbe1d6363c022bc98d | [log] [tgz] |
---|---|---|
author | Zhen Zhang <zzhen@google.com> | Tue Dec 10 14:52:42 2019 -0800 |
committer | Zhen Zhang <zzhen@google.com> | Tue Dec 17 12:46:55 2019 -0800 |
tree | 853f86e52caee8bf62c320328828e2402ca77966 | |
parent | 65c7da6e5cda5b629ee4cda1f80aa9679096b5e1 [diff] |
Create a TetherEnabler class to manage tether settings switch This class is created to manage the switch state of overall tethering state. It can turn on/off each type of tethering based on stored value in SharedPreference. Also, it listens to data saver state change. Bug: 145923107 Test: TetherEnablerTest Change-Id: I7f360329569f53f34cf13065aa0e00ad9b55f659