treewide: Add copyrights

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2019-10-02 18:11:22 +05:30
parent f1f59dc1ed
commit ee3535482a
No known key found for this signature in database
GPG key ID: C2E74282C2133D62
46 changed files with 188 additions and 10 deletions

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore package com.zeapo.pwdstore
import android.content.Intent import android.content.Intent

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore package com.zeapo.pwdstore
import android.net.Uri import android.net.Uri

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore; package com.zeapo.pwdstore;
import android.content.Context; import android.content.Context;

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore; package com.zeapo.pwdstore;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore; package com.zeapo.pwdstore;
import android.Manifest; import android.Manifest;

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore package com.zeapo.pwdstore
import android.app.Activity import android.app.Activity

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore; package com.zeapo.pwdstore;
import android.content.Context; import android.content.Context;

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore; package com.zeapo.pwdstore;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore package com.zeapo.pwdstore
import android.os.Bundle import android.os.Bundle

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore package com.zeapo.pwdstore
import android.accessibilityservice.AccessibilityServiceInfo import android.accessibilityservice.AccessibilityServiceInfo

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.autofill package com.zeapo.pwdstore.autofill
import android.app.PendingIntent import android.app.PendingIntent

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.autofill package com.zeapo.pwdstore.autofill
import android.annotation.SuppressLint import android.annotation.SuppressLint

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.autofill package com.zeapo.pwdstore.autofill
import android.content.Context import android.content.Context

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.autofill package com.zeapo.pwdstore.autofill
import android.content.Context import android.content.Context

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.autofill package com.zeapo.pwdstore.autofill
import android.accessibilityservice.AccessibilityService import android.accessibilityservice.AccessibilityService

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.crypto package com.zeapo.pwdstore.crypto
import android.app.PendingIntent import android.app.PendingIntent

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git package com.zeapo.pwdstore.git
import android.app.Activity import android.app.Activity

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git package com.zeapo.pwdstore.git
import android.app.Activity import android.app.Activity

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git package com.zeapo.pwdstore.git
import android.content.Context import android.content.Context

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git; package com.zeapo.pwdstore.git;
import android.app.Activity; import android.app.Activity;

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git package com.zeapo.pwdstore.git
import android.annotation.SuppressLint import android.annotation.SuppressLint

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git package com.zeapo.pwdstore.git
import android.app.Activity import android.app.Activity

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git package com.zeapo.pwdstore.git
import android.app.Activity import android.app.Activity

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git package com.zeapo.pwdstore.git
import android.app.Activity import android.app.Activity

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git package com.zeapo.pwdstore.git
import android.app.Activity import android.app.Activity

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git.config package com.zeapo.pwdstore.git.config
import com.jcraft.jsch.JSch import com.jcraft.jsch.JSch

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git.config; package com.zeapo.pwdstore.git.config;
import android.app.Activity; import android.app.Activity;

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.git.config package com.zeapo.pwdstore.git.config
import com.jcraft.jsch.JSch import com.jcraft.jsch.JSch

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.pwgen package com.zeapo.pwdstore.pwgen
import android.content.Context import android.content.Context

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.pwgen package com.zeapo.pwdstore.pwgen
internal object Phonemes { internal object Phonemes {

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.pwgen package com.zeapo.pwdstore.pwgen
import java.security.NoSuchAlgorithmException import java.security.NoSuchAlgorithmException

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.pwgen package com.zeapo.pwdstore.pwgen
internal object RandomPasswordGenerator { internal object RandomPasswordGenerator {

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.utils package com.zeapo.pwdstore.utils
import android.annotation.SuppressLint import android.annotation.SuppressLint

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.utils package com.zeapo.pwdstore.utils
import android.content.Context import android.content.Context

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.utils package com.zeapo.pwdstore.utils
import android.view.View import android.view.View

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.utils; package com.zeapo.pwdstore.utils;
import android.util.Log; import android.util.Log;

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.utils package com.zeapo.pwdstore.utils
import com.zeapo.pwdstore.crypto.PgpActivity import com.zeapo.pwdstore.crypto.PgpActivity

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.utils package com.zeapo.pwdstore.utils
import android.view.Menu import android.view.Menu

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.utils package com.zeapo.pwdstore.utils
import android.content.Context import android.content.Context

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.utils.auth package com.zeapo.pwdstore.utils.auth
import androidx.biometric.BiometricPrompt import androidx.biometric.BiometricPrompt

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
package com.zeapo.pwdstore.utils.auth package com.zeapo.pwdstore.utils.auth
import android.os.Handler import android.os.Handler

View file

@ -1,9 +1,7 @@
/* /*
* Copyright © 2017-2018 WireGuard LLC. * Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* Copyright © 2018-2019 Harsh Shandilya <msfjarvis@gmail.com>. All Rights Reserved. * SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: Apache-2.0
*/ */
package com.zeapo.pwdstore.widget package com.zeapo.pwdstore.widget
import android.content.Context import android.content.Context

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
buildscript { buildscript {

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
plugins { plugins {
`kotlin-dsl` `kotlin-dsl`
} }

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
import com.diffplug.gradle.spotless.SpotlessExtension import com.diffplug.gradle.spotless.SpotlessExtension
import com.diffplug.gradle.spotless.SpotlessPlugin import com.diffplug.gradle.spotless.SpotlessPlugin
import org.gradle.api.Project import org.gradle.api.Project
@ -17,8 +21,8 @@ fun Project.configureSpotless() {
java { java {
target("**/src/main/**/*.java") target("**/src/main/**/*.java")
trimTrailingWhitespace() trimTrailingWhitespace()
// @Suppress("INACCESSIBLE_TYPE") @Suppress("INACCESSIBLE_TYPE")
// licenseHeader(kotlinLicenseHeader) licenseHeader(kotlinLicenseHeader)
removeUnusedImports() removeUnusedImports()
googleJavaFormat().aosp() googleJavaFormat().aosp()
endWithNewline() endWithNewline()
@ -27,8 +31,8 @@ fun Project.configureSpotless() {
kotlinGradle { kotlinGradle {
target("*.gradle.kts", "gradle/*.gradle.kts", "buildSrc/*.gradle.kts") target("*.gradle.kts", "gradle/*.gradle.kts", "buildSrc/*.gradle.kts")
ktlint("0.31.0").userData(mapOf("indent_size" to "4", "continuation_indent_size" to "4")) ktlint("0.31.0").userData(mapOf("indent_size" to "4", "continuation_indent_size" to "4"))
// @Suppress("INACCESSIBLE_TYPE") @Suppress("INACCESSIBLE_TYPE")
// licenseHeader(kotlinLicenseHeader, "import|tasks|apply|plugins|include") licenseHeader(kotlinLicenseHeader, "import|tasks|apply|plugins|include|buildscript")
trimTrailingWhitespace() trimTrailingWhitespace()
indentWithSpaces() indentWithSpaces()
endWithNewline() endWithNewline()
@ -37,8 +41,8 @@ fun Project.configureSpotless() {
kotlin { kotlin {
target("**/src/main/**/*.kt", "buildSrc/**/*.kt") target("**/src/main/**/*.kt", "buildSrc/**/*.kt")
ktlint("0.31.0").userData(mapOf("indent_size" to "4", "continuation_indent_size" to "4")) ktlint("0.31.0").userData(mapOf("indent_size" to "4", "continuation_indent_size" to "4"))
// @Suppress("INACCESSIBLE_TYPE") @Suppress("INACCESSIBLE_TYPE")
// licenseHeader(kotlinLicenseHeader) licenseHeader(kotlinLicenseHeader, "import|package|class|object|@file")
trimTrailingWhitespace() trimTrailingWhitespace()
indentWithSpaces() indentWithSpaces()
endWithNewline() endWithNewline()

View file

@ -1 +1,5 @@
/*
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0
*/
include(":app") include(":app")