diff options
author | twyen <twyen@google.com> | 2017-08-02 13:34:44 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-08-03 08:29:48 -0700 |
commit | 286a785c6f0ec653b1876e7532c79e15785c99ff (patch) | |
tree | 81878c40a3ed87ad4b1a625c77362305c952ace7 /java/com/android/dialer | |
parent | b9fd26e9c61745126ea19f5067406a5d26ea7133 (diff) |
Reapply Screen timeout when in call activity is recreated
Previously the keep screen on flag is only applied the the activity once when the video call is created. The flag will be lost when the activity is recreated, such as rotating the screen.
In this CL, the keep screen on state is persisted in the InCallPresenter, and will be reapplied every time the activity is created. The flag will be cleared when the call is finished or when the video call has ened
Bug: 64101648,63917358
Test: InCallPresenterTest
PiperOrigin-RevId: 164030247
Change-Id: Ie90f8dd0dfc9b542d691296c729dc3342a8bc2ad
Diffstat (limited to 'java/com/android/dialer')
0 files changed, 0 insertions, 0 deletions