• 0 Posts
  • 31 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle


  • Save you a click:

    However, if you’ve been following Android platform development news lately, you may have heard of something called the trunk stable project. Without getting too technical, the way that Google develops Android has significantly changed. The first Android version to be released as part of the trunk stable project was Android 14 QPR2 back in March, which is why that release used a very different build ID naming scheme. Instead of having build IDs that started with the letter “U” for Upside Down Cake, Android 14 QPR2 had build IDs that started with the letter “A.”












  • It should be possible, but the answer is going to depend on your implementation, what libraries you are using, and so on.

    For example, if the play sound action is synchronous, then maybe you could start it up in another thread, and interrupt that thread if you want to cancel the sound.

    If it’s asynchronous, maybe you need to retain a reference to the sound object and then invoke a stop() call when the other button is pressed.