commit | 625353b5bfddcc139790d7b4a6ea67a648ffb995 | [log] [tgz] |
---|---|---|
author | Yang Sun <sunytt@google.com> | Sat Jan 06 17:52:41 2024 +0800 |
committer | Yang Sun <sunytt@google.com> | Fri Jan 26 15:53:43 2024 +0800 |
tree | 01509b92b9ae1281db13bc943683860d02e06039 | |
parent | 0797d9d5017a4e43d99c5e17d3a23d739decc871 [diff] |
Add service implementation for ThreadNetworkController#setEnabled ThreadNetworkControllerService handles setEnabled requests and asks ot-daemon to enable/disable Thread. The desired Thread enabled state is saved in thread persistent setttings, the setting is loaded at bootup. Bug: 299243765 Test: atest CtsThreadNetworkTestCases:android.net.thread.cts.ThreadNetworkControllerTest Change-Id: Ifd0135433df25d9c6cfd3f365dd06ec7908268e7