Release Vulpes OS Preview 26 with Gecko 161.0 and Tundra 0.2.0
This commit is contained in:
parent
3a1fba4efe
commit
e241a42d2f
6 changed files with 1305 additions and 331 deletions
|
|
@ -3,7 +3,7 @@ def vulpesRelease = new groovy.json.JsonSlurper().parse(rootProject.file('../rel
|
|||
def productVersion = vulpesRelease.version ?: "${vulpesRelease.gaia}-${vulpesRelease.channel}.${vulpesRelease.revision}"
|
||||
android {
|
||||
namespace 'org.vulpes_os.preview'
|
||||
compileSdk { version = release(37) { minorApiLevel = 1 } }
|
||||
compileSdk { version = release(37) { minorApiLevel = 2 } }
|
||||
buildToolsVersion '37.0.0'
|
||||
defaultConfig {
|
||||
applicationId 'org.vulpes_os.preview'
|
||||
|
|
|
|||
|
|
@ -342,6 +342,7 @@ public final class MainActivity extends Activity {
|
|||
params.topMargin = !landscape && overlay ? -dp(44) : 0;
|
||||
params.leftMargin = landscape && overlay ? -dp(44) : 0;
|
||||
home.setLayoutParams(params);
|
||||
home.setVisibility(overlay && app.trayOverHome ? View.INVISIBLE : View.VISIBLE);
|
||||
if (overlay && app.homeAtBottom) home.setBackgroundColor(Color.TRANSPARENT);
|
||||
else if (overlay) home.setBackground(
|
||||
new android.graphics.drawable.GradientDrawable(
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ public final class VulpesApplication extends Application {
|
|||
AndroidNotifications notifications;
|
||||
boolean pendingScreenLock;
|
||||
boolean homeVisible;
|
||||
boolean trayOverHome;
|
||||
boolean homeAtBottom;
|
||||
boolean trackingProtection = true;
|
||||
|
||||
|
|
@ -132,6 +133,7 @@ public final class VulpesApplication extends Application {
|
|||
}
|
||||
if (json.optString("type").equals("navigation")) {
|
||||
homeVisible = json.optBoolean("home");
|
||||
trayOverHome = json.optBoolean("trayOverHome");
|
||||
if (activity != null) activity.setHomeSurface(homeVisible);
|
||||
return GeckoResult.fromValue(null);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -144,6 +144,7 @@ const ready = (async () => {
|
|||
save: (state) => browser.storage.local.set({ alarms: state }),
|
||||
},
|
||||
(callback, delay) => setInterval(callback, delay),
|
||||
timer => clearInterval(timer),
|
||||
);
|
||||
await alarms.init();
|
||||
console.info('VULPES Android services ready');
|
||||
|
|
@ -448,7 +449,7 @@ async function handle(peer, request) {
|
|||
}
|
||||
if (method === 'desktop.navigation') {
|
||||
if (app.id !== 'system' || typeof params?.home !== 'boolean') throw Error('PERMISSION_DENIED');
|
||||
return browser.runtime.sendNativeMessage('vulpes', { type: 'navigation', home: params.home });
|
||||
return browser.runtime.sendNativeMessage('vulpes', { type: 'navigation', home: params.home, trayOverHome: params.trayOverHome === true });
|
||||
}
|
||||
if (method === 'desktop.screen') {
|
||||
if (!app.manifest.permissions?.power) throw Error('PERMISSION_DENIED');
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
"jdk": "Temurin 21.0.12.1+1",
|
||||
"gradle": "9.5.0",
|
||||
"androidGradlePlugin": "9.3.3",
|
||||
"geckoview": "156.0.20260921121718",
|
||||
"geckoview": "161.0.20261118180411",
|
||||
"sdk": [
|
||||
"platforms;android-37.1",
|
||||
"platforms;android-37.2",
|
||||
"build-tools;37.0.0"
|
||||
],
|
||||
"archives": {
|
||||
|
|
@ -17,8 +17,8 @@
|
|||
"url": "https://services.gradle.org/distributions/gradle-9.5.0-bin.zip"
|
||||
},
|
||||
"geckoview.aar": {
|
||||
"sha256": "42f80fcccbbe72c17f67bc7be3044cae097e4cb61a9084b406ec935f66e8edca",
|
||||
"url": "https://maven.mozilla.org/maven2/org/mozilla/geckoview/geckoview/156.0.20260921121718/geckoview-156.0.20260921121718.aar"
|
||||
"sha256": "56523d3b98cf09a127e7ea019c674cf951d85182fd534143d3079b5344be637b",
|
||||
"url": "https://maven.mozilla.org/maven2/org/mozilla/geckoview/geckoview/161.0.20261118180411/geckoview-161.0.20261118180411.aar"
|
||||
},
|
||||
"commandlinetools.zip": {
|
||||
"url": "https://dl.google.com/android/repository/commandlinetools-linux-13114758_latest.zip",
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ def main():
|
|||
for _, _, _, executable in installs
|
||||
if not executable.is_file()
|
||||
]
|
||||
packages = [sdk / "platforms/android-37.1/android.jar", sdk / "build-tools/37.0.0/apksigner"]
|
||||
packages = [sdk / "platforms/android-37.2/android.jar", sdk / "build-tools/37.0.0/apksigner"]
|
||||
if args.check:
|
||||
missing += [str(path.relative_to(ROOT)) for path in packages if not path.is_file()]
|
||||
if missing:
|
||||
|
|
|
|||
Loading…
Reference in a new issue