Disable OTA update checks by pointing at an unresolvable host
The updater stays in place, but its releases URL now uses the .invalid TLD (RFC 2606), so checks fail instead of offering upstream's Turkish builds over this one. Swap in a fork's releases API to re-enable it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -62,9 +62,14 @@ final class OtaUpdater {
|
||||
* signed with a different key, and Android refuses to install over a platform-signed
|
||||
* build with anything but the same signature. Pointing here means the check finds
|
||||
* nothing until this repository publishes a release, which is the intended quiet.
|
||||
*
|
||||
* Disabled for now: the .invalid TLD (RFC 2606) never resolves, so every check fails
|
||||
* with "Update check failed" instead of offering upstream's builds over this one. To
|
||||
* re-enable, point this at a fork's releases API, e.g.
|
||||
* "https://api.github.com/repos/<owner>/<repo>/releases".
|
||||
*/
|
||||
private static final String RELEASES_API =
|
||||
"https://api.github.com/repos/fatihdonmezdev/FatihsMG4/releases";
|
||||
"https://updates.invalid/repos/fatihdonmezdev/FatihsMG4/releases";
|
||||
|
||||
/**
|
||||
* Hosts an update may come from. The githubusercontent entries are the CDNs GitHub
|
||||
|
||||
Reference in New Issue
Block a user