Release Vulpes OS Preview 26 with Gecko 161.0 and Tundra 0.2.0

This commit is contained in:
OverSu 2026-12-01 22:22:00 +01:00
commit e241a42d2f
3 changed files with 1305 additions and 331 deletions

View file

@ -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'

View file

@ -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(

View file

@ -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);
}