cvrdheeraj

Untitled

Jun 29th, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. public void setBluetoothScoOn(boolean paramBoolean)
  2. {
  3. IAudioService localIAudioService = getService();
  4. int i = getMode();
  5. int j = getCallModeInfo();
  6. if ((j >= -1) && (j > 2)) {}
  7. int k = 0;
  8. int m = 1;
  9. try
  10. {
  11. k = localIAudioService.getHeadsetState();
  12. boolean bool = localIAudioService.getBluetoothNREC();
  13. m = bool;
  14. }
  15. catch (RemoteException localRemoteException1)
  16. {
  17. for (;;)
  18. {
  19. try
  20. {
  21. localIAudioService.setBluetoothScoOn(paramBoolean);
  22. return;
  23. }
  24. catch (RemoteException localRemoteException2)
  25. {
  26. label99:
  27. label108:
  28. Log.e(TAG, "Dead object in setBluetoothScoOn", localRemoteException2);
  29. }
  30. localRemoteException1 = localRemoteException1;
  31. Log.e(TAG, "Dead object getHeadsetState or getBluetoothNREC in setBluetoothScoOn", localRemoteException1);
  32. continue;
  33. changeModemAudioPath(9);
  34. continue;
  35. switch (k)
  36. {
  37. default:
  38. changeModemAudioPath(1);
  39. break;
  40. case 1:
  41. changeModemAudioPath(2);
  42. break;
  43. case 2:
  44. changeModemAudioPath(5);
  45. }
  46. }
  47. }
  48. if (i == 2)
  49. {
  50. if (paramBoolean != true) {
  51. break label108;
  52. }
  53. if (m != 1) {
  54. break label99;
  55. }
  56. changeModemAudioPath(4);
  57. }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment