commit | 316e8d80355a0ed19fe2666a8a26a90c9040855e | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Fri Dec 14 16:50:33 2018 -0800 |
committer | Hai Zhang <zhanghai@google.com> | Thu Dec 20 14:31:33 2018 -0800 |
tree | b5ad0053132a570f24194f48a1ffe814f70a0cdd | |
parent | f46d1b091a549cef2c407e3d9439c9fffe682989 [diff] |
Make request role dialog compatible with SmsDefaultDialog. This change makes request role dialog compatible with SmsDefaultDialog, by reading package name from getCallingPackage() and only allowing reading package name from extras if the calling package is the current default SMS app. Bug: 110557011 Test: build Change-Id: Ic7d3c27cc0dcee14b833a7f165b00971ee9077ab