commit | 5a1c436fda7c8e3d250e03368d37941e021766b0 | [log] [tgz] |
---|---|---|
author | Chaohui Wang <chaohuiw@google.com> | Thu Dec 15 12:27:56 2022 +0800 |
committer | Chaohui Wang <chaohuiw@google.com> | Thu Dec 15 15:06:09 2022 +0000 |
tree | 2e19ed05d2ea376e3e6d33717d8fa73f35b4da16 | |
parent | 61944640463725a570bccb3754a02506c632dab1 [diff] |
Move AppItem into AppListModel For better unit testings. The AppItem used to be write with AppListPage, which is a little bit hard to test, by moving it into AppListModel, AppItem could be tested as other methods in AppListModel. Also add more test cases for TogglePermissionAppInfoPage and TogglePermissionAppListPage. Bug: 260660819 Test: Unit test Test: Manually with Settings Change-Id: I646add1434d435ca3a8dbf7b34f39a705bae8754