OSDN Git Service
Erik Kline [Tue, 4 Jul 2017 04:39:48 +0000 (13:39 +0900)]
Better logging infrastructure in OffloadHardwareInterface
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
- watch "adb shell dumpsys connectivity tethering | tail -60" shows logs
Bug:
29337859
Bug:
32163131
Change-Id: Id0bd14e5b364c497403c2d88f7b1c31d712e6f87
Erik Kline [Tue, 4 Jul 2017 13:02:49 +0000 (22:02 +0900)]
Switch to USB_CONFIGURED as the primary USB readiness signal
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
- USB tethering on and off works as expected
Bug:
32163131
Bug:
36216864
Bug:
62147658
Bug:
62552150
Change-Id: Ia8f7f3616f1358b0427386ce8aff26899e03ac07
TreeHugger Robot [Tue, 4 Jul 2017 05:58:46 +0000 (05:58 +0000)]
Merge "Pass all offload-exempt prefixes into OffloadController" into oc-dr1-dev
TreeHugger Robot [Mon, 3 Jul 2017 15:07:20 +0000 (15:07 +0000)]
Merge changes from topic 'revert-update-conscrypt' into oc-dr1-dev
* changes:
Revert "Track updates to Conscrypt". DO NOT MERGE ANYWHERE.
Revert "Delete obsolete and unused KeyStoreTests". DO NOT MERGE ANYWHERE.
TreeHugger Robot [Mon, 3 Jul 2017 13:37:33 +0000 (13:37 +0000)]
Merge "Improved Text transformations for notifications" into oc-dr1-dev
TreeHugger Robot [Mon, 3 Jul 2017 12:15:57 +0000 (12:15 +0000)]
Merge "AOD: Avoid double re-registration of sensors" into oc-dr1-dev
Selim Cinek [Mon, 3 Jul 2017 10:46:35 +0000 (10:46 +0000)]
Merge "Fixed an issue where the shelf could be hidden" into oc-dr1-dev
Erik Kline [Sat, 24 Jun 2017 10:29:10 +0000 (19:29 +0900)]
Pass all offload-exempt prefixes into OffloadController
Additionally:
- eliminate useless TetherMasterUtilState
Test: as follows
- built
- flashed
- booted
- runtest frameworks passes
Bug:
29337859
Bug:
32163131
Merged-In: I6adcdbd6a4f14bd2cdaa056cfc0cf9c573a165b9
Merged-In: I5e689bcf5dd048ee9f9bd0c32b16d7c2e4c0268d
Merged-In: Ifd3817bd4569682d77a70f8192432391a573f6d8
Merged-In: I1ea57fbe322e26246f1d8b459519f18be1297467
Change-Id: I0482ac9dd9e8ba558b253643dbc01875ce9475ef
(cherry picked from commit
be8ee08f5dcc3627cac6b0baa6664637684cce35)
Erik Kline [Thu, 29 Jun 2017 02:46:51 +0000 (11:46 +0900)]
Switch IpManager and IpReachabilityMonitor to use SharedLog
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
- frameworks/opt/net/wifi/tests/wifitests/runtests.sh passes
- frameworks/base/wifi/tests/runtests.sh passes
- roamed from AP to AP watching IpRM logs accumulate
Bug:
62476366
Bug:
62162774
Change-Id: I155a26259420919eeed74166bacce3311caa49da
Bill Yi [Sat, 1 Jul 2017 16:59:41 +0000 (16:59 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am:
c393596c5c -s ours
Change-Id: Idaf923acd47974e468c4793a65535266478467ee
TreeHugger Robot [Sat, 1 Jul 2017 16:49:35 +0000 (16:49 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 1 Jul 2017 16:48:37 +0000 (16:48 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Sat, 1 Jul 2017 16:48:03 +0000 (16:48 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Sat, 1 Jul 2017 16:10:37 +0000 (16:10 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Sat, 1 Jul 2017 08:05:57 +0000 (01:05 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ie1d41a529933932afe08bd0a4379a8c39566bba2
Auto-generated-cl: translation import
Bill Yi [Sat, 1 Jul 2017 05:21:21 +0000 (22:21 -0700)]
Import translations. DO NOT MERGE
Change-Id: I68c61a6bc5bb8b5ea580383d10702bac0e7db254
Auto-generated-cl: translation import
Bill Yi [Sat, 1 Jul 2017 05:09:25 +0000 (22:09 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2ec049d1c524feca0bba33fdb21ef03960a50c5a
Auto-generated-cl: translation import
TreeHugger Robot [Sat, 1 Jul 2017 03:39:06 +0000 (03:39 +0000)]
Merge "AOD: Pause FalsingManager prox sensor while showing AOD" into oc-dr1-dev
Myles Watson [Sat, 1 Jul 2017 01:08:56 +0000 (01:08 +0000)]
Send disable messages when Bluetooth is disallowed
am:
6291fae585
Change-Id: I13f4e42ceaab9b1dee41d3a43c0a1a5e8f188fff
Bill Yi [Sat, 1 Jul 2017 00:09:53 +0000 (17:09 -0700)]
Import translations. DO NOT MERGE
Change-Id: I3e5fd8c8510ef2804f354fd8ffaa3c716daffde7
Auto-generated-cl: translation import
Myles Watson [Thu, 29 Jun 2017 10:12:02 +0000 (03:12 -0700)]
Send disable messages when Bluetooth is disallowed
Bug:
63021124
Test: cts-tradefed run commandAndExit cts \
-m CtsDevicePolicyManagerTestCases \
-t com.android.cts.devicepolicy.DeviceOwnerTest#testBluetoothRestriction
Change-Id: I0ef538a4d0f0632ce303b29595ac1cab3b7d29ce
TreeHugger Robot [Fri, 30 Jun 2017 22:31:14 +0000 (22:31 +0000)]
Merge "No smart text assist for unprovisioned device." into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 21:37:43 +0000 (21:37 +0000)]
Merge "AOD: Refactor doze brigthness controllers, add AOD auto brightness support" into oc-dr1-dev
Adrian Roos [Fri, 30 Jun 2017 21:22:16 +0000 (21:22 +0000)]
Merge changes Ifa407b84,Iff84c019 into oc-dr1-dev
* changes:
AOD: Add hysteresis to pausing the display
Factor out AlarmTimeout
TreeHugger Robot [Fri, 30 Jun 2017 19:41:46 +0000 (19:41 +0000)]
Merge "Fix use-after-free" into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 19:36:52 +0000 (19:36 +0000)]
Merge "Modify docs to clarify EXTRA_LOG_SELF_MANAGED_CALLS behavior." into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 19:35:05 +0000 (19:35 +0000)]
Merge changes from topic 'HideMultiUser' into oc-dr1-dev
* changes:
Don't show multi-user in QS unless it has been activated before
QS: Move auto-add state to settings provider
TreeHugger Robot [Fri, 30 Jun 2017 19:28:31 +0000 (19:28 +0000)]
Merge "Dedupes ranked apps in sharing windows, and reuses computed scores in sorting for ResolverActivity." into oc-dr1-dev
Winson Chung [Fri, 30 Jun 2017 19:20:22 +0000 (19:20 +0000)]
Merge "Move starting window dim layers behind the activity window layers" into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 19:15:04 +0000 (19:15 +0000)]
Merge "AOD: Ensure dark amount is set after reinflating" into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 18:27:48 +0000 (18:27 +0000)]
Merge "Do not extract colors of live wallpapers." into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 17:50:55 +0000 (17:50 +0000)]
Merge "Update Landscape <-> Autorotate QS animations" into oc-dr1-dev
Santos Cordon [Fri, 30 Jun 2017 17:09:09 +0000 (17:09 +0000)]
Merge "Always run Virtual Display when in a BootsToVR device." into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 16:55:16 +0000 (16:55 +0000)]
Merge "AOD: Use keyguard screen rotation when dozing" into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 16:54:32 +0000 (16:54 +0000)]
Merge "AOD: Hide SIM PIN entry while dozing" into oc-dr1-dev
Selim Cinek [Fri, 30 Jun 2017 16:32:40 +0000 (18:32 +0200)]
Fixed an issue where the shelf could be hidden
During reinflation, the panel could be stuck in
a bad state where qs edit mode was on but not
visible. QS edit now persists through reinflations.
Test: manual
Change-Id: I6e7a20fda2db2184a26a11093064a1367469ab45
Fixes:
62807612
John Reck [Thu, 29 Jun 2017 17:26:44 +0000 (10:26 -0700)]
Fix use-after-free
Change-Id: I8ac1ede5b29f718aa145e18cf1cc057722b62f2b
Fixes:
62810849
Test: Builds
(cherry picked from commit
3c1820e0104b8e48f55cab491f82e84bf0a6081f)
Bryce Lee [Fri, 30 Jun 2017 16:17:34 +0000 (16:17 +0000)]
Merge "Always send configuration to client from resize and relayout." into oc-dr1-dev
Bryce Lee [Fri, 30 Jun 2017 16:17:34 +0000 (16:17 +0000)]
Merge "Add rotation to configuration." into oc-dr1-dev
Jonathan Solnit [Fri, 30 Jun 2017 16:11:22 +0000 (16:11 +0000)]
Merge "Turn off camera lift logging" into oc-dr1-dev
Adrian Roos [Wed, 28 Jun 2017 14:52:37 +0000 (16:52 +0200)]
AOD: Pause FalsingManager prox sensor while showing AOD
Otherwise it undermines the efforts to unregister a flakey prox sensor.
Bug:
62292293
Test: put device in AOD, ensure that "adb shell dumpsys sensorservice | grep "Active sensors:" -A999 | grep PROX -B1" does not show a registration for "FalsingManager".
Change-Id: Ib8966d46e3ce821b00153d89fdb731c377567504
Adrian Roos [Wed, 28 Jun 2017 14:22:02 +0000 (16:22 +0200)]
AOD: Add hysteresis to pausing the display
Delays pausing the display by several seconds to avoid
flickering when the prox is only covered transiently.
Also adds cooldown to the proximity sensor, such that when
it toggles too often it gets disabled for a while.
Bug:
62292293
Test: cover prox for less than 10s, observe display stays on. Cover for more, observe display turns off.
Change-Id: Ifa407b84760fc299fbbcfa92d9e942e0093c4b73
Adrian Roos [Sat, 27 May 2017 01:40:09 +0000 (18:40 -0700)]
AOD: Refactor doze brigthness controllers, add AOD auto brightness support
- Factor out doze brightness and screen state controllers
- Add support for setting the screen brightness from a
sensor in AOD / when pulsing
- Refactor FakeSensorManager for generic sensors, add a light sensor
Bug:
38354633
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenTest.java
Change-Id: I55f2bee253cee23a76ba857ba1f19052ff88a753
Santos Cordon [Wed, 21 Jun 2017 23:03:49 +0000 (16:03 -0700)]
Always run Virtual Display when in a BootsToVR device.
This CL:
1) Moved initialization of the virtual display adapter to happen along
side the default display. On standalone VR devices, a virtual display
is used as the main display for 2D UI so it is necessary that the virtual
display system is ready after PHASE_WAIT_FOR_DEFAULT_DISPLAY.
2) Add knowledge of bootsToVr in Vr2dDisplay, indicating that the device
is a standalone device that boots into VR. This forces Vr2dDisplay to
create the virtualDisplay at PHASE_SYSTEM_SERVICES_READY and never
destroy it (so that the activity stack doesn't go away).
3) Add tests to ensure default display and virtual display startup
sequence doesn't change.
Change-Id: Ie748771abd0b115db3c65a66a4b7a98dd1b28f2e
Bug:
62842592
Test: Start a polaris device for first time, ensure SUW runs with
Virtual display dimentions.
Test: DisplayManagerServiceTest.java
Jason Monk [Fri, 30 Jun 2017 15:31:03 +0000 (11:31 -0400)]
Don't show multi-user in QS unless it has been activated before
Like adding another user or activating a guest at some point.
Test: manual
Bug:
37152893
Change-Id: Ifeadeb8e7f021c4854aa74b71ffb6bed116c9c0f
Jason Monk [Fri, 30 Jun 2017 14:28:18 +0000 (10:28 -0400)]
QS: Move auto-add state to settings provider
And back it up.
Test: runtest systemui
Change-Id: I880909ce63ab32a5c11f31f449c1aa10221085d3
Fixes:
62667758
TreeHugger Robot [Fri, 30 Jun 2017 15:15:40 +0000 (15:15 +0000)]
Merge "Fix test failure" into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 14:31:33 +0000 (14:31 +0000)]
Merge "AOD: avoid flicker when turning off screen" into oc-dr1-dev
Evan Laird [Fri, 30 Jun 2017 14:18:34 +0000 (10:18 -0400)]
Update Landscape <-> Autorotate QS animations
Now with rounded edges!
Test: visual
Bug:
62386498
Change-Id: If66764c3f9723fcb89629e668d48b06ab8329808
Adrian Roos [Fri, 30 Jun 2017 14:15:22 +0000 (16:15 +0200)]
AOD: Avoid double re-registration of sensors
Bug:
62940557
Test: adb shell setprop log.tag.DozeService DEBUG; adb kill `pid systemui`; adb logcat -s DozeSensors, verify sensors are only reregistered, not registered, unregistered and reregistered after unpausing AOD
Change-Id: I362eca377ec67e986c7aef8ad81ce261a6f3fd68
Adrian Roos [Fri, 30 Jun 2017 13:49:57 +0000 (15:49 +0200)]
AOD: Ensure dark amount is set after reinflating
Change-Id: I04437fb282db4bbbe81a3bf5267d081f19b49cae
Fixes:
62970437
Test: change wallpaper while device is on AOD, ensure date is not visible
Bryce Lee [Thu, 29 Jun 2017 21:03:33 +0000 (14:03 -0700)]
Always send configuration to client from resize and relayout.
Previously, the server side would omit reporting new configurations
during resize and relayout if the current configuration matched the
last reported. However, if the last reported came through a resize,
the client side handling would be enqueued as a Handler message. This
leads to the possibility of the client getting a new window frame but
not a new configuration where this is synchronously handled, such as
ViewRootImpl::performTraversals.
To address this issue, we now always send the current configuration
from the server to the client. The client then identifies changes
against its own record of last reported configuration and updates as
appropriate.
This changelist also adds a call to force window relayout during
updateConfiguration, as it's possible this is called after
performTraversals is called or resize is handled, leading to a stale
window frame.
Bug:
24671393
Test: go/wm-smoke
Test: Open Camera while rotating phone to landscape. Added
temporary logs to detect inconsistencies between measurements
and reported rotation on draw.
Change-Id: I0d5143dfe80400f6a43ce710750f9fc9d4b93f74
Jason Monk [Fri, 30 Jun 2017 13:10:01 +0000 (09:10 -0400)]
Fix test failure
Was the result of 2 CLs merging at the same time that affect the
test.
Test: runtest systemui
Change-Id: I622a9f7163aa5f9830ef9acb90f1bfb3e5f3df5f
Fixes:
63098063
Jack He [Wed, 21 Jun 2017 00:09:47 +0000 (17:09 -0700)]
Support battery level reporting via Apple VSC (1/2)
* Add related constants to BluetoothHeadset
Bug:
35874078
Test: make, test with supporting headsets
Change-Id: I9f49ea28efdf6de0e751a377d879fe13a47655d5
Merged-In: I9f49ea28efdf6de0e751a377d879fe13a47655d5
(cherry picked from commit
679d0bc8f99145d70af0c8006d807b55110fe3b5)
Jack He [Wed, 21 Jun 2017 00:07:40 +0000 (17:07 -0700)]
Support battery level reporting via Plantronics XEVENT (1/2)
* Add related constants to BluetoothHeadset
Bug:
35874078
Test: make, test with supporting headsets
Change-Id: Ied089a065bf9caa0d03f681950fefa2ea990bb3e
Merged-In: Ied089a065bf9caa0d03f681950fefa2ea990bb3e
(cherry picked from commit
0fcbba25b7ac7fd59367c8c9ba3080a3e6ade934)
Selim Cinek [Thu, 29 Jun 2017 15:21:31 +0000 (17:21 +0200)]
Improved Text transformations for notifications
Notifications with different text sizes can now properly transform
into each other using view scaling. This improves the transition
for min priority notifications.
Test: manual, expand min priority notification, observe smooth transformation
Change-Id: Icc8efa8521e6a5346607f0ca330e1bc519dbb345
Fixes:
38397448
Jack He [Thu, 22 Jun 2017 19:56:54 +0000 (12:56 -0700)]
HFP: Modify comments for ACTION_HF_INDICATORS_VALUE_CHANGED (1/2)
* Per HFP 1.7.1 spec page 102 of 144
EXTRA_HF_INDICATORS_IND_ID should be int
EXTRA_HF_INDICATORS_IND_VALUE should be int
Bug:
35874078
Test: make, PTS test, unit tests
runtest -c com.android.bluetooth.btservice.RemoteDevicesTest bluetooth
Change-Id: Idd316a82bab164b6ea1701bb261b1cc3dee196f1
Merged-In: Idd316a82bab164b6ea1701bb261b1cc3dee196f1
(cherry picked from commit
73795440a54a5407284331ac11f8c0f75acd98d6)
TreeHugger Robot [Fri, 30 Jun 2017 06:21:48 +0000 (06:21 +0000)]
Merge "Add APIs to get remote device's battery level (1/2)" into oc-dr1-dev
Jack He [Sat, 17 Jun 2017 02:43:58 +0000 (19:43 -0700)]
Add APIs to get remote device's battery level (1/2)
* Add BluetoothDevice.getBatteryLevel() API to retreive battery level
information of remote device
* Add BluetoothDevice.ACTION_BATTERY_LEVEL_CHANGED intent to notify user
that remote device's battery level has changed
Bug:
35874078
Test: make, pair with devices and use them
Change-Id: I41051ee25383f5f3a1e505aef6f8c526385f58bd
Merged-In: I41051ee25383f5f3a1e505aef6f8c526385f58bd
(cherry picked from commit
1d312bfa78c25e0e1d6ea25b2c027e2efdd5a418)
TreeHugger Robot [Fri, 30 Jun 2017 03:22:45 +0000 (03:22 +0000)]
Merge "Add getCurrentImeTouchRegion to the WindowManager API" into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 02:20:34 +0000 (02:20 +0000)]
Merge "Add strings for battery level info of connected devices" into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 01:50:48 +0000 (01:50 +0000)]
Merge "Remove IPC calls from synchronized block." into oc-dr1-dev
Ricardo Loo [Fri, 30 Jun 2017 00:51:55 +0000 (00:51 +0000)]
Merge "docs: Updated isAutofillSupported description." into oc-dev
am:
a89dfb5439
Change-Id: Ie43f37efa9e268b04dbad09ad04795089de68adf
Ricardo Loo [Fri, 30 Jun 2017 00:44:50 +0000 (00:44 +0000)]
Merge "docs: Updated isAutofillSupported description." into oc-dev
Bryce Lee [Thu, 22 Jun 2017 22:29:42 +0000 (15:29 -0700)]
Add rotation to configuration.
Certain activities are dependent on the rotation of the device to
determine layout. In these cases, orientation does not provide enough
details.
This CL adds the field (hidden) to the configuration.
Change-Id: Idb3ba10cb4de8838737c25e92264e6cee224e264
Fixes:
32839232
Test: go/wm-smoke
Chet Haase [Fri, 30 Jun 2017 00:32:26 +0000 (00:32 +0000)]
Merge "Add docs for new padding/margin attributes." into oc-dev
am:
8cdbd6e184
Change-Id: Iacf5e069e0e6a2b38a1566f36f81ab8de693e634
TreeHugger Robot [Fri, 30 Jun 2017 00:21:28 +0000 (00:21 +0000)]
Merge "Add docs for new padding/margin attributes." into oc-dev
TreeHugger Robot [Fri, 30 Jun 2017 00:08:52 +0000 (00:08 +0000)]
Merge "Add boot/shutdown timing to sync detailed logging" into oc-dr1-dev
Sundeep Ghuman [Thu, 29 Jun 2017 23:56:55 +0000 (23:56 +0000)]
Merge "Move generatePreferenceKey to AccessPointPreference." into oc-dr1-dev
Abodunrinwa Toki [Wed, 28 Jun 2017 01:49:07 +0000 (02:49 +0100)]
No smart text assist for unprovisioned device.
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
bit FrameworksCoreTests:android.widget.TextViewActivityTest
bit FrameworksCoreTests:android.widget.TextViewActivityMoutseTest
Bug:
62745625
Change-Id: I360250a5c2a92d09c8d8f559b51c74f490f70c2c
Jack He [Wed, 28 Jun 2017 21:17:10 +0000 (14:17 -0700)]
Add strings for battery level info of connected devices
* SystemUI: quick_settings_connected_battery_level
* SettingsLib:
bluetooth_connected_battery_level
bluetooth_connected_no_headset_battery_level
bluetooth_connected_no_a2dp_battery_level
bluetooth_connected_no_headset_no_a2dp_battery_level
Bug:
63027849
Test: make, test using these strings
Change-Id: I9052dad87d2afd30d005d050c6b3bfc4813853df
TreeHugger Robot [Thu, 29 Jun 2017 23:19:58 +0000 (23:19 +0000)]
Merge "Update auto rotate / portrait QS icon" into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 22:26:34 +0000 (22:26 +0000)]
Merge "Don't synchronize inside getWallpaperColors()" into oc-dr1-dev
Santos Cordon [Thu, 29 Jun 2017 21:21:42 +0000 (21:21 +0000)]
Merge "Add ability to turn off VR virtual display functionality." into oc-dr1-dev
Jonathan Solnit [Thu, 29 Jun 2017 20:05:13 +0000 (13:05 -0700)]
Turn off camera lift logging
Test: Triggered camera lift, confirmed no logging
Bug:
63141065
Change-Id: Ib93fd5885196a9a3055dabb8b956b23d6928cc49
Makoto Onuki [Thu, 29 Jun 2017 21:11:14 +0000 (14:11 -0700)]
Add boot/shutdown timing to sync detailed logging
Bug
63136907
Test: manual test
Change-Id: I141f32f90579e2676af616f21254774d64a37c31
TreeHugger Robot [Thu, 29 Jun 2017 20:41:47 +0000 (20:41 +0000)]
Merge "Fix issue for Preference.setSingleLineTitle() has no effect." into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 20:31:23 +0000 (20:31 +0000)]
Merge "Move TestAccessPointBuilder." into oc-dr1-dev
Winson Chung [Wed, 28 Jun 2017 17:55:22 +0000 (10:55 -0700)]
Move starting window dim layers behind the activity window layers
- Currently, the dim layer is shown directly behind the requested window,
which for translucent snapshot starting windows can cause the dim layer
to show above the app window which is animating behind the starting
window. Instead, when applying the dim layer to the starting window,
override the layer to be behind the last window layer for the activity
that the starting window represents.
- Also fix issue where the dim amount was not being copied for the snapshot
starting window.
Bug:
63076430
Test: Launch assistant from Recents
Change-Id: I1f031e517a51ef7e1d6243b792c69997e10ea5b2
Sundeep Ghuman [Tue, 27 Jun 2017 00:13:00 +0000 (17:13 -0700)]
Move generatePreferenceKey to AccessPointPreference.
This allows it to be reused in the SavedAccessPointsWifiSettings.
Bug: b/
62374459
Test: make -j40 RunSettingsLibRoboTests
Change-Id: Id137f56ceafe461d217c0eee6b571ccfa4eaff1f
Evan Laird [Thu, 29 Jun 2017 18:32:00 +0000 (14:32 -0400)]
Update auto rotate / portrait QS icon
Animations and new icon for auto rotate. No landscape included here.
Test: visual
Bug:
62386498
Change-Id: If2862c24bed78be2110b2d58d1b4326b04b40c9d
TreeHugger Robot [Thu, 29 Jun 2017 19:25:09 +0000 (19:25 +0000)]
Merge "Adding USB Headset awareness." into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 19:18:52 +0000 (19:18 +0000)]
Merge "AdaptiveIconDrawable should not update layer bounds when bound is empty" into oc-dr1-dev
Santos Cordon [Tue, 13 Jun 2017 00:57:17 +0000 (17:57 -0700)]
Add ability to turn off VR virtual display functionality.
Add flag to enable/disable virtual displays via the existing
setDisplayProperties API. This makes it possible for the VR system
to turn off virtual displays if necessary after we ship.
Bug:
62546364
Test: Run 'adb shell vr enable-virtual-display [true|false] to toggle while 2d in 3d
runs.
Change-Id: Iae029be501d61189fced981dbc554e984fa7ed4b
Sujith Ramakrishnan [Thu, 29 Jun 2017 18:59:11 +0000 (18:59 +0000)]
Merge "Prevent unwanted keypress actions during TV Setup." into oc-dev
am:
564d0bf1be
Change-Id: I23deb9056dbd9967bfe07d3db30256794b30a778
TreeHugger Robot [Thu, 29 Jun 2017 18:50:08 +0000 (18:50 +0000)]
Merge "Prevent unwanted keypress actions during TV Setup." into oc-dev
Albert Chaulk [Tue, 20 Jun 2017 18:39:29 +0000 (14:39 -0400)]
Add getCurrentImeTouchRegion to the WindowManager API
This is a followup to ag/
2370980/ to expose the API more
externally as a WindowManager API. This allows application
access without needing to reflect on IWindowManager.Stub.
We require this to get the current IME touch region to
display it properly in VR contexts.
Test: Manual
Bug:
62194867
Change-Id: Ibbf336e1e473b65d4c76a1492da187d50cfda424
TreeHugger Robot [Thu, 29 Jun 2017 17:38:13 +0000 (17:38 +0000)]
Merge "Add @*android:bool/config_defaultRingtonePickerEnabled" into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 17:18:14 +0000 (17:18 +0000)]
Merge "Ensure complete GnssStatus construction" into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 16:49:46 +0000 (16:49 +0000)]
Merge "add an auto-merge guard to the metrics constants file" into oc-dr1-dev
Sundeep Ghuman [Mon, 19 Jun 2017 23:56:41 +0000 (16:56 -0700)]
Move TestAccessPointBuilder.
This is necessary to make it accessible to other test packages, such as
WifiSettingsUiTest.java in packages/apps/Settings.
Bug:
37558394
Test: runtest --path
packages/apps/Settings/tests/unit/src/com/android/settings/wifi/WifiSettingsUiTest.java
Change-Id: Ic1e4185639b2947433d6371e74448097d6adb962
TreeHugger Robot [Thu, 29 Jun 2017 16:45:50 +0000 (16:45 +0000)]
Merge "Fixed an icon flickering when adding a notification" into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 16:33:00 +0000 (16:33 +0000)]
Merge "Remove extraneous log message" into oc-dr1-dev
Paul McLean [Wed, 7 Jun 2017 22:48:32 +0000 (16:48 -0600)]
Adding USB Headset awareness.
Bug:
36220140
Bug:
62043095
Test: Manual
Change-Id: Ic4636e3dc2dfce0154e6405848bea7752cf2d07b
Android Build Merger (Role) [Thu, 29 Jun 2017 16:20:48 +0000 (16:20 +0000)]
Merge "Merge "add links to Log class summary for methods and logcat doc" into oc-dev am:
ea6fea4d5d" into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 16:20:13 +0000 (16:20 +0000)]
Merge "Update WifiConfiguration in AccessPoint." into oc-dr1-dev
Scott Main [Thu, 29 Jun 2017 16:19:20 +0000 (16:19 +0000)]
Merge "add links to Log class summary for methods and logcat doc" into oc-dev
am:
ea6fea4d5d
Change-Id: I322405e6712ef9affb57d86e43b852e19cdc7f88
Scott Main [Thu, 29 Jun 2017 16:12:47 +0000 (16:12 +0000)]
Merge "add links to Log class summary for methods and logcat doc" into oc-dev
Justin Klaassen [Mon, 26 Jun 2017 14:55:08 +0000 (07:55 -0700)]
Add @*android:bool/config_defaultRingtonePickerEnabled
Bug:
62996582
Test: verify activity is enabled by default
Change-Id: I9503cd09066d1a61f670da2139758ef83b5edea3
Adrian Roos [Thu, 29 Jun 2017 15:26:27 +0000 (17:26 +0200)]
AOD: avoid flicker when turning off screen
Avoids a flicker during the turn off sequence where
the status bar would not enter the keyguard mode until
after AOD has already shown.
To avoid this, now also show keyguard if dozing and
the device is not yet fully asleep as long as the
screen is off.
Change-Id: Ic90b33a368332c9a7d7202b4e25a6c7c23b6506c
Fixes:
36506840
Test: Enable AOD, go to home screen, press power. Verify that there is no flicker in the transition to AOD.