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

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

Apply Spotless formatting across the project

parent 31dd7364
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -13,17 +13,16 @@ android {
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_21
        targetCompatibility JavaVersion.VERSION_21
    }
}

dependencies {
}
+577 −528

File changed.

Preview size limit exceeded, changes collapsed.

+6 −19
Original line number Diff line number Diff line
@@ -17,41 +17,28 @@
package org.dmfs.tasks.contract;

import android.net.Uri;

import java.util.HashMap;
import java.util.Map;


/**
 * TODO
 */
public final class UriFactory
{
/** TODO */
public final class UriFactory {
    private final String mAuthority;
    private final Map<String, Uri> mUriMap = new HashMap<String, Uri>(16);


    UriFactory(String authority)
    {
    UriFactory(String authority) {
        mAuthority = authority;
        mUriMap.put(null, Uri.parse("content://" + authority));
    }


    void addUri(String path)
    {
    void addUri(String path) {
        mUriMap.put(path, Uri.parse("content://" + mAuthority + "/" + path));
    }


    Uri getUri()
    {
    Uri getUri() {
        return mUriMap.get(null);
    }


    Uri getUri(String path)
    {
    Uri getUri(String path) {
        return mUriMap.get(path);
    }
}
+3 −2
Original line number Diff line number Diff line
@@ -9,20 +9,21 @@ android {
    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 36

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_21
        targetCompatibility JavaVersion.VERSION_21
    }

    packagingOptions {
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
Loading