diff options
| author | Dan Sandler <dsandler@android.com> | 2019-03-31 16:00:33 -0400 | 
|---|---|---|
| committer | Steve Elliott <steell@google.com> | 2019-04-19 16:46:44 +0000 | 
| commit | b458f4eee871292dcd94892cc0700fd7998fc279 (patch) | |
| tree | 8caf8c09c4b4558dbfdb566843950eaed966a194 /docs/html/sdk/api_diff/15/changes | |
| parent | 3a15b6c1dfef54f41cc8938aba0a5ede6902a7dd (diff) | |
Power key behavior tweaks.
  - Added a new value for config_longPressOnPowerBehavior:
    "5" means "launch assist intent"
  - Added global settings for power key longpress and "very
    long press" (3.5 sec), allowing these functions to be
    tweaked at runtime by privileged code
Bug: 130415373
Test: adb shell settings put global power_long_press 5
      # ^ set longpress to assist
      adb shell settings put global power_very_long_press 1
      # ^ set vlongpress to globalactions (so you can still
      # power off the device)
Test: atest frameworks/base/core/tests/coretests
Change-Id: Ic611b2850dc98fddd7662d32b0a60ca1e8231efb
Diffstat (limited to 'docs/html/sdk/api_diff/15/changes')
0 files changed, 0 insertions, 0 deletions
