commit | 28d8042bcd0dcbae1c2ef3d39840477fabe1bfd7 | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Fri Jul 21 13:25:13 2017 -0700 |
committer | Bryce Lee <brycelee@google.com> | Fri Jul 21 14:49:32 2017 -0700 |
tree | c8a401bf8685dfcff5721d073e7c9171881bd636 | |
parent | 3fbd93056e3b142080a2313158d2b0e7ef84061e [diff] |
Determine power hint behavior based on target activity. Previously, logic was added surrounding whether to trigger a power hint based on the start activity. However, this activity is not always relevant in the calling context. This change adjusts the logic by passing the target activity into the method. Fixes: 63913311 Test: press home button while on home and ensure power hint not triggered. Change-Id: I71ffcae7adbc2c55ef5b2994f4c55688d0aa0ca5