Commit Graph

420322 Commits

Author SHA1 Message Date
Adrian Salido
36966ca4ab Revert "Hold Display suspend blocker until doze starts"
This reverts commit 93e164726f.

Reason for revert: This is causing wake lock to remain held
while screen is off

Bug: 139875245
Change-Id: I0ff714a0cf2496d141d355de68761ab720a09539
2019-08-22 20:41:15 +00:00
Santos Cordon
93e164726f Hold Display suspend blocker until doze starts
When transitioning to DOZE, there is a race condition between the
release of the display suspend blocker and calling startDream. This
creates a gap where the device can suspend before the dream actually
starts.  In practice, this can cause gestures, which are nitialized
from the Dream Service, to not function until something else
temporarily wakes up the device enough for the CPU to run a few
cycles.

This change delays the release of the display suspend blocker if
there is a pending recalculation of the sleep/doze state.

Bug: 138828701
Test: Manual testing - was 1 in 5 chance of reproing.  Tested up to
0 out of 50 after the fix.
Test: atest PowerManagerServiceTest

Change-Id: Ic6df469972dc5765a8c4507404d1dc33f13ec0c3
2019-08-21 21:38:25 +00:00
Long Ling
36da9bb9ff Merge changes from topic "device_config_for_display_90" into qt-r1-dev
* changes:
  DO NOT MERGE Move device config key high_refresh_rate_blacklist to display_manager
  DO NOT MERGE Allow DeviceConfig to change display settings
  DO NOT MERGE DeviceConfig: Add Name space and keys for Display Manager
2019-08-21 19:35:12 +00:00
TreeHugger Robot
8e70a2826e Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev 2019-08-21 19:04:49 +00:00
Hall Liu
5ca4cef9b5 Merge "Add carrier config for ignoring user RTT setting" into qt-r1-dev 2019-08-21 18:28:20 +00:00
Long Ling
6f13f12213 DO NOT MERGE Move device config key high_refresh_rate_blacklist to display_manager
high_refresh_rate_blacklist belongs to smooth display feature. Move the
key from namespace window_manager to display_manager.

Bug: 139138964
Test: atest WmTests:HighRefreshRateBlacklistTest
Test: Manual adb shell device_config/dumpsys window
Change-Id: I3ae8ecce80ef97c4683a1c18ad81dc78456e9d57
2019-08-21 10:45:29 -07:00
Long Ling
67aae3f322 DO NOT MERGE Allow DeviceConfig to change display settings
Allow DeviceConfig to change default refresh rate and 60 hz only
thresholds.

Bug: 139138964
Change-Id: I3bf5f8cf7a99e4723265138004fbbd08102119d9
2019-08-21 10:45:29 -07:00
Long Ling
66e9298ac6 DO NOT MERGE DeviceConfig: Add Name space and keys for Display Manager
Bug: 139138964
Change-Id: I077380583f0daf650b17832a6cec4919b41ac155
2019-08-21 10:45:22 -07:00
TreeHugger Robot
a4a02a7854 Merge "Treat SENSOR_DIRTY as user not detected" into qt-r1-dev 2019-08-21 17:25:15 +00:00
Ilya Matyukhin
c90507e496 Treat SENSOR_DIRTY as user not detected
Bug: 139620163
Test: no double vibration on authentication timeout while the sensor
is covered.

Change-Id: I26ec9ca0f911fb029eb9175fe1923c8e9a27e693
2019-08-21 06:44:34 +00:00
Selim Cinek
776d0367b0 [automerger skipped] Merge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked" into qt-dev
am: cceea08cc7 -s ours
am skip reason: change_id I8f7bd7a6a0562942ed3e12f28705043722d177e8 with SHA1 65c96f2fd4 is in history

Change-Id: I5451e6467e8ffebd08360abfab9f86a429ed0721
2019-08-20 17:14:38 -07:00
Selim Cinek
aec6b61816 Merge "EglDisplay may be null and cause Null point exception" into qt-r1-dev 2019-08-20 23:40:41 +00:00
Selim Cinek
cceea08cc7 Merge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked" into qt-dev 2019-08-20 23:39:13 +00:00
Selim Cinek
bdf71a0420 DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked
Since we're using the pulsing state for docking, the icons would now
become clipped while pulsing.

Fixes: 139096431
Test: dock, observe notification icons showing
Change-Id: If251e6b18c03b2824b4d3ea4dab82d4a403565f1
Merged-In: I8f7bd7a6a0562942ed3e12f28705043722d177e8
2019-08-20 13:00:03 -07:00
Jayachandran Chinnakkannu
f3395734e8 Merge "Fixed null callback issue" into qt-r1-dev 2019-08-20 17:37:03 +00:00
Alexey Kuzmin
a5f043a6a0 Mark USAGE_NOTIFICATION_EVENT vibrations as notifications
Non-notification background vibrations are ignored. However, we don't
want to ignore notifications that represent various events, such as
reminders.
Test: Create a calendar event with a reminder. Close calendar and wait
for reminder. The device should vibrate when the reminder pops up.
Bug: 139523314

Change-Id: I231239daf7cc85bf69aaeef1da31218a23fcf311
2019-08-20 17:19:12 +00:00
Kevin Chyn
95a675ce91 Merge "Remove unused setting" into qt-r1-dev 2019-08-19 21:50:22 +00:00
TreeHugger Robot
4e027572e3 Merge "Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)" into qt-r1-dev 2019-08-19 20:37:12 +00:00
Nate Fischer
6201d28952 Merge "WebView: prettyprint docs" into qt-dev
am: 20f2f0b5ea

Change-Id: Iad51d33c434a42272c448ba7a807bdcbe6cb51d0
2019-08-19 13:22:49 -07:00
Mihir Patel
4aa0aeadff Merge "Fixing a bug where content capture sessions with child sessions could get stuck in a state where no event flushing other than forced flushes would occur" into qt-r1-dev 2019-08-19 20:11:44 +00:00
TreeHugger Robot
20f2f0b5ea Merge "WebView: prettyprint docs" into qt-dev 2019-08-19 19:06:32 +00:00
Jack Yu
09ef1cb126 Fixed null callback issue
Fixed the vendor data/network service non-responsive
issue. The callback binder passed from frameworks
might be GC'd so that vendor data/network service skipped
calling the callback. This eventually caused data
connection state machine messed up.

Fixed by turning the weak refernce to the callback into
a strong reference. This ensure the binder alive when
vendor service needs to invoke the callback.

Test: Telephony sanity tests
Bug: 139076980
Change-Id: Ica0b7b810ffd5416ffd1b2b61f7ebc4af0dcb8ce
2019-08-19 10:02:11 -07:00
TreeHugger Robot
4769e819e9 Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-08-18 06:47:23 +00:00
Bill Yi
dd02df509c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic933893725676e939dff7615cbdae520d0597e84
2019-08-17 22:33:19 -07:00
TreeHugger Robot
ab5629ef3c Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-08-18 01:42:27 +00:00
Bill Yi
d7500b9f12 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1007992fe397102078f19c63aa04cb63fe7c8765
2019-08-17 12:52:27 -07:00
TreeHugger Robot
6f1fc7fd3f Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-08-17 16:37:30 +00:00
TreeHugger Robot
559e7a3de1 Merge "Get resource based on subId for multi-SIM" into qt-r1-dev 2019-08-17 13:58:53 +00:00
Bill Yi
dbf0613448 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I94e4a89f9517f1991432295abba850d842d07877
2019-08-16 22:55:20 -07:00
Kevin Chyn
d806bc4c11 Remove unused setting
Bug: 139554930

Test: manual
Change-Id: I5c4af200b0c61efb9a0f76d00c2f047d4880d77b
Merged-In: I5c4af200b0c61efb9a0f76d00c2f047d4880d77b
2019-08-17 04:52:47 +00:00
Roy Want
2d2b916cd3 Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)
Bug: 139448024
Bug: 139448573
Test: All tests pass (with increased precision), end-to-end tests pass.
Change-Id: I1e1dd3b26df707279e6cc2d59951f28d7878efe8
2019-08-16 21:11:21 +00:00
TreeHugger Robot
3186b40edf Merge "Do not stop idmap2d after OMS initialization" into qt-r1-dev 2019-08-16 19:43:52 +00:00
Adrian Roos
1ac726e718 Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
am: d3b53e080d

Change-Id: I6da708a8b05f762af1b781db75aa2511aa895abf
2019-08-15 13:20:20 -07:00
TreeHugger Robot
d3b53e080d Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev 2019-08-15 18:07:32 +00:00
Dave Mankoff
9dccbdca70 Merge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into qt-r1-dev 2019-08-15 14:37:06 +00:00
TreeHugger Robot
9a0d576b4d Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev 2019-08-15 03:27:35 +00:00
Jack Yu
24397e7a07 Merge "Added debug messages and watchdog" into qt-r1-dev 2019-08-15 03:15:12 +00:00
Kevin Hufnagle
4125bd9b25 Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
am: 81d74c6c72

Change-Id: I964a029a53fb5f14d872baceee9883391da24cd3
2019-08-14 17:35:05 -07:00
Jack Yu
36e2bfbaad Added debug messages and watchdog
Added debug messages and watchdog to catch
unresponsive data service issue.

Bug: 139076980
Test: Manual
Change-Id: I52dd126fddc1b1e8b18d5388a92aabaa3e2e48d5
2019-08-15 00:07:07 +00:00
Kevin Hufnagle
81d74c6c72 Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev 2019-08-14 23:32:22 +00:00
Hongwei Wang
f8108f81cc Merge "Enables back gesture nav in screen pinning" into qt-r1-dev 2019-08-14 20:50:57 +00:00
Kevin Hufnagle
ae80734298 Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
am: a5e5c177d1

Change-Id: I270a33ab91ec0185bda3c82e600b18c9cca6c8ec
2019-08-14 13:23:33 -07:00
Brian Duddie
7eeb6f60f9 Merge "docs: Correct sensor runtime permission documentation" into qt-dev
am: 119f1220cd

Change-Id: I380c1dab916509ac0878e8a60712e7f08e7451a5
2019-08-14 13:09:45 -07:00
Kevin Hufnagle
7ae4cbeeda Revert "docs: Added desc. of launcher app criteria in Q"
This reverts commit 786f22e416.

Reason for revert: Need further feedback from SMEs

Bug: 130352392

Change-Id: I51b3bd19e27d28fe3aea300893da50bbf889ec73
2019-08-14 19:35:23 +00:00
Kevin Hufnagle
a5e5c177d1 Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev 2019-08-14 19:22:11 +00:00
Ryan Mitchell
b8fbab6218 Do not stop idmap2d after OMS initialization
The OMS was calling stopIdmapService after OMS initialization finished.
This method was not setting the cached service binder to null and the
service binder was being reused when an overlay is enabled or disabled
within the 10 seconds the connection to the service is still opened.

This change no longer calls stopIdmapService and makes startIdmapService
and stopIdmapService private to IdmapDaemon.

Bug: 139307780
Test: enabled overlay within 10 seconds of OMS startup ending and
      observed state STATE_ENABLED.
Change-Id: I46b6a3631278c4dbdf5e5d373e085bac5186ed9a
2019-08-14 17:34:53 +00:00
Brian Duddie
119f1220cd Merge "docs: Correct sensor runtime permission documentation" into qt-dev 2019-08-14 17:32:05 +00:00
Dave Mankoff
f1455b056d Allow for more wiggle room (literally) in BrightlineFalsingManager.
Bug: 138812628
Change-Id: I8590b2daff0337a395d333c07c2231cc10d236a3
Test: manual testing with different people to find better values.
2019-08-14 13:10:48 -04:00
Chiachang Wang
91decc85fc Get resource based on subId for multi-SIM
The resource loading is done based on the last SIM to come up
which is not a deterministic design. Thus, update the way to get
the resource based on the subId.

Test: atest FrameworksNetTests
Test: manually test with avoid bad wifi feature supported sim
Bug: 138956509
Change-Id: Ib5b085d97103889600773d269e03b939c29ca47d
Merged-In: Ib5b085d97103889600773d269e03b939c29ca47d
(cherry picked from commit 5e994ea02c)
2019-08-14 12:15:56 +00:00
Prabir Pradhan
5cd874d792 Merge "apply empty transaction in startActivitySync" into qt-dev
am: f928b661d9

Change-Id: Ic4b27be6729a3a7627a8fc499cd99fdec42cad35
2019-08-14 01:40:41 -07:00