Skip to content

Commit

Permalink
Disable the tile on Android S or later
Browse files Browse the repository at this point in the history
  • Loading branch information
DeweyReed committed Oct 23, 2021
1 parent ad61431 commit 51e28f3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ class MainActivity : AppCompatActivity() {
}
}
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
// The tile doesn't work during my test.
binding.cardTile.isGone = true
}
}

override fun onCreateOptionsMenu(menu: Menu?): Boolean {
Expand Down

0 comments on commit 51e28f3

Please sign in to comment.