Loading .gitignore +0 −1 Original line number Diff line number Diff line # Built application files *.apk *.aar *.ap_ *.aab Loading app/build.gradle.kts +3 −0 Original line number Diff line number Diff line Loading @@ -206,4 +206,7 @@ dependencies { // elib implementation(libs.elib) implementation(libs.telemetry) // Logtif implementation(libs.logtif) } app/libs/logtif.aar 0 → 100644 +145 KiB File added.No diff preview for this file type. View file app/src/main/java/foundation/e/blisslauncher/BlissLauncher.java +4 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,8 @@ import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.klee.logtif.Logtif; import foundation.e.blisslauncher.core.DeviceProfile; import foundation.e.blisslauncher.core.IconsHandler; import foundation.e.blisslauncher.core.blur.BlurWallpaperProvider; Loading Loading @@ -69,6 +71,8 @@ public class BlissLauncher extends Application { } else { Timber.plant(new Timber.DebugTree()); } Logtif.INSTANCE.init(this, "BlissLauncherChannel"); } private void onNotificationSettingsChanged() { Loading app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdater.java +4 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.google.gson.JsonSyntaxException; import com.klee.logtif.Logtif; import java.io.IOException; import java.lang.ref.WeakReference; Loading Loading @@ -125,6 +126,7 @@ public class WeatherUpdater { weatherManager.requestWeatherUpdate(location, (status, weatherInfo) -> notifyUi(context, weatherInfo, status)); } @SuppressLint("MissingPermission") private synchronized void onNewLocationFetched(@Nullable Location location) { if (location == null) { Timber.tag(TAG).i("Could not fetch any location"); Loading @@ -148,10 +150,12 @@ public class WeatherUpdater { if (weatherInfo == null) { Timber.tag(TAG).i("WeatherInfo is null. Status reported: %s", status); Logtif.INSTANCE.log(Logtif.ERROR, "Could not fetch weather %d", status); return; } Timber.tag(TAG).i("WeatherInfo=%s", weatherInfo); Logtif.INSTANCE.log(Logtif.INFO, "New weather info for " + weatherInfo.getCity()); Preferences.setCachedWeatherInfo(context, now, weatherInfo); Intent updateIntent = new Intent(WeatherUpdateService.ACTION_UPDATE_FINISHED); Loading Loading
.gitignore +0 −1 Original line number Diff line number Diff line # Built application files *.apk *.aar *.ap_ *.aab Loading
app/build.gradle.kts +3 −0 Original line number Diff line number Diff line Loading @@ -206,4 +206,7 @@ dependencies { // elib implementation(libs.elib) implementation(libs.telemetry) // Logtif implementation(libs.logtif) }
app/src/main/java/foundation/e/blisslauncher/BlissLauncher.java +4 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,8 @@ import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.klee.logtif.Logtif; import foundation.e.blisslauncher.core.DeviceProfile; import foundation.e.blisslauncher.core.IconsHandler; import foundation.e.blisslauncher.core.blur.BlurWallpaperProvider; Loading Loading @@ -69,6 +71,8 @@ public class BlissLauncher extends Application { } else { Timber.plant(new Timber.DebugTree()); } Logtif.INSTANCE.init(this, "BlissLauncherChannel"); } private void onNotificationSettingsChanged() { Loading
app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdater.java +4 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.google.gson.JsonSyntaxException; import com.klee.logtif.Logtif; import java.io.IOException; import java.lang.ref.WeakReference; Loading Loading @@ -125,6 +126,7 @@ public class WeatherUpdater { weatherManager.requestWeatherUpdate(location, (status, weatherInfo) -> notifyUi(context, weatherInfo, status)); } @SuppressLint("MissingPermission") private synchronized void onNewLocationFetched(@Nullable Location location) { if (location == null) { Timber.tag(TAG).i("Could not fetch any location"); Loading @@ -148,10 +150,12 @@ public class WeatherUpdater { if (weatherInfo == null) { Timber.tag(TAG).i("WeatherInfo is null. Status reported: %s", status); Logtif.INSTANCE.log(Logtif.ERROR, "Could not fetch weather %d", status); return; } Timber.tag(TAG).i("WeatherInfo=%s", weatherInfo); Logtif.INSTANCE.log(Logtif.INFO, "New weather info for " + weatherInfo.getCity()); Preferences.setCachedWeatherInfo(context, now, weatherInfo); Intent updateIntent = new Intent(WeatherUpdateService.ACTION_UPDATE_FINISHED); Loading