Skip to content

Commit

Permalink
docs: add missing SPDX header
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Jun 30, 2024
1 parent 1133efd commit 9855766
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Rime community
//
// SPDX-License-Identifier: GPL-3.0-or-later

package com.osfans.trime.data.prefs

import android.content.SharedPreferences
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Rime community
//
// SPDX-License-Identifier: GPL-3.0-or-later

package com.osfans.trime.data.prefs

import android.content.SharedPreferences
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/java/com/osfans/trime/util/Char.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Rime community
//
// SPDX-License-Identifier: GPL-3.0-or-later

package com.osfans.trime.util

@Suppress("NOTHING_TO_INLINE")
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/java/com/osfans/trime/util/Configuration.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Rime community
//
// SPDX-License-Identifier: GPL-3.0-or-later

package com.osfans.trime.util

import android.content.res.Configuration
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/java/com/osfans/trime/util/Regex.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Rime community
//
// SPDX-License-Identifier: GPL-3.0-or-later

package com.osfans.trime.util

fun String.removeRegexSet(regexSet: Set<Regex>): String {
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/java/com/osfans/trime/util/Strings.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Rime community
//
// SPDX-License-Identifier: GPL-3.0-or-later

package com.osfans.trime.util

val String.Companion.EMPTY: String
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/java/com/osfans/trime/util/Uri.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Rime community
//
// SPDX-License-Identifier: GPL-3.0-or-later

package com.osfans.trime.util

import android.content.ContentResolver
Expand Down
7 changes: 7 additions & 0 deletions app/src/main/res/xml/provider_paths.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
SPDX-FileCopyrightText: 2024 Rime community
SPDX-License-Identifier: GPL-3.0-or-later
-->

<paths>
<files-path
name="files_path"
Expand Down

0 comments on commit 9855766

Please sign in to comment.