mirror of
https://github.com/etesync/android
synced 2025-08-02 20:08:21 +00:00
Add missing files (fixes #517)
This commit is contained in:
parent
13ec5a93ae
commit
2665f6c4e6
@ -1 +0,0 @@
|
|||||||
/home/rfc2822/Entwicklung/Android/task-provider/src/org/dmfs/provider/tasks/TaskContract.java
|
|
1519
app/src/main/java/org/dmfs/provider/tasks/TaskContract.java
Normal file
1519
app/src/main/java/org/dmfs/provider/tasks/TaskContract.java
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
|||||||
/home/rfc2822/Entwicklung/Android/task-provider/src/org/dmfs/provider/tasks/UriFactory.java
|
|
56
app/src/main/java/org/dmfs/provider/tasks/UriFactory.java
Normal file
56
app/src/main/java/org/dmfs/provider/tasks/UriFactory.java
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2014 Marten Gajda <marten@dmfs.org>
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.dmfs.provider.tasks;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import android.net.Uri;
|
||||||
|
|
||||||
|
|
||||||
|
public class UriFactory
|
||||||
|
{
|
||||||
|
public final String authority;
|
||||||
|
|
||||||
|
private final Map<String, Uri> mUriMap = new HashMap<String, Uri>(16);
|
||||||
|
|
||||||
|
|
||||||
|
UriFactory(String authority)
|
||||||
|
{
|
||||||
|
this.authority = authority;
|
||||||
|
mUriMap.put((String) null, Uri.parse("content://" + authority));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void addUri(String path)
|
||||||
|
{
|
||||||
|
mUriMap.put(path, Uri.parse("content://" + authority + "/" + path));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public Uri getUri()
|
||||||
|
{
|
||||||
|
return mUriMap.get(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public Uri getUri(String path)
|
||||||
|
{
|
||||||
|
return mUriMap.get(path);
|
||||||
|
}
|
||||||
|
}
|
BIN
app/src/main/res/drawable-hdpi/tasks.png
Normal file
BIN
app/src/main/res/drawable-hdpi/tasks.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 321 B |
BIN
app/src/main/res/drawable-mdpi/tasks.png
Normal file
BIN
app/src/main/res/drawable-mdpi/tasks.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 245 B |
BIN
app/src/main/res/drawable-xhdpi/tasks.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/tasks.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 341 B |
BIN
app/src/main/res/drawable-xxhdpi/tasks.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/tasks.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 441 B |
Loading…
Reference in New Issue
Block a user