Skip to content

Replace calls to Java's libraries with calls to the Kotlin standard library functions.

Description

Replace calls to Java functions with calls to functions in the Kotlin standard library in the AudioPlayerActivity class.

Motivation and Context

This change allows the code to be more concise.

How Has This Been Tested?

Screenshots / GIFs (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking change which cleans up / improves existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the CONTRIBUTING section of the README document.

Resolves

Fixes: # Mention: #

Merge request reports

Loading