Skip to content

Commit

Permalink
Updated another comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nbradbury committed Jan 23, 2025
1 parent 8e4ba38 commit c63ee8e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ open class BaseAppCompatActivity : AppCompatActivity() {
@Override
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
// When both compileSdkVersion and targetSdkVersion are 35+, the OS defaults to
// using edge-to-edge. We need to adjust for this by applying insets as needed.
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.VANILLA_ICE_CREAM) {
applyInsetOffsets()
}
Expand Down

0 comments on commit c63ee8e

Please sign in to comment.