Fix the crash issue caused by vibrate permission
The app will be crashed when using vibrate API, without VIBRATE permission specified. Catch the security exception instead of crash should be more friendly. BUG=338151 TEST= Review URL: https://codereview.chromium.org/143673004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251289 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment