GrapheneOS-Archive / legacy_bugtracker

See the new issue tracker for GrapheneOS at https://github.com/GrapheneOS/os_issue_tracker.
112 stars 11 forks source link

System Updates settings applet is absent #846

Closed Rudd-O closed 6 years ago

Rudd-O commented 6 years ago

For the past few builds I've made, the Updater app settings is absent and I cannot trigger an update check. Why is that happening?

thestinger commented 6 years ago

The Updater package is only included if OFFICIAL_BUILD is set to true in the environment. You either need to export OFFICIAL_BUILD=true after pointing it at your own update server or you need to unconditionally add the Updater package.

That's done because people kept making unofficial builds with the Updater app pointed at our server so it was wasting a bunch of our resources and their data / battery life without them realizing it.

thestinger commented 6 years ago

Look for OFFICIAL_BUILD in device/google/marlin or the relevant device repository.

Rudd-O commented 6 years ago

OK. Thanks.

Rudd-O commented 6 years ago

https://github.com/Rudd-O/copperheados-build/commit/d7341b9c6346017d9a0d38b7594e9ed39b3777a9 is where this was implemented.