commit | 25e551814a87d99b7bfbde9c101068422f62a960 | [log] [tgz] |
---|---|---|
author | Matthew Qin <yqin@codeaurora.org> | Tue Feb 11 16:28:50 2014 +0800 |
committer | Matthew Qin <yqin@codeaurora.org> | Thu Mar 06 18:55:38 2014 +0800 |
tree | c9c75e656585a8f8a93a327d4a35e605dc5348d5 | |
parent | 7dc113bbb23ce220c0e2c2abe37335bc8f533497 [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