Skip to content
Browse files

Deprecate method UIManagerModule.playTouchSound()

Summary: The method UIManagerModule.playTouchSound() is deprecated, please use SoundManager.playTouchSound() instead.

Reviewed By: JoshuaGross

Differential Revision: D16543436

fbshipit-source-id: 4b391dd1a0af16567ea5574ddfa33484ca488b90
  • Loading branch information...
mdvacca authored and facebook-github-bot committed Aug 2, 2019
1 parent 1452acd commit e3ec8dbe15a07e86530e1fd801c27ad8c1023b5c
Showing with 2 additions and 0 deletions.
  1. +2 −0 ReactAndroid/src/main/java/com/facebook/react/uimanager/
@@ -692,7 +692,9 @@ public void dispatchCommand(int reactTag, String commandId, @Nullable ReadableAr
mUIImplementation.dispatchViewManagerCommand(reactTag, commandId, commandArgs);

/** @deprecated use {@link SoundManager#playTouchSound()} instead. */
public void playTouchSound() {
AudioManager audioManager =
(AudioManager) getReactApplicationContext().getSystemService(Context.AUDIO_SERVICE);

0 comments on commit e3ec8db

Please sign in to comment.
You can’t perform that action at this time.