Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/romannurik/muzei
Browse files Browse the repository at this point in the history
  • Loading branch information
romannurik committed Oct 12, 2018
2 parents 8eb15e9 + 11838f9 commit 5e1a992
Show file tree
Hide file tree
Showing 479 changed files with 26,073 additions and 19,134 deletions.
64 changes: 64 additions & 0 deletions PRIVACY.md
@@ -0,0 +1,64 @@
## Privacy Policy

Roman Nurik and Ian Lake built the Muzei app as an Open Source app. This SERVICE is provided by Roman Nurik and Ian Lake at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Muzei unless otherwise defined in this Privacy Policy.

**Information Collection and Use**

For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information. The information that I request will be retained on your device and is not collected by me in any way.

The app does use third party services that may collect information used to identify you.

Link to privacy policy of third party service providers used by the app

* [Google Play Services](https://www.google.com/policies/privacy/)
* [Firebase Analytics](https://firebase.google.com/policies/analytics)
* [Crashlytics](http://try.crashlytics.com/terms/privacy-policy.pdf)

**Log Data**

I want to inform you that whenever you use my Service, in a case of an error in the app I collect data and information (through third party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my Service, the time and date of your use of the Service, and other statistics.

**Cookies**

Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.

This Service does not use these “cookies” explicitly. However, the app may use third party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service.

**Service Providers**

I may employ third-party companies and individuals due to the following reasons:

* To facilitate our Service;
* To provide the Service on our behalf;
* To perform Service-related services; or
* To assist us in analyzing how our Service is used.

I want to inform users of this Service that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.

**Security**

I value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and I cannot guarantee its absolute security.

**Links to Other Sites**

This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, I strongly advise you to review the Privacy Policy of these websites. I have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

**Children’s Privacy**

These Services do not address anyone under the age of 13\. I do not knowingly collect personally identifiable information from children under 13\. In the case I discover that a child under 13 has provided me with personal information, I immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact me so that I will be able to do necessary actions.

**Changes to This Privacy Policy**

I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page. These changes are effective immediately after they are posted on this page.

**Contact Us**

If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me.

This privacy policy page was created at [privacypolicytemplate.net](https://privacypolicytemplate.net) and modified/generated by [App Privacy Policy Generator](https://app-privacy-policy-generator.firebaseapp.com/)
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -17,4 +17,4 @@ Muzei API

Muzei offers a simple API that allows you to build your own wallpaper source.

**[Read the API docs](http://api.muzei.co)**    **[Check out the 500px example source](https://github.com/romannurik/muzei/tree/master/example-source-500px)**
**[Read the API docs](http://api.muzei.co)**    **[Check out the Unsplash example source](https://github.com/romannurik/muzei/tree/master/example-unsplash)**
40 changes: 24 additions & 16 deletions android-client-common/build.gradle
Expand Up @@ -15,21 +15,32 @@
*/

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'

dependencies {
implementation project(':api')
implementation "com.android.support:support-compat:$rootProject.ext.supportLibraryVersion"
api "android.arch.lifecycle:extensions:$rootProject.ext.lifecycleVersion"
annotationProcessor "android.arch.lifecycle:compiler:$rootProject.ext.lifecycleVersion"
implementation "com.android.support:support-core-ui:$rootProject.ext.supportLibraryVersion"
implementation "com.android.support:support-fragment:$rootProject.ext.supportLibraryVersion"
api "android.arch.persistence.room:runtime:$rootProject.ext.roomVersion"
annotationProcessor "android.arch.persistence.room:compiler:$rootProject.ext.roomVersion"
api ("com.google.android.gms:play-services-wearable:$rootProject.ext.googlePlayServicesVersion") {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion"
implementation "androidx.core:core-ktx:$rootProject.ext.ktxVersion"
implementation project(':muzei-api')
implementation project(':extensions')
implementation "com.android.support:support-compat:$supportLibraryVersion"
implementation "com.android.support:exifinterface:$supportLibraryVersion"
api "android.arch.lifecycle:livedata:$lifecycleVersion"
kapt "android.arch.lifecycle:compiler:$lifecycleVersion"
implementation "android.arch.work:work-runtime-ktx:$workManagerVersion"
implementation "com.android.support:support-core-ui:$supportLibraryVersion"
implementation "com.android.support:support-fragment:$supportLibraryVersion"
api "android.arch.persistence.room:runtime:$roomVersion"
kapt "android.arch.persistence.room:compiler:$roomVersion"
api("com.google.android.gms:play-services-wearable:$playServicesWearableVersion") {
exclude module: 'support-v4'
}
}

kotlin.experimental.coroutines "enable"

android {
compileSdkVersion rootProject.ext.compileSdkVersion

Expand All @@ -38,11 +49,8 @@ android {
targetSdkVersion rootProject.ext.targetSdkVersion

def documentsAuthorityValue = "com.google.android.apps.muzei.documents"
manifestPlaceholders =
[documentsAuthority: documentsAuthorityValue]
buildConfigField("String",
"DOCUMENTS_AUTHORITY",
"\"${documentsAuthorityValue}\"")
manifestPlaceholders = [documentsAuthority: documentsAuthorityValue]
buildConfigField "String", "DOCUMENTS_AUTHORITY", "\"${documentsAuthorityValue}\""

javaCompileOptions {
annotationProcessorOptions {
Expand All @@ -58,7 +66,7 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
@@ -0,0 +1,194 @@
{
"formatVersion": 1,
"database": {
"version": 6,
"identityHash": "bc33921c58f9161401f377f1360b418f",
"entities": [
{
"tableName": "Artwork",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `sourceComponentName` TEXT, `imageUri` TEXT, `title` TEXT, `byline` TEXT, `attribution` TEXT, `token` TEXT, `metaFont` TEXT NOT NULL, `date_added` INTEGER NOT NULL, `viewIntent` TEXT, FOREIGN KEY(`sourceComponentName`) REFERENCES `sources`(`component_name`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "id",
"columnName": "_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "sourceComponentName",
"columnName": "sourceComponentName",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "imageUri",
"columnName": "imageUri",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "byline",
"columnName": "byline",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "attribution",
"columnName": "attribution",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "token",
"columnName": "token",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "metaFont",
"columnName": "metaFont",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "dateAdded",
"columnName": "date_added",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "viewIntent",
"columnName": "viewIntent",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"_id"
],
"autoGenerate": true
},
"indices": [
{
"name": "index_Artwork_sourceComponentName",
"unique": false,
"columnNames": [
"sourceComponentName"
],
"createSql": "CREATE INDEX `index_Artwork_sourceComponentName` ON `${TABLE_NAME}` (`sourceComponentName`)"
}
],
"foreignKeys": [
{
"table": "sources",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"sourceComponentName"
],
"referencedColumns": [
"component_name"
]
}
]
},
{
"tableName": "sources",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`component_name` TEXT NOT NULL, `selected` INTEGER NOT NULL, `label` TEXT, `defaultDescription` TEXT, `description` TEXT, `color` INTEGER NOT NULL, `targetSdkVersion` INTEGER NOT NULL, `settingsActivity` TEXT, `setupActivity` TEXT, `wantsNetworkAvailable` INTEGER NOT NULL, `supportsNextArtwork` INTEGER NOT NULL, `commands` TEXT NOT NULL, PRIMARY KEY(`component_name`))",
"fields": [
{
"fieldPath": "componentName",
"columnName": "component_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "selected",
"columnName": "selected",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "label",
"columnName": "label",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "defaultDescription",
"columnName": "defaultDescription",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "description",
"columnName": "description",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "color",
"columnName": "color",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "targetSdkVersion",
"columnName": "targetSdkVersion",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "settingsActivity",
"columnName": "settingsActivity",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "setupActivity",
"columnName": "setupActivity",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "wantsNetworkAvailable",
"columnName": "wantsNetworkAvailable",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "supportsNextArtwork",
"columnName": "supportsNextArtwork",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "commands",
"columnName": "commands",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"component_name"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": []
}
],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"bc33921c58f9161401f377f1360b418f\")"
]
}
}

0 comments on commit 5e1a992

Please sign in to comment.