Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5dfe8206 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

temp fixes

parent f389aab4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ import android.content.IntentFilter;
import android.content.ServiceConnection;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.graphics.Color;
import android.icu.text.DateFormat;
import android.net.Uri;
import android.os.Build;
@@ -532,7 +533,7 @@ public class UpdatesActivity extends UpdatesListActivity implements UpdateImport

    @Override
    public void showSnackbar(int stringId, int duration) {
        Snackbar.make(findViewById(R.id.main_container), stringId, duration).setTextColor(ContextCompat.getColor(this, R.color.e_background)).show();
        Snackbar.make(findViewById(R.id.main_container), stringId, duration).setTextColor(Color.parseColor("#FFFFFF")).show();
    }

    private void refreshAnimationStart() {
+2 −2
Original line number Diff line number Diff line
@@ -52,10 +52,10 @@ public class UpdatesCheckReceiver extends BroadcastReceiver {
            String eLicenseID = Settings.Secure.getString(context.getContentResolver(),
                    "e_license_id");
            String anonHash = Settings.Secure.getString(context.getContentResolver(),
                    Settings.Secure.OTA_ANON_HASH);
                    "ota_anon_hash");
            if (anonHash == null || anonHash.isEmpty()) {
                Settings.Secure.putString(context.getContentResolver(),
                        Settings.Secure.OTA_ANON_HASH, (eLicenseID != null &&
                        "ota_anon_hash", (eLicenseID != null &&
                        !eLicenseID.isEmpty()) ? eLicenseID : Utils.generateRandomID());
            }

+1 −1
Original line number Diff line number Diff line
@@ -245,7 +245,7 @@ public class Utils {
                SystemProperties.get(Constants.PROP_DEVICE));
        String type = SystemProperties.get(Constants.PROP_RELEASE_TYPE).toLowerCase(Locale.ROOT);
        String anonHash = Settings.Secure.getString(context.getContentResolver(),
                Settings.Secure.OTA_ANON_HASH);
                "ota_anon_hash");

        String serverUrl = SystemProperties.get(Constants.PROP_UPDATER_URI);
        if (retrieveStatus(context) != null && retrieveStatus(context).equals("true")