OSDN Git Service

android-x86/frameworks-base.git
7 years agoDon't block the input thread to notify the StatusBar about key events.
Philip Quinn [Wed, 26 Jul 2017 02:44:56 +0000 (02:44 +0000)]
Don't block the input thread to notify the StatusBar about key events.
am: 4b5b3c6ccc

Change-Id: Ie5e9f5a71b49c7eca1d646d72680998aef39f69c

7 years agoDon't block the input thread to notify the StatusBar about key events.
Philip Quinn [Fri, 21 Jul 2017 04:07:58 +0000 (21:07 -0700)]
Don't block the input thread to notify the StatusBar about key events.

Also, give it a ping for volume key events.

Bug: 63183852
Bug: 63909062
Test: runtest systemui

Change-Id: I3e8507ad8fc23cf3078313b500b5012afc84fa07

7 years agoMerge "Themable volume and power dialogs" into oc-dr1-dev
Lucas Dupin [Wed, 26 Jul 2017 02:30:25 +0000 (02:30 +0000)]
Merge "Themable volume and power dialogs" into oc-dr1-dev
am: 59aadea809

Change-Id: I14947611e687399221701b82401fd0efcee09e11

7 years agoMerge "Keyguard should wait before restarting FP auth after successful FP auth" into...
Kevin Chyn [Wed, 26 Jul 2017 02:28:11 +0000 (02:28 +0000)]
Merge "Keyguard should wait before restarting FP auth after successful FP auth" into oc-dr1-dev
am: 192e7ccf45

Change-Id: I22f3e2968a724bd6c63b5f9696d1115d571efaf8

7 years agoMerge "Themable volume and power dialogs" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 02:18:10 +0000 (02:18 +0000)]
Merge "Themable volume and power dialogs" into oc-dr1-dev

7 years agoMerge "Keyguard should wait before restarting FP auth after successful FP auth" into...
TreeHugger Robot [Wed, 26 Jul 2017 02:16:55 +0000 (02:16 +0000)]
Merge "Keyguard should wait before restarting FP auth after successful FP auth" into oc-dr1-dev

7 years agoMerge "Silence a memory leak warning from the static analyzer" am: f44ebf5fcb am...
George Burgess IV [Wed, 26 Jul 2017 00:50:07 +0000 (00:50 +0000)]
Merge "Silence a memory leak warning from the static analyzer" am: f44ebf5fcb am: 20674ac1eb
am: b759691046

Change-Id: I6cc8b3e3e610e12e0df592b615556c5b8b1e45ea

7 years agoMerge "Silence a memory leak warning from the static analyzer" am: f44ebf5fcb
George Burgess IV [Wed, 26 Jul 2017 00:37:03 +0000 (00:37 +0000)]
Merge "Silence a memory leak warning from the static analyzer" am: f44ebf5fcb
am: 20674ac1eb

Change-Id: I0f0efff718ae96adcc30ef6554aaccc96da66b0a

7 years agoMerge "Silence a memory leak warning from the static analyzer"
George Burgess IV [Wed, 26 Jul 2017 00:26:12 +0000 (00:26 +0000)]
Merge "Silence a memory leak warning from the static analyzer"
am: f44ebf5fcb

Change-Id: Ic0b97fb0689b4d322aa6ed25fe55ec192bff07a5

7 years agoMerge "DO NOT MERGE - Remove RetailDemoModeServiceInternal" into oc-dr1-dev
Christine Franks [Wed, 26 Jul 2017 00:16:28 +0000 (00:16 +0000)]
Merge "DO NOT MERGE - Remove RetailDemoModeServiceInternal" into oc-dr1-dev
am: 4ac942f140

Change-Id: I3d09e6fe436ae1ced8f9ed88e919f1d9bb5e52db

7 years agoMerge "Silence a memory leak warning from the static analyzer"
Treehugger Robot [Wed, 26 Jul 2017 00:12:51 +0000 (00:12 +0000)]
Merge "Silence a memory leak warning from the static analyzer"

7 years agoMerge "DO NOT MERGE - Remove RetailDemoModeServiceInternal" into oc-dr1-dev
Christine Franks [Wed, 26 Jul 2017 00:07:14 +0000 (00:07 +0000)]
Merge "DO NOT MERGE - Remove RetailDemoModeServiceInternal" into oc-dr1-dev

7 years agoThemable volume and power dialogs
Lucas Dupin [Tue, 25 Jul 2017 00:44:25 +0000 (17:44 -0700)]
Themable volume and power dialogs

Test: visual
Bug: 63903361
Change-Id: I3e4dc74e960f212985712120341d3a80543c96db

7 years agoMerge "Add confirmation dialog when turning off cell data from QS" into oc-dr1-dev
Jason Monk [Tue, 25 Jul 2017 23:10:19 +0000 (23:10 +0000)]
Merge "Add confirmation dialog when turning off cell data from QS" into oc-dr1-dev
am: 18cb24ba33

Change-Id: If7eb6deae9f07417adc22f7db6b633d6bf90de35

7 years agoMerge "Changing the way the media image scales" into oc-dr1-dev
Selim Cinek [Tue, 25 Jul 2017 23:04:53 +0000 (23:04 +0000)]
Merge "Changing the way the media image scales" into oc-dr1-dev
am: e06e3f97fc

Change-Id: I667f1ec67a02c5ae264115a5b8bbe06dedda1d34

7 years agoMerge "Do not evict scan results in cold start." into oc-dr1-dev
Sundeep Ghuman [Tue, 25 Jul 2017 23:00:52 +0000 (23:00 +0000)]
Merge "Do not evict scan results in cold start." into oc-dr1-dev
am: d68b6dc56b

Change-Id: Ia68f4a742afbc88691d3e47760591a454f2f75cf

7 years agoMerge "Add confirmation dialog when turning off cell data from QS" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 22:55:08 +0000 (22:55 +0000)]
Merge "Add confirmation dialog when turning off cell data from QS" into oc-dr1-dev

7 years agoMerge "Changing the way the media image scales" into oc-dr1-dev
Selim Cinek [Tue, 25 Jul 2017 22:45:55 +0000 (22:45 +0000)]
Merge "Changing the way the media image scales" into oc-dr1-dev

7 years agoMerge "Fix RTL for Nav icons" into oc-dr1-dev
Jason Monk [Tue, 25 Jul 2017 22:44:26 +0000 (22:44 +0000)]
Merge "Fix RTL for Nav icons" into oc-dr1-dev
am: bad473d147

Change-Id: I53e7eb19311160c18ec28b43d5ba0534890bda84

7 years agoMerge "Do not evict scan results in cold start." into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 22:41:39 +0000 (22:41 +0000)]
Merge "Do not evict scan results in cold start." into oc-dr1-dev

7 years agoMerge "Fix RTL for Nav icons" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 22:35:18 +0000 (22:35 +0000)]
Merge "Fix RTL for Nav icons" into oc-dr1-dev

7 years agoSilence a memory leak warning from the static analyzer
George Burgess IV [Tue, 25 Jul 2017 21:22:07 +0000 (14:22 -0700)]
Silence a memory leak warning from the static analyzer

The analyzer assumes that the given `put` operation may fail. This
shouldn't be the case, so mark it with a LOG_ALWAYS_FATAL_IF. Doing so
silences a warning about potential memory leaks originating from
TessellationCache::getRoundRect.

Bug: 27101951
Test: mma. Warning is gone.
Change-Id: I3adeacd6c2c9c03caecd989e2a1267c51e8ef905

7 years agoDO NOT MERGE - Remove RetailDemoModeServiceInternal
Christine Franks [Thu, 20 Jul 2017 21:01:55 +0000 (14:01 -0700)]
DO NOT MERGE - Remove RetailDemoModeServiceInternal

Bug: 62712426
Test: make -j100
Change-Id: I0b852aef30a8cadcda08fcff1dcf861aac2a4d7e

7 years agoMerge "Don't unbind from the sync adapter before cancelSync()." into oc-dr1-dev
Makoto Onuki [Tue, 25 Jul 2017 20:57:23 +0000 (20:57 +0000)]
Merge "Don't unbind from the sync adapter before cancelSync()." into oc-dr1-dev
am: 906d8f57bf

Change-Id: I38c6c3342423ab846546737e59fef45ad6370728

7 years agoMerge "Don't unbind from the sync adapter before cancelSync()." into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 20:49:39 +0000 (20:49 +0000)]
Merge "Don't unbind from the sync adapter before cancelSync()." into oc-dr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Tue, 25 Jul 2017 20:22:52 +0000 (20:22 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: edfb7279ee  -s ours

Change-Id: I164c306865f978a01df0f720859ecec73e3a5e56

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 20:11:16 +0000 (20:11 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Tue, 25 Jul 2017 19:48:29 +0000 (19:48 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: f969869726  -s ours

Change-Id: I92788b202a09e95ae283553f93f81b8e697b4f41

7 years agoFix RTL for Nav icons
Jason Monk [Tue, 25 Jul 2017 19:46:33 +0000 (15:46 -0400)]
Fix RTL for Nav icons

Test: manual
Change-Id: I972641fc8d122ce9f6d4204398559b11a36a4a40
Fixes: 63644656

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 19:35:43 +0000 (19:35 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

7 years agoMerge "Prevent NPE, add logging for tracking down root issue." into oc-dr1-dev
Winson Chung [Tue, 25 Jul 2017 19:32:31 +0000 (19:32 +0000)]
Merge "Prevent NPE, add logging for tracking down root issue." into oc-dr1-dev
am: cb9f6de368

Change-Id: Idf9d24e12bac0faf655994733b8b857ad0a510b4

7 years agoMerge "Prevent NPE, add logging for tracking down root issue." into oc-dr1-dev
Winson Chung [Tue, 25 Jul 2017 19:22:05 +0000 (19:22 +0000)]
Merge "Prevent NPE, add logging for tracking down root issue." into oc-dr1-dev

7 years agoMerge "Make back button dismiss power dialog, by making dialog focusable." into oc...
Alison Cichowlas [Tue, 25 Jul 2017 19:11:11 +0000 (19:11 +0000)]
Merge "Make back button dismiss power dialog, by making dialog focusable." into oc-dr1-dev
am: 5110b31dda

Change-Id: I10a45b9636f27407dbab280da440f33545e0fdca

7 years agoMerge "Make back button dismiss power dialog, by making dialog focusable." into oc...
TreeHugger Robot [Tue, 25 Jul 2017 19:03:35 +0000 (19:03 +0000)]
Merge "Make back button dismiss power dialog, by making dialog focusable." into oc-dr1-dev

7 years agoAdd confirmation dialog when turning off cell data from QS
Jason Monk [Tue, 25 Jul 2017 18:44:28 +0000 (14:44 -0400)]
Add confirmation dialog when turning off cell data from QS

Test: manual
Change-Id: I1956750700c8fa2bf0e715b5ec92cf10fa3e9486
Fixes: 36436115

7 years agoMerge "Use config_headlineFontFeatureSettings for lockscreen clock" into oc-dr1-dev
Andrew Sapperstein [Tue, 25 Jul 2017 18:27:01 +0000 (18:27 +0000)]
Merge "Use config_headlineFontFeatureSettings for lockscreen clock" into oc-dr1-dev
am: b63b011419

Change-Id: I98ef598ca3260328cb65f2c619767acb61759a14

7 years agoMerge "Use config_headlineFontFeatureSettings for lockscreen clock" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 18:19:24 +0000 (18:19 +0000)]
Merge "Use config_headlineFontFeatureSettings for lockscreen clock" into oc-dr1-dev

7 years agoMerge "Ambient indicator text color" into oc-dr1-dev
Lucas Dupin [Tue, 25 Jul 2017 18:01:54 +0000 (18:01 +0000)]
Merge "Ambient indicator text color" into oc-dr1-dev
am: 5c6c7586cd

Change-Id: I74d9616ff4b99d94f225555f9c23ecf6e431744c

7 years agoMerge "Ambient indicator text color" into oc-dr1-dev
Lucas Dupin [Tue, 25 Jul 2017 17:53:56 +0000 (17:53 +0000)]
Merge "Ambient indicator text color" into oc-dr1-dev

7 years agoMerge "Fix jank when switching themes" into oc-dr1-dev
Lucas Dupin [Tue, 25 Jul 2017 17:47:47 +0000 (17:47 +0000)]
Merge "Fix jank when switching themes" into oc-dr1-dev
am: a1f64b0a91

Change-Id: I60c1b404b4b3a673cd3bf44f36deed546965f9cc

7 years agoMerge "AOD: Show keyguard indications in white" into oc-dr1-dev
Adrian Roos [Tue, 25 Jul 2017 17:43:38 +0000 (17:43 +0000)]
Merge "AOD: Show keyguard indications in white" into oc-dr1-dev
am: ec05633f5f

Change-Id: Ie908a815374086bd22066c1bd807aa1d3e147d77

7 years agoMerge "Zen introduction text updates" into oc-dr1-dev
Julia Reynolds [Tue, 25 Jul 2017 17:41:30 +0000 (17:41 +0000)]
Merge "Zen introduction text updates" into oc-dr1-dev
am: 60bf540e20

Change-Id: I53765669661a3ed594cd4f725b0fa7499fc1b48e

7 years agoMerge "Fix jank when switching themes" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 17:40:02 +0000 (17:40 +0000)]
Merge "Fix jank when switching themes" into oc-dr1-dev

7 years agoMerge "AOD: Show keyguard indications in white" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 17:33:29 +0000 (17:33 +0000)]
Merge "AOD: Show keyguard indications in white" into oc-dr1-dev

7 years agoMerge "Zen introduction text updates" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 17:31:18 +0000 (17:31 +0000)]
Merge "Zen introduction text updates" into oc-dr1-dev

7 years agoMake back button dismiss power dialog,
Alison Cichowlas [Tue, 25 Jul 2017 14:56:16 +0000 (10:56 -0400)]
Make back button dismiss power dialog,
by making dialog focusable.

Test: Manual - verified back button behavior, verified outside touches still ok.
Fixes: 63855564
Change-Id: I684bd4b3f77d00d81fe56c5005ab86403670a851

7 years agoMerge "AOD: Fix rotation during screen off (again)" into oc-dr1-dev
Adrian Roos [Tue, 25 Jul 2017 17:09:21 +0000 (17:09 +0000)]
Merge "AOD: Fix rotation during screen off (again)" into oc-dr1-dev
am: 9ffa87552b

Change-Id: Ie32eee15d12660e096dd0a738195d846bde6c59f

7 years agoMerge "AOD: Fix rotation during screen off (again)" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 17:00:22 +0000 (17:00 +0000)]
Merge "AOD: Fix rotation during screen off (again)" into oc-dr1-dev

7 years agoMerge "Adding 4 standard short codes required by Android Constellation" am: d00de318f...
Carlos Vinueza [Tue, 25 Jul 2017 16:41:55 +0000 (16:41 +0000)]
Merge "Adding 4 standard short codes required by Android Constellation" am: d00de318f9 am: b7e104d0a3
am: 97151608d9

Change-Id: I3a20927372095ff9fa3e903681806454f4775568

7 years agoMerge "Adding 4 standard short codes required by Android Constellation" am: d00de318f9
Carlos Vinueza [Tue, 25 Jul 2017 16:35:11 +0000 (16:35 +0000)]
Merge "Adding 4 standard short codes required by Android Constellation" am: d00de318f9
am: b7e104d0a3

Change-Id: I94bc7fa7f68eefd8eae5d33689cd9d6983669df7

7 years agoMerge "Adding 4 standard short codes required by Android Constellation"
Carlos Vinueza [Tue, 25 Jul 2017 16:27:10 +0000 (16:27 +0000)]
Merge "Adding 4 standard short codes required by Android Constellation"
am: d00de318f9

Change-Id: Ib17b53a72e737a7b584c65b63c89bd7524c1a2c4

7 years agoMerge "Adding 4 standard short codes required by Android Constellation"
Treehugger Robot [Tue, 25 Jul 2017 16:12:23 +0000 (16:12 +0000)]
Merge "Adding 4 standard short codes required by Android Constellation"

7 years agoMerge "Disregard closing activities when blocking previous activities." into oc-dr1-dev
Winson Chung [Tue, 25 Jul 2017 15:56:25 +0000 (15:56 +0000)]
Merge "Disregard closing activities when blocking previous activities." into oc-dr1-dev
am: f1f25ad5f2

Change-Id: Idc05690e4201c5b379f41d2f78e951556dd96fc5

7 years agoMerge "Default-disable tethering offload" into oc-dr1-dev
Pankaj Kanwar [Tue, 25 Jul 2017 15:54:36 +0000 (15:54 +0000)]
Merge "Default-disable tethering offload" into oc-dr1-dev
am: 1244ff1956

Change-Id: I0835653960e11dfdbdcade5d2c067e8ad1cad697

7 years agoMerge "Disregard closing activities when blocking previous activities." into oc-dr1-dev
Winson Chung [Tue, 25 Jul 2017 15:45:39 +0000 (15:45 +0000)]
Merge "Disregard closing activities when blocking previous activities." into oc-dr1-dev

7 years agoMerge "Default-disable tethering offload" into oc-dr1-dev
Pankaj Kanwar [Tue, 25 Jul 2017 15:43:52 +0000 (15:43 +0000)]
Merge "Default-disable tethering offload" into oc-dr1-dev

7 years agoZen introduction text updates
Julia Reynolds [Fri, 21 Jul 2017 15:15:52 +0000 (11:15 -0400)]
Zen introduction text updates

- Update color of text/button for legibility
- prevent poorly timed zen update broadcasts from interrupting the
zen footer window animation

Change-Id: I04eaaae80fb0647b0a792023f5ed03ebd9142e04
Fixes: 63916428
Fixes: 63815440
Test: manual

7 years agoMerge "Remove TODO related to WakeLocks" am: 12d08bf9a0 am: 069bb850d8
Neil Fuller [Tue, 25 Jul 2017 15:07:44 +0000 (15:07 +0000)]
Merge "Remove TODO related to WakeLocks" am: 12d08bf9a0 am: 069bb850d8
am: 8a119594ea

Change-Id: I9c44d3dd6682d4c7e8e1c65afb9e99546eb8217e

7 years agoMerge "Remove TODO related to WakeLocks" am: 12d08bf9a0
Neil Fuller [Tue, 25 Jul 2017 15:01:12 +0000 (15:01 +0000)]
Merge "Remove TODO related to WakeLocks" am: 12d08bf9a0
am: 069bb850d8

Change-Id: Ic57af16f3f3fbbe209e1fc5fd5f13c7c8ad8117d

7 years agoMerge "Remove TODO related to WakeLocks"
Neil Fuller [Tue, 25 Jul 2017 14:54:46 +0000 (14:54 +0000)]
Merge "Remove TODO related to WakeLocks"
am: 12d08bf9a0

Change-Id: Id94118a9b687493f6f6879bf6bbe23cfad86dfa9

7 years agoAOD: Show keyguard indications in white
Adrian Roos [Tue, 25 Jul 2017 14:46:23 +0000 (16:46 +0200)]
AOD: Show keyguard indications in white

Fixes an issue where colored keyguard indications were hard
to read on AOD.

Change-Id: I6bbb6267278a7397327f1fc4d88304d83f5f1ff1
Fixes: 63686192
Test: Set up fingerprint; go to AOD; tap wrong finger; verify message is shown in white

7 years agoMerge "Bootstrap IpReachabilityMonitor unit tests" am: a9889c94aa am: 39a707813b
Hugo Benichi [Tue, 25 Jul 2017 14:45:35 +0000 (14:45 +0000)]
Merge "Bootstrap IpReachabilityMonitor unit tests" am: a9889c94aa am: 39a707813b
am: 5bc28905b6

Change-Id: I9ca394ccac1683d5d91b426582cfb3cddb5f5e96

7 years agoMerge "Remove TODO related to WakeLocks"
Treehugger Robot [Tue, 25 Jul 2017 14:42:40 +0000 (14:42 +0000)]
Merge "Remove TODO related to WakeLocks"

7 years agoMerge "Bootstrap IpReachabilityMonitor unit tests" am: a9889c94aa
Hugo Benichi [Tue, 25 Jul 2017 14:39:40 +0000 (14:39 +0000)]
Merge "Bootstrap IpReachabilityMonitor unit tests" am: a9889c94aa
am: 39a707813b

Change-Id: Ie56377ae158d32a3592fd700e93fc827754ecaa3

7 years agoMerge "Bootstrap IpReachabilityMonitor unit tests"
Hugo Benichi [Tue, 25 Jul 2017 14:33:45 +0000 (14:33 +0000)]
Merge "Bootstrap IpReachabilityMonitor unit tests"
am: a9889c94aa

Change-Id: Ic3b145159a4c0430cc248a19b8527af40fa67696

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 25 Jul 2017 14:18:00 +0000 (07:18 -0700)]
Import translations. DO NOT MERGE

Change-Id: I8cbbc0e35bc9e917d877df5561d8e93ac43c3db3
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

7 years agoMerge "Fingerprint: Show bouncer when fingerprint is disallowed" into oc-dr1-dev
Adrian Roos [Tue, 25 Jul 2017 14:07:41 +0000 (14:07 +0000)]
Merge "Fingerprint: Show bouncer when fingerprint is disallowed" into oc-dr1-dev
am: 544e628e16

Change-Id: I982674b51ae09dc067b0159345996892ae5f35ea

7 years agoMerge "Follow up to "Add modified API to send more information to VrCore"" into oc...
Alex Sakhartchouk [Tue, 25 Jul 2017 14:05:33 +0000 (14:05 +0000)]
Merge "Follow up to "Add modified API to send more information to VrCore"" into oc-dr1-dev
am: 9b53851d58

Change-Id: I7fccb7f1002076d4916ecf63673d97ee9cd8fbaa

7 years agoMerge "AOD: Skip prox check if cached prox value available" into oc-dr1-dev
Adrian Roos [Tue, 25 Jul 2017 14:00:27 +0000 (14:00 +0000)]
Merge "AOD: Skip prox check if cached prox value available" into oc-dr1-dev
am: f96573f894

Change-Id: I618be0eb195c3a3abcceb01d08c3f159b6c6a016

7 years agoMerge "Fingerprint: Show bouncer when fingerprint is disallowed" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 13:55:35 +0000 (13:55 +0000)]
Merge "Fingerprint: Show bouncer when fingerprint is disallowed" into oc-dr1-dev

7 years agoMerge "Follow up to "Add modified API to send more information to VrCore"" into oc...
TreeHugger Robot [Tue, 25 Jul 2017 13:54:25 +0000 (13:54 +0000)]
Merge "Follow up to "Add modified API to send more information to VrCore"" into oc-dr1-dev

7 years agoMerge "AOD: Skip prox check if cached prox value available" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 13:52:51 +0000 (13:52 +0000)]
Merge "AOD: Skip prox check if cached prox value available" into oc-dr1-dev

7 years agoAOD: Fix rotation during screen off (again)
Adrian Roos [Tue, 25 Jul 2017 13:37:32 +0000 (15:37 +0200)]
AOD: Fix rotation during screen off (again)

Fixes another issue where the screen could rotate during the screen-off transition.
mAwake is still true during goingToSleep, but we should no longer play rotation
animations if we are going to sleep. Instead use the more appropriately named
okToAnimate.

Change-Id: I816d1552de3fea0a19ce42ca50d845eb46f80625
Fixes: 63760853
Test: Trigger show-when-locked navigation, rotate phone to landscape, trigger assistant, go to sleep. Verify no rotation plays; go/wm-smoke

7 years agoMerge "Bootstrap IpReachabilityMonitor unit tests"
Treehugger Robot [Tue, 25 Jul 2017 13:05:47 +0000 (13:05 +0000)]
Merge "Bootstrap IpReachabilityMonitor unit tests"

7 years agoRemove TODO related to WakeLocks
Neil Fuller [Tue, 25 Jul 2017 12:14:32 +0000 (13:14 +0100)]
Remove TODO related to WakeLocks

There's no need to keep a WakeLock in the RulesManager - if
the device goes to sleep it should continue the work when
it wakes up again. All I/O is handled via AtomicFile and should
be robust to corruption, etc. and this reduces the likelihood
of issues caused by sudden sleeps.

Bug: 31008728
Test: make
Change-Id: I3d5076ca7d2f39076f76bdb745cedde214eac21b

7 years agoMerge "Keyguard: Remove fancy colon" into oc-dr1-dev
Adrian Roos [Tue, 25 Jul 2017 11:54:29 +0000 (11:54 +0000)]
Merge "Keyguard: Remove fancy colon" into oc-dr1-dev
am: 55bc522d0d

Change-Id: I4d2297e7ef81876044fc49ead7187cacf20c0520

7 years agoMerge "Keyguard: Remove fancy colon" into oc-dr1-dev
Adrian Roos [Tue, 25 Jul 2017 11:45:43 +0000 (11:45 +0000)]
Merge "Keyguard: Remove fancy colon" into oc-dr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 25 Jul 2017 10:54:46 +0000 (03:54 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6b21356d1e9da32d7bd970fcdb6eafbeb994d89c
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

7 years agoDefault-disable tethering offload
Erik Kline [Tue, 25 Jul 2017 03:18:56 +0000 (12:18 +0900)]
Default-disable tethering offload

Test: runtest frameworks-net
Bug: 63250751
Change-Id: I63aa115e534123c46bd515bc099a601da45c5725

7 years agoBootstrap IpReachabilityMonitor unit tests
Hugo Benichi [Mon, 24 Jul 2017 00:30:52 +0000 (09:30 +0900)]
Bootstrap IpReachabilityMonitor unit tests

Bug: 62918393
Test: runtest frameworks-net

Change-Id: I236029f460dc3631ef9f5d8312dc1c6faf9807df

7 years agoMerge "Add dump info to IpSecService" am: ec5fc4872e am: 3f3c4f6da4
ludi [Tue, 25 Jul 2017 03:26:23 +0000 (03:26 +0000)]
Merge "Add dump info to IpSecService" am: ec5fc4872e am: 3f3c4f6da4
am: c628b22fe5

Change-Id: I1a5d4c424a3c9e1638d86d177cbf98f0d1bce05d

7 years agoMerge "Add dump info to IpSecService" am: ec5fc4872e
ludi [Tue, 25 Jul 2017 03:17:24 +0000 (03:17 +0000)]
Merge "Add dump info to IpSecService" am: ec5fc4872e
am: 3f3c4f6da4

Change-Id: Iaa81bf94573f06dc2dbd00e30df283c0ce7a7a76

7 years agoMerge "Add dump info to IpSecService"
ludi [Tue, 25 Jul 2017 03:07:00 +0000 (03:07 +0000)]
Merge "Add dump info to IpSecService"
am: ec5fc4872e

Change-Id: Idd4c051e4536d32504718fdfd201c7effdeb62e3

7 years agoMerge "Add dump info to IpSecService"
Treehugger Robot [Tue, 25 Jul 2017 02:38:47 +0000 (02:38 +0000)]
Merge "Add dump info to IpSecService"

7 years agoMerge "Batterystats handles nested unoptimized ble scans" into oc-dr1-dev
Ajay Panicker [Tue, 25 Jul 2017 02:19:18 +0000 (02:19 +0000)]
Merge "Batterystats handles nested unoptimized ble scans" into oc-dr1-dev
am: aaf3860941

Change-Id: I3ea0257deb116f89aa62afd49fd4daefb8a782d5

7 years agoFollow up to "Add modified API to send more information to VrCore"
Alex Sakhartchouk [Tue, 25 Jul 2017 02:12:39 +0000 (22:12 -0400)]
Follow up to "Add modified API to send more information to VrCore"

Fixes corner case when the same component name first shows up as a
non VR activity, then again as VR.

Bug: 63709047
Test: Device launched to VR Home
Change-Id: I6f590185635cde06b0fba9f0e05ff6d6d586cfbb

7 years agoMerge "Batterystats handles nested unoptimized ble scans" into oc-dr1-dev
Ajay Panicker [Tue, 25 Jul 2017 02:11:26 +0000 (02:11 +0000)]
Merge "Batterystats handles nested unoptimized ble scans" into oc-dr1-dev

7 years agoMerge "Don't display QS security footer in demo mode" into oc-dr1-dev
Christine Franks [Tue, 25 Jul 2017 01:53:30 +0000 (01:53 +0000)]
Merge "Don't display QS security footer in demo mode" into oc-dr1-dev
am: ae6776a839

Change-Id: Ia432b6ba609222fce86ec5ce9cb07e443873114e

7 years agoMerge "Remove old configuration values for demo mode" into oc-dr1-dev
Christine Franks [Tue, 25 Jul 2017 01:44:42 +0000 (01:44 +0000)]
Merge "Remove old configuration values for demo mode" into oc-dr1-dev
am: e1132b4a39

Change-Id: I445694d99637a95eaf885d7168c9a747f78e4e0c

7 years agoMerge "Default-off FP Swipe" into oc-dr1-dev
Kevin Chyn [Tue, 25 Jul 2017 01:39:17 +0000 (01:39 +0000)]
Merge "Default-off FP Swipe" into oc-dr1-dev
am: 76303759c4

Change-Id: I7cb12bfd1dfd5032302e706fae51238cf32a5036

7 years agoMerge "proper cleanup onDestroy" into oc-dr1-dev
Chen Xu [Tue, 25 Jul 2017 01:37:15 +0000 (01:37 +0000)]
Merge "proper cleanup onDestroy" into oc-dr1-dev
am: c8f40de2dd

Change-Id: I41cd5388f08bdb400616d4e459db04353cf37915

7 years agoMerge "Refurbish granting mechanism" into oc-dr1-dev
Janis Danisevskis [Tue, 25 Jul 2017 01:34:15 +0000 (01:34 +0000)]
Merge "Refurbish granting mechanism" into oc-dr1-dev
am: a4a68a1481  -s ours

Change-Id: I271d71fe2b7cc35e79e7d0811700c91e3ba0fb1c

7 years agoMerge "Don't display QS security footer in demo mode" into oc-dr1-dev
Christine Franks [Tue, 25 Jul 2017 01:25:14 +0000 (01:25 +0000)]
Merge "Don't display QS security footer in demo mode" into oc-dr1-dev

7 years agoMerge "Remove old configuration values for demo mode" into oc-dr1-dev
Christine Franks [Tue, 25 Jul 2017 01:23:24 +0000 (01:23 +0000)]
Merge "Remove old configuration values for demo mode" into oc-dr1-dev

7 years agoMerge "Default-off FP Swipe" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 01:03:14 +0000 (01:03 +0000)]
Merge "Default-off FP Swipe" into oc-dr1-dev

7 years agoMerge "proper cleanup onDestroy" into oc-dr1-dev
Chen Xu [Tue, 25 Jul 2017 01:00:23 +0000 (01:00 +0000)]
Merge "proper cleanup onDestroy" into oc-dr1-dev

7 years agoUse config_headlineFontFeatureSettings for lockscreen clock
Andrew Sapperstein [Tue, 25 Jul 2017 00:55:32 +0000 (17:55 -0700)]
Use config_headlineFontFeatureSettings for lockscreen clock

Allows OEMs to customize the fontFeatureSettings used for the clock.

Bug: 63861032
Test: manual and ag/2588146
Change-Id: I670c76a26875466d67c9bd1733932f5b8d82edae

7 years agoMerge "Zygote: Increase wrap-pid timeout to thirty seconds" am: 81f66ce5ab am: d795bbcdcc
Andreas Gampe [Tue, 25 Jul 2017 00:32:46 +0000 (00:32 +0000)]
Merge "Zygote: Increase wrap-pid timeout to thirty seconds" am: 81f66ce5ab am: d795bbcdcc
am: 7729d061ff

Change-Id: I09b9eff7215bb22e831939eede7ddaa755fc4970

7 years agoChanging the way the media image scales
Selim Cinek [Tue, 25 Jul 2017 00:27:22 +0000 (17:27 -0700)]
Changing the way the media image scales

Before, the media image could get really small
under certain conditions. We now just push it off
a bit.

Test: manual, test media notification with different densities
Change-Id: If0fec49510a0dee627ce4a8ddb7075534c0e15c3
Fixes: 63142413

7 years agoMerge "Zygote: Increase wrap-pid timeout to thirty seconds" am: 81f66ce5ab
Andreas Gampe [Tue, 25 Jul 2017 00:27:45 +0000 (00:27 +0000)]
Merge "Zygote: Increase wrap-pid timeout to thirty seconds" am: 81f66ce5ab
am: d795bbcdcc

Change-Id: I350d479d030e3b8398975f60b8463343f7bb5e86