commit | c1e7b635ede3fa4eaa539d2ca44f4aa590d1433a | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Tue Feb 07 09:19:01 2017 -0800 |
committer | Felipe Leme <felipeal@google.com> | Tue Feb 07 09:24:13 2017 -0800 |
tree | a3cb4f9316a4f0083f51cd12f40efd32f5747e8c | |
parent | a491a766ad93af18aafa6c8b5ecff7b80029aa3b [diff] |
Use 'cmd activity' instead 'am' to send a broadcast. 'am' is a deprecated binary that calls the ActivityManager shell command behind the scenes, so calling 'cmd activity' directly eliminates a process fork. Bug: 34833915 Test: manual verification Change-Id: Ia156897d784aa1d64f60317f92828987d64936e3