Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • ChenZhangg-Modify_GRADLE_1
  • attachments
  • demo-jump-in-history
  • jetpack-compose-rewrite
  • main
  • wip
  • 1.4.0
  • 1.4.1
  • 1.4.2
  • 1.4.3
  • 1.4.4
  • 1.5.0
  • 1.5.1
  • 1.5.2
  • 1.5.3
  • 1.6.0
  • 1.6.1
  • 1.6.2
  • 1.7.0
  • v0.2.0
  • v0.3.0
  • v0.4.0
  • v0.5.0
  • v1.0.0
  • v1.0.1
  • v1.0.10
  • v1.0.11
  • v1.0.12
  • v1.0.13
  • v1.0.14
  • v1.0.15
  • v1.0.16
  • v1.0.17
  • v1.0.18
  • v1.0.19
  • v1.0.2
  • v1.0.20
  • v1.0.21
  • v1.0.22
  • v1.0.23
  • v1.0.25
  • v1.0.26
  • v1.0.27
  • v1.0.28
  • v1.0.29
  • v1.0.3
  • v1.0.31
  • v1.0.35
  • v1.0.36
  • v1.0.37
  • v1.0.38
  • v1.0.39
  • v1.0.4
  • v1.0.40
  • v1.0.41
  • v1.0.42
  • v1.0.43
  • v1.0.44
  • v1.0.45
  • v1.0.5
  • v1.0.6
  • v1.0.7
  • v1.0.8
  • v1.0.9
  • v1.1.0
  • v1.1.1
  • v1.1.2
  • v1.1.3
  • v1.1.4
  • v1.2.1
  • v1.2.10
  • v1.2.11
  • v1.2.12
  • v1.2.13
  • v1.2.14
  • v1.2.15
  • v1.2.16
  • v1.2.17
  • v1.2.18
  • v1.2.19
  • v1.2.2
  • v1.2.20
  • v1.2.21
  • v1.2.22
  • v1.2.23
  • v1.2.24
  • v1.2.25
  • v1.2.26
  • v1.2.27
  • v1.2.28
  • v1.2.3
  • v1.2.4
  • v1.2.5
  • v1.2.6
  • v1.2.7
  • v1.2.9
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.3.3
100 results

Target

Select target project
  • justJanne/QuasselDroid-ng
1 result
Select Git revision
  • ChenZhangg-Modify_GRADLE_1
  • attachments
  • demo-jump-in-history
  • jetpack-compose-rewrite
  • main
  • wip
  • 1.4.0
  • 1.4.1
  • 1.4.2
  • 1.4.3
  • 1.4.4
  • 1.5.0
  • 1.5.1
  • 1.5.2
  • 1.5.3
  • 1.6.0
  • 1.6.1
  • 1.6.2
  • 1.7.0
  • v0.2.0
  • v0.3.0
  • v0.4.0
  • v0.5.0
  • v1.0.0
  • v1.0.1
  • v1.0.10
  • v1.0.11
  • v1.0.12
  • v1.0.13
  • v1.0.14
  • v1.0.15
  • v1.0.16
  • v1.0.17
  • v1.0.18
  • v1.0.19
  • v1.0.2
  • v1.0.20
  • v1.0.21
  • v1.0.22
  • v1.0.23
  • v1.0.25
  • v1.0.26
  • v1.0.27
  • v1.0.28
  • v1.0.29
  • v1.0.3
  • v1.0.31
  • v1.0.35
  • v1.0.36
  • v1.0.37
  • v1.0.38
  • v1.0.39
  • v1.0.4
  • v1.0.40
  • v1.0.41
  • v1.0.42
  • v1.0.43
  • v1.0.44
  • v1.0.45
  • v1.0.5
  • v1.0.6
  • v1.0.7
  • v1.0.8
  • v1.0.9
  • v1.1.0
  • v1.1.1
  • v1.1.2
  • v1.1.3
  • v1.1.4
  • v1.2.1
  • v1.2.10
  • v1.2.11
  • v1.2.12
  • v1.2.13
  • v1.2.14
  • v1.2.15
  • v1.2.16
  • v1.2.17
  • v1.2.18
  • v1.2.19
  • v1.2.2
  • v1.2.20
  • v1.2.21
  • v1.2.22
  • v1.2.23
  • v1.2.24
  • v1.2.25
  • v1.2.26
  • v1.2.27
  • v1.2.28
  • v1.2.3
  • v1.2.4
  • v1.2.5
  • v1.2.6
  • v1.2.7
  • v1.2.9
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.3.3
100 results
Show changes

Commits on Source 2

...@@ -33,6 +33,7 @@ import android.graphics.Canvas ...@@ -33,6 +33,7 @@ import android.graphics.Canvas
import android.graphics.drawable.Drawable import android.graphics.drawable.Drawable
import android.net.Uri import android.net.Uri
import android.os.Build import android.os.Build
import androidx.annotation.RequiresApi
import androidx.core.app.ActivityCompat import androidx.core.app.ActivityCompat
import androidx.core.app.NotificationCompat import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManagerCompat import androidx.core.app.NotificationManagerCompat
...@@ -73,7 +74,7 @@ class QuasseldroidNotificationManager @Inject constructor(private val context: C ...@@ -73,7 +74,7 @@ class QuasseldroidNotificationManager @Inject constructor(private val context: C
prepareChannels() prepareChannels()
} }
@TargetApi(Build.VERSION_CODES.O) @RequiresApi(Build.VERSION_CODES.O)
private fun prepareChannels() { private fun prepareChannels() {
val notificationManager = val notificationManager =
context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
......
...@@ -27,7 +27,7 @@ import android.view.ViewGroup ...@@ -27,7 +27,7 @@ import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView
import de.kuschku.libquassel.quassel.syncables.interfaces.INetwork import de.kuschku.libquassel.quassel.syncables.interfaces.INetwork
import de.kuschku.quasseldroid.R import de.kuschku.quasseldroid.R
import de.kuschku.quasseldroid.databinding.SettingsNetworkServerBinding import de.kuschku.quasseldroid.databinding.SettingsNetworkServersBinding
import de.kuschku.quasseldroid.util.helper.getVectorDrawableCompat import de.kuschku.quasseldroid.util.helper.getVectorDrawableCompat
import de.kuschku.quasseldroid.util.helper.styledAttributes import de.kuschku.quasseldroid.util.helper.styledAttributes
import de.kuschku.quasseldroid.util.helper.tint import de.kuschku.quasseldroid.util.helper.tint
...@@ -84,7 +84,7 @@ class NetworkServerAdapter( ...@@ -84,7 +84,7 @@ class NetworkServerAdapter(
override fun getItemCount() = data.size override fun getItemCount() = data.size
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int) = NetworkServerViewHolder( override fun onCreateViewHolder(parent: ViewGroup, viewType: Int) = NetworkServerViewHolder(
SettingsNetworkServerBinding.inflate(LayoutInflater.from(parent.context), parent, false), SettingsNetworkServersBinding.inflate(LayoutInflater.from(parent.context), parent, false),
clickListener, clickListener,
dragListener dragListener
) )
...@@ -94,7 +94,7 @@ class NetworkServerAdapter( ...@@ -94,7 +94,7 @@ class NetworkServerAdapter(
} }
class NetworkServerViewHolder( class NetworkServerViewHolder(
private val binding: SettingsNetworkServerBinding, private val binding: SettingsNetworkServersBinding,
clickListener: (INetwork.Server) -> Unit, clickListener: (INetwork.Server) -> Unit,
dragListener: (NetworkServerViewHolder) -> Unit dragListener: (NetworkServerViewHolder) -> Unit
) : RecyclerView.ViewHolder(binding.root) { ) : RecyclerView.ViewHolder(binding.root) {
......
...@@ -113,14 +113,6 @@ class AndroidHandlerThread(name: String) : HandlerThread(name) { ...@@ -113,14 +113,6 @@ class AndroidHandlerThread(name: String) : HandlerThread(name) {
started().let { handler?.postAtFrontOfQueue(r) } started().let { handler?.postAtFrontOfQueue(r) }
?: throw RuntimeException("Thread not started") ?: throw RuntimeException("Thread not started")
fun removeCallbacks(r: () -> Unit) =
started().let { handler?.removeCallbacks(r) }
?: throw RuntimeException("Thread not started")
fun removeCallbacks(r: () -> Unit, token: Any) =
started().let { handler?.removeCallbacks(r, token) }
?: throw RuntimeException("Thread not started")
fun sendMessage(msg: Message): Boolean = fun sendMessage(msg: Message): Boolean =
started().let { handler?.sendMessage(msg) } started().let { handler?.sendMessage(msg) }
?: throw RuntimeException("Thread not started") ?: throw RuntimeException("Thread not started")
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
tools:itemCount="4" tools:itemCount="4"
tools:listitem="@layout/settings_network_server" /> tools:listitem="@layout/settings_network_servers" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -54,4 +54,5 @@ ...@@ -54,4 +54,5 @@
<issue id="NewerVersionAvailable" severity="informational"/> <issue id="NewerVersionAvailable" severity="informational"/>
<issue id="SetTextI18n" severity="informational"/> <issue id="SetTextI18n" severity="informational"/>
<issue id="DefaultLocale" severity="informational"/> <issue id="DefaultLocale" severity="informational"/>
<issue id="UseKtx" severity="informational"/>
</lint> </lint>