Compare commits

..

No commits in common. "348395c48da26aae77f4cd87aff3b96dc57fa866" and "ca0085e14733906ad20474b8246633b91df272b3" have entirely different histories.

4 changed files with 3 additions and 9 deletions

View file

@ -7,7 +7,6 @@ import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.children
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.LinearLayoutManager
@ -53,16 +52,11 @@ class CompatibilityCheckActivity: AppCompatActivity() {
inner class ViewHolder(private val root: View): RecyclerView.ViewHolder(root) {
private val titleView: TextView = root.findViewById(R.id.compatibility_check_title)
private val descView: TextView = root.findViewById(R.id.compatibility_check_desc)
private val statusContainer: ViewGroup = root.findViewById(R.id.compatibility_check_status_container)
fun bindItem(item: CompatibilityCheck) {
titleView.text = item.title
descView.text = item.description
statusContainer.children.forEach {
it.visibility = View.GONE
}
when (item.state) {
CompatibilityCheck.State.SUCCESS -> {
root.findViewById<View>(R.id.compatibility_check_checkmark).visibility = View.VISIBLE

View file

@ -12,7 +12,7 @@ val Project.gitVersionCode: Int
try {
val stdout = ByteArrayOutputStream()
exec {
commandLine("git", "rev-list", "--first-parent", "--count", "HEAD")
commandLine("git", "rev-list", "--first-parent", "--count", "master")
standardOutput = stdout
}
stdout.toString("utf-8").trim('\n').toInt()

@ -1 +1 @@
Subproject commit dc09c3e668fc191694e73fede255a7a0a26f4988
Subproject commit 47f44f911099bffdbdb4854500578ba18ab19d06

View file

@ -236,7 +236,7 @@ Java_net_typeblog_lpac_1jni_LpacJni_es10cGetProfilesInfo(JNIEnv *env, jobject th
(*env)->DeleteLocalRef(env, jinfo);
});
es10c_profile_info_list_free_all(info);
es10c_profile_info_free_all(info);
return ret;
}