Commit Graph

5 Commits

Author SHA1 Message Date
Yo Chiang
a366690de1 Remove feature flag "settings_dynamic_system"
Bug: 176795908
Test: Presubmit
Test: DSULoader
Change-Id: Ib6b450489c63913c47858cf295e4785fd5d0cfbb
2021-01-13 12:32:00 +08:00
Howard Chen
3562ec3196 Pathfind a way to Validate DSU before releasing GSI
Provide an alternative DSU portal for testing. It can be enabled or
disabled with the setprop command.

Test: Developer Settings -> DSULoader and check logcat
Bug: 152403883
Change-Id: Id1a7bb2a03d7243299f639e654a1c1a086b87545
2020-04-13 07:09:09 +00:00
Howard Chen
9266fe32f7 Add security patch level check in DSULoader
There's an enforced check enabled in locked devices. It requires
the installed DSU to have a security patch level equal or higher
than the device. This CL adds the SPL check in the DSULoader.

Bug: 151790609
Test: Developer Settings -> DSULoader
Change-Id: Ifef4175e846f58d8033cf161d7fec8481dc0532b
2020-04-05 06:21:09 +00:00
Howard Chen
60acb519c0 Show terms of service before install GSI/DSU
Test: settings->developer option->debug::DSU Loader
Bug: 144248769
Change-Id: Id5fa7f88544191736eb0c5db6334fd367c1be426
2019-12-05 13:29:53 +08:00
Howard Chen
d5f3a0ca75 Add a GSI/DSU Loader to the developer option.
The Generic System Image (GSI) is a pure Android implementation with unmodified
Android Open Source Project (AOSP) code. The Dynamic System Updates (DSU) is a
Android Q feature that can download a system image and boot into it without the
factory rom being corrupted. This CL adds a DSU Loader which is a friendly
front-end that offers developers the ability to boot into GSI with one-click.
The DSU loader also offers the flexibility to overwrite the default setting
and load OEMs owned images.

Bug: 140090894
Test: click settings->developer option->debug::DSU Loader
    make -j32 RunSettingsRoboTests
Change-Id: Ia2a1b69b52047dd841dedf7f07b07f7ad3e65d46
2019-12-04 12:30:01 +08:00