commit | 82323d826544b4937d5aa7f691f5db7187f8264a | [log] [tgz] |
---|---|---|
author | Matthew Qin <yqin@codeaurora.org> | Tue Feb 11 16:28:50 2014 +0800 |
committer | Matthew Qin <yqin@codeaurora.org> | Wed Feb 26 16:56:31 2014 +0800 |
tree | 08e8e32aadcd6c36b8add9dc44d4264823468c6c | |
parent | 7eed1117ffdbad853b41213a459abd11497dab85 [diff] |
msm_shared: Add shutdown device detection support If below condition is met, we will shut down the device. Otherwise it will do nothing and return to normal boot. conditions: 1. it is triggered by power key && 2. the power key is released before (PWRKEY_LONG_PRESS_COUNT / MPM_SLEEP_TIMETICK_COUNT) seconds. Change-Id: I93827ca44cb30c76d1b856b8f1ff8f5923f45613