Commit Graph

364134 Commits

Author SHA1 Message Date
xshu
6352262bf8 metrics: watchdog connection delay field
Add 2 fields to check if watchdog is really working as well as we think
it is.

Bug: 75001353
Test: compile, run ./frameworks/base/wifi/tests/runtests.sh

Change-Id: If547bd962f12773f4a4b36fb8fc3e50aff259dac
2018-04-04 14:36:29 -07:00
TreeHugger Robot
315c230cbb Merge "Longer wake lock timeout" into pi-dev 2018-04-03 21:23:35 +00:00
TreeHugger Robot
a43cedbf25 Merge "Avoid null pointer when in getAmbientBrightnessStats" into pi-dev 2018-04-03 21:15:26 +00:00
TreeHugger Robot
32e7a0c23b Merge "Update displayId when a window is moved to a new display" into pi-dev 2018-04-03 21:06:39 +00:00
TreeHugger Robot
04dc4a02f0 Merge "AudioService: prevent muting of alarm / accessibility" into pi-dev 2018-04-03 21:06:15 +00:00
TreeHugger Robot
b8d46c2c14 Merge "Correct provider filtering" into pi-dev 2018-04-03 20:53:21 +00:00
Maggie Wang
4f79a18cc5 Merge "Fix test location provider bug" into pi-dev 2018-04-03 20:44:29 +00:00
Steve Pfetsch
7f3e5bb053 Merge "Relax angle-related false touch classification." into pi-dev 2018-04-03 20:31:31 +00:00
Yi Jin
7d1357723d Merge "Based on the discussion of ag/3818243, this is the initial list. The reason to repropose this is because of some changes like ag/3619568. We don't want to allow this happens again." into pi-dev 2018-04-03 20:02:21 +00:00
TreeHugger Robot
61b93505ba Merge "Dejank QS edit screen." into pi-dev 2018-04-03 19:50:20 +00:00
TreeHugger Robot
287fec6358 Merge "Atoms: remove bluetooth a2dp" into pi-dev 2018-04-03 19:48:33 +00:00
TreeHugger Robot
02327e4080 Merge "Add DISABLE_CLOCK flags to status bar, fix transitions" into pi-dev 2018-04-03 19:46:29 +00:00
TreeHugger Robot
cbea0a76c6 Merge "null check on qspanel before called method on it." into pi-dev 2018-04-03 19:37:28 +00:00
Ricky Wai
16ae4cd2ef Merge "Handle getNetworkWatchlistConfigHash() without config case" into pi-dev 2018-04-03 19:32:27 +00:00
Ruchi Kandoi
a1fc0255b8 Merge changes from topic "omapi" into pi-dev
* changes:
  Add an Executor for the onConnectedListener
  Make OMAPI stricter
2018-04-03 19:17:18 +00:00
TreeHugger Robot
47721fa59d Merge "Avoids vibration over deadzone in navigationbar" into pi-dev 2018-04-03 19:09:22 +00:00
TreeHugger Robot
7793bcd867 Merge "Add logging constant to track settings slice changes" into pi-dev 2018-04-03 19:04:38 +00:00
Maggie
2a9409e914 Fix test location provider bug
LocationManager.isProviderEnabled should return true for a test provider if:
1. A test provider is added through LocationManager.addTestProvider
2. The test provider is enabled through LocationManager.setTestProviderEnabled

This fix changes the logic if LocationManager.isProviderEnabled and
LocationManager.setProviderEnabledForUser to allow users get/set test
location provider status.

Bug: 72647543
Bug: 77238940
Test: Manual
Test: run cts --module CtsLocationTestCases -t android.location.cts.LocationManagerTest
Change-Id: Ib241e5b487fd873c1fa0d7ac34b82b8592fc0906
2018-04-03 18:56:47 +00:00
TreeHugger Robot
6ae58e0d16 Merge "Nav icons and quick step states are determined by service enabled" into pi-dev 2018-04-03 18:47:22 +00:00
TreeHugger Robot
26f99b4cb7 Merge "Free up all scratch resources when the app's UI is hidden" into pi-dev 2018-04-03 18:41:17 +00:00
Lucas Dupin
e03081f4b7 Longer wake lock timeout
This isn't a definitive fix but should
make the symptoms less visible.

Bug: 71913808
Test: cover prox sensor, uncover it
Change-Id: I49976d5ba09d416e96cc5e623e49d55ecacf5567
2018-04-03 11:31:27 -07:00
Nathan Harold
80a2bba9a6 Merge "Add AppOps Checks for MANAGE_IPSEC_TUNNELS" into pi-dev 2018-04-03 18:24:31 +00:00
Nathan Harold
592dadbd43 Add AppOps Checks for MANAGE_IPSEC_TUNNELS
Adds support for a new AppOp to permit services to
use IpSec tunnel mode. The IpSecService now needs
a context so change the service mode to a cached
service rather than a static service.

Bug: 66955045
Test: runtest frameworks-net
Change-Id: I17a4a286225b432c3e15ea1587d946189931b4f4
2018-04-03 18:23:11 +00:00
Hall Liu
0929182dbf Merge "Change signature of requestBluetoothAudio" into pi-dev 2018-04-03 18:19:30 +00:00
Amin Shaikh
5df1a75ec8 Dejank QS edit screen.
Do not show any tile animations on the QS edit screen.

Change-Id: I7cd409c859da0b4606a54d1308f85c01d92baff9
Fixes: 72086633
Test: visual
2018-04-03 14:00:39 -04:00
Evan Laird
4b68e2f785 Add DISABLE_CLOCK flags to status bar, fix transitions
- CollapsedStatusBarFragment now listens to DISABLE_CLOCK so that it can
be requested to hide with disable flags (fixes SUW)
- PhoneStatusBarTransitions cares about the entire left side as a unit
instead of just notifications.

Test: atest frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragmentTest.java
Test: go through SUW, also change users from guest -> owner from lock
screen.

Change-Id: Ia693386b9ef0438a4fe341d056731e2ba6e973a0
Fixes: 71512617
Fixes: 71360226
2018-04-03 14:00:23 -04:00
TreeHugger Robot
7219f8bac8 Merge "Move forward the alarm timestamp when config is added to statsd." into pi-dev 2018-04-03 17:57:43 +00:00
Lujiang Xue
d9839562ee null check on qspanel before called method on it.
Bug: 77324282

Test: manually launched on head unit
Change-Id: Ia484d527cd07f6998d6e9907250ae9eb0c031674
2018-04-03 10:52:22 -07:00
TreeHugger Robot
9c9177eb6b Merge "Add com.android.development to the package whitelist." into pi-dev 2018-04-03 17:40:33 +00:00
Yi Jin
6ff0e42953 Based on the discussion of ag/3818243, this is the initial list. The
reason to repropose this is because of some changes like ag/3619568.
We don't want to allow this happens again.

Bug: 77277590
Test: N/A
Change-Id: Icfbbced7b441c2503a937eae8e6ca51485885040
2018-04-03 10:31:09 -07:00
TreeHugger Robot
3275d9a004 Merge "Camera: sort getCameraIdList output" into pi-dev 2018-04-03 17:13:39 +00:00
Lucas Dupin
3e57c9f525 Merge "Do not run peek animation when keyguard is fading" into pi-dev 2018-04-03 17:07:03 +00:00
Mathieu Chartier
7ee86d1dbc Merge "Add dedicated flag to control app image generation" into pi-dev 2018-04-03 16:04:32 +00:00
Seigo Nonaka
3a2d4143ee Merge "Make getText hidden and getWidth/getBounds public" into pi-dev 2018-04-03 15:54:49 +00:00
Derek Sollenberger
b1f27aae89 Free up all scratch resources when the app's UI is hidden
Bug: 73808481
Test: hwui_unit_tests
Change-Id: I9f191c776a936c1be40702ff0924c7ad054526d5
2018-04-03 11:53:43 -04:00
Nicolas Geoffray
117367a4ec Add com.android.development to the package whitelist.
bug: 77477866
Test: m
Change-Id: I9ac27dd3e7ee0d764d61ab9a8d2ae1065ce151e5
2018-04-03 16:51:56 +01:00
TreeHugger Robot
a583d12f3d Merge "Icon updates (1 of many)" into pi-dev 2018-04-03 15:21:32 +00:00
Leon Scroggins
8880a9e0b9 Merge "Update javadocs for ImageDecoder and related" into pi-dev 2018-04-03 14:43:01 +00:00
TreeHugger Robot
600fe676f7 Merge "QS tile transition fixes." into pi-dev 2018-04-03 14:30:10 +00:00
TreeHugger Robot
bb5b42eee7 Merge "Fix strings for QS header status." into pi-dev 2018-04-03 14:27:32 +00:00
TreeHugger Robot
d33b958ca0 Merge "Greylist AccessibilityInteractionClient methods" into pi-dev 2018-04-03 13:42:42 +00:00
TreeHugger Robot
7451945364 Merge "Camera: Update external camera orientation guidelines" into pi-dev 2018-04-03 12:57:19 +00:00
Kenny Guy
637f8be6b6 Avoid null pointer when in getAmbientBrightnessStats
Check whether the tracker has been started before
trying to return stats.
Add unit test to check empty lists are returned
rather than null.

Bug: 76008231
Test: atest BrightnessTrackerTest
Change-Id: Icc7ef0ee43a95eb182cb1b0b9452f122363e67ba
2018-04-03 13:22:13 +01:00
Artem Iglikov
e2e5b49bc7 Greylist AccessibilityInteractionClient methods
These are used to clear accessibility cache in tests driven by
UIAutomator.

Bug: 77401534
Test: n/a
Change-Id: Id0bb808e94e0efdd8ddc59f94ddd5ea71394c8a2
2018-04-03 12:57:26 +01:00
David Brazdil
78cea74881 Add more APIs to hidden API light greylist
Bug: 64382372
Bug: 77289927
Bug: 77487374
Bug: 74430927
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: I2a65babbef3ead001f37549c2c470b0e6c118ef3
2018-04-03 12:00:12 +01:00
Ricky Wai
9973345b15 Handle getNetworkWatchlistConfigHash() without config case
Follow ConnectivityManager.getNetworkWatchlistConfigHash() javadoc,
it should return null when watchlist config file does not exist

Bug: 76212923
Test: NULL
Change-Id: Ice2de0732cb07f5159d1e068fb8f95b979191d1a
2018-04-03 10:38:55 +00:00
Bernie Innocenti
1bc47a4c1d Merge "APF: drop multicast ICMPv6 while in doze mode" into pi-dev 2018-04-03 09:42:19 +00:00
Remi NGUYEN VAN
4ed5c186d1 Merge "Use user-defined data limits in multipath quota." into pi-dev 2018-04-03 08:07:08 +00:00
Bernie Innocenti
5be71dcb03 APF: drop multicast ICMPv6 while in doze mode
Some WiFi hotspots send excessive multicast IPv6 ping requests which
cause considerable power drain. Thus, drop all multicast ICMPv6 ping
requests while the device is in doze mode.

Bug: 66930077
Test: runtest -x tests/net/java/android/net/apf/ApfTest.java
Test: manual - compared generated APF bytecode using apf_disassembler
Test: manual - force idle mode while sending multicast pings to device
Change-Id: I25dbf99985cf4413b4d0e3920d281fe6d663197a
(cherry picked from commit e2c70f8a60)
2018-04-03 16:16:14 +09:00
Sanry Huang
85d4aeb5c5 Merge "Fix wrong linear navigation order when TalkBack is on" into pi-dev 2018-04-03 05:31:10 +00:00