commit | 324650d5fc53240fe7ef1eec4e01b3c07dbee4cb | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Thu Mar 19 19:10:57 2020 +0000 |
committer | Michael Wright <michaelwr@google.com> | Thu Mar 19 19:20:47 2020 +0000 |
tree | 0f25c571872c2e4e69a641027bd5a469b94c4d24 | |
parent | 962b460f1c1d8bb93926fa86b215cffb4265715e [diff] |
Skip unnecessary IPC when getting VibrationEffect. If we know there's no configured ringtone-specific effects, we can skip uncanonicalizing the URI, which normally incurs an IPC. Bug: 151696203 Test: atest android.os.VibrationEffectTest Change-Id: I0e3c8f5cd50761a90875d326cc57dcfd4597dd97