OSDN Git Service
Bryce Lee [Fri, 21 Jul 2017 20:25:13 +0000 (13:25 -0700)]
Determine power hint behavior based on target activity.
Previously, logic was added surrounding whether to trigger a power
hint based on the start activity. However, this activity is not
always relevant in the calling context.
This change adjusts the logic by passing the target activity into
the method.
Fixes:
63913311
Test: press home button while on home and ensure power hint not
triggered.
Change-Id: I71ffcae7adbc2c55ef5b2994f4c55688d0aa0ca5
Adrian Roos [Thu, 13 Jul 2017 12:01:52 +0000 (12:01 +0000)]
Merge "AOD: Implement long press gesture to launch assist" into oc-dr1-dev
TreeHugger Robot [Thu, 13 Jul 2017 07:31:13 +0000 (07:31 +0000)]
Merge "Program offload-exempt local prefixes into the HAL" into oc-dr1-dev
Erik Kline [Tue, 4 Jul 2017 09:28:11 +0000 (18:28 +0900)]
Program offload-exempt local prefixes into the HAL
Additionally:
- move mOffloadController into MasterTetherSM
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
- observed calls to the HAL setLocalPrefixes in tethering log
Bug:
29337859
Bug:
32163131
Change-Id: Ifaf23c6179ead9de6ccfcf41e0c203025153167b
Andrii Kulian [Thu, 13 Jul 2017 03:34:52 +0000 (03:34 +0000)]
Merge "Position app with short aspect ratio opposite of nav bar" into oc-dr1-dev
Bryce Lee [Thu, 13 Jul 2017 02:15:49 +0000 (02:15 +0000)]
Merge "Do not apply maxAspectRatio to bounds when in VR mode." into oc-dr1-dev
Bryce Lee [Thu, 13 Jul 2017 02:12:29 +0000 (02:12 +0000)]
Merge "Do not gate updating allDrawn on all child WindowStates." into oc-dr1-dev
Bryce Lee [Thu, 6 Jul 2017 21:09:29 +0000 (14:09 -0700)]
Do not gate updating allDrawn on all child WindowStates.
A recent change prevents allDrawn in AppWindowToken from being
updated until all child WindowStates have been considered. However,
children that are not visible do not affect allDrawn and therefore
need to be excluded.
This changelist adds an additional check to make sure the child can
affect the allDrawn state before considering blocking on it. It also
adds additional logs to the WindowState dump to better understand
this scenario.
Change-Id: I76d0f75496ed3da6a16c4a1d7bf2e7dc5b8bbe1e
Bug:
63380251
Test: go/wm-smoke
Bryce Lee [Thu, 13 Jul 2017 01:44:17 +0000 (01:44 +0000)]
Merge "Use configuration delta to determine if still in orientation change." into oc-dr1-dev
TreeHugger Robot [Thu, 13 Jul 2017 00:44:46 +0000 (00:44 +0000)]
Merge "CameraServiceProxy: Cleanups and receive more information from CameraService" into oc-dr1-dev
Phil Weaver [Wed, 12 Jul 2017 23:22:01 +0000 (23:22 +0000)]
Phil Weaver [Wed, 12 Jul 2017 23:15:37 +0000 (23:15 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84 am:
ba928bd522 am:
1add6be25e am:
ba46064323 am:
111a2c7987 am:
4d608d2f35 am:
a6e0a6e31d am:
cba64fb461 am:
998ef870c5 am:
bb89a1e3fe am:
f645a57a5e am:
c3fc745a1c
am:
26e98edf31
Change-Id: I75d7844c2a000fab74cc82881f8ca4cc43f7acf3
Phil Weaver [Wed, 12 Jul 2017 23:10:07 +0000 (23:10 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84 am:
ba928bd522 am:
1add6be25e am:
ba46064323 am:
111a2c7987 am:
4d608d2f35 am:
a6e0a6e31d am:
cba64fb461 am:
998ef870c5 am:
bb89a1e3fe am:
f645a57a5e
am:
c3fc745a1c
Change-Id: I534f11f2eb0f737a2640acf4482a4af27927f694
Phil Weaver [Wed, 12 Jul 2017 23:03:33 +0000 (23:03 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84 am:
ba928bd522 am:
1add6be25e am:
ba46064323 am:
111a2c7987 am:
4d608d2f35 am:
a6e0a6e31d am:
cba64fb461 am:
998ef870c5 am:
bb89a1e3fe
am:
f645a57a5e
Change-Id: Ibff94cad13a97c9b4a696f5e6df0522e8ac89d50
Phil Weaver [Wed, 12 Jul 2017 22:57:43 +0000 (22:57 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84 am:
ba928bd522 am:
1add6be25e am:
ba46064323 am:
111a2c7987 am:
4d608d2f35 am:
a6e0a6e31d am:
cba64fb461 am:
998ef870c5
am:
bb89a1e3fe
Change-Id: I9e53b0461cb3f28ddc023ba551c1cb4eb1007340
Phil Weaver [Wed, 12 Jul 2017 22:51:18 +0000 (22:51 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84 am:
ba928bd522 am:
1add6be25e am:
ba46064323 am:
111a2c7987 am:
4d608d2f35 am:
a6e0a6e31d am:
cba64fb461
am:
998ef870c5
Change-Id: Icaf066033ce67780052b30be3de891907129404e
Phil Weaver [Wed, 12 Jul 2017 22:41:32 +0000 (22:41 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84 am:
ba928bd522 am:
1add6be25e am:
ba46064323 am:
111a2c7987 am:
4d608d2f35 am:
a6e0a6e31d
am:
cba64fb461
Change-Id: I9c4fc2279ffa79ee85dc8a46be21095918fa52ad
TreeHugger Robot [Wed, 12 Jul 2017 22:38:43 +0000 (22:38 +0000)]
Merge "Average of top 4 CNO" into oc-dr1-dev
Phil Weaver [Wed, 12 Jul 2017 22:35:35 +0000 (22:35 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84 am:
ba928bd522 am:
1add6be25e am:
ba46064323 am:
111a2c7987 am:
4d608d2f35
am:
a6e0a6e31d
Change-Id: Ia5af67f07974b520d8c3e7424c07402793a486f2
Winson Chung [Wed, 12 Jul 2017 22:32:42 +0000 (22:32 +0000)]
Merge "Fixing some issues with the assistant stack" into oc-dr1-dev
Phil Weaver [Wed, 12 Jul 2017 22:30:08 +0000 (22:30 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84 am:
ba928bd522 am:
1add6be25e am:
ba46064323 am:
111a2c7987
am:
4d608d2f35
Change-Id: Id1626217e80920f162b735336ac708c4dd9467f9
Phil Weaver [Wed, 12 Jul 2017 22:24:06 +0000 (22:24 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84 am:
ba928bd522 am:
1add6be25e am:
ba46064323
am:
111a2c7987
Change-Id: Idb7d3c789c6241aa8d77eb6077930b47c7ba69e4
Phil Weaver [Wed, 12 Jul 2017 22:18:59 +0000 (22:18 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84 am:
ba928bd522 am:
1add6be25e
am:
ba46064323
Change-Id: I7119e3f003562f6d826d40ad3577b9db0e44c2c6
Phil Weaver [Wed, 12 Jul 2017 22:14:01 +0000 (22:14 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84 am:
ba928bd522
am:
1add6be25e
Change-Id: I83a6c654862443a69bfeeaf675a8c038b3f7fb53
Phil Weaver [Wed, 12 Jul 2017 22:06:27 +0000 (22:06 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours am:
f433884a84
am:
ba928bd522
Change-Id: I74a7b0488371606dd9bdccab854d23c0e09b1ac9
Winson Chung [Wed, 12 Jul 2017 22:04:43 +0000 (22:04 +0000)]
Merge "Prevent non-fullscreen activities from triggering auto-enter PiP" into oc-dr1-dev
Phil Weaver [Wed, 12 Jul 2017 22:00:31 +0000 (22:00 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57 am:
5a7eb970e2 -s ours
am:
f433884a84
Change-Id: I737838098a36efafe1509c4814ac1120a3bb8297
Eino-Ville Talvala [Wed, 28 Jun 2017 19:44:03 +0000 (12:44 -0700)]
CameraServiceProxy: Cleanups and receive more information from CameraService
- Use constants directly from ICameraServiceProxy
- Collect more information in camera device status updates
Test: Verify manually that correct information is received, no camera CTS regressions
Bug:
32449509
Change-Id: I9b5b70a306ef0d15834291e3e752224bbf7b74b6
Phil Weaver [Wed, 12 Jul 2017 21:55:31 +0000 (21:55 +0000)]
Back-port fixes for b/
62196835 am:
5bdffc5d57
am:
5a7eb970e2 -s ours
Change-Id: Ifd4b5ff2487c8b8035ffaf6ed7e55539f26a463e
Phil Weaver [Wed, 12 Jul 2017 21:43:46 +0000 (21:43 +0000)]
Back-port fixes for b/
62196835
am:
5bdffc5d57
Change-Id: Ia5dafc7a8724d296e710f32d936bb493b51951de
Andrii Kulian [Fri, 7 Jul 2017 21:38:09 +0000 (14:38 -0700)]
Position app with short aspect ratio opposite of nav bar
When an application doesn't support tall aspect ratio of the
screen where it's displayed, it should be positioned on the
opposite side from navigation bar. It's supposed to create
an effect of extended black nav bar.
Bug:
62893418
Test: go/wm-smoke
Test: ActivityRecordTests#testPositionLimitedAspectRatioNavBarBottom
Test: ActivityRecordTests#testPositionLimitedAspectRatioNavBarLeft
Test: ActivityRecordTests#testPositionLimitedAspectRatioNavBarRight
Change-Id: I2cd3d236ee8d0cc263fee4c0a436d78c755eb9b7
Winson Chung [Wed, 12 Jul 2017 19:37:19 +0000 (12:37 -0700)]
Fix egregious state check for window focusability.
- The original check should have not assumed that these are only app
windows.
Bug:
63614176
Test: Ensure that you can unlock with password
Change-Id: I71a9959378bbd98a8ed6715d67119d38c3daceb5
Winson Chung [Tue, 11 Jul 2017 22:07:45 +0000 (15:07 -0700)]
Prevent non-fullscreen activities from triggering auto-enter PiP
Bug:
63581685
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testAppOpsDenyPipOnPause
Test: Launch screenshot from notification tray above auto-enter PiP
activity
Change-Id: I0bddfd5c47d6053d079b9bd426003d526e8bb0dd
TreeHugger Robot [Wed, 12 Jul 2017 19:23:16 +0000 (19:23 +0000)]
Merge "Using transformation method in the ImageFloatingTextView" into oc-dr1-dev
Roshan Pius [Wed, 12 Jul 2017 18:33:20 +0000 (18:33 +0000)]
Merge "wifi: Params for SAR limits" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 18:11:34 +0000 (18:11 +0000)]
Merge "[Companion] Prevent NPE in CallbackProxy" into oc-dr1-dev
Peter Qiu [Wed, 12 Jul 2017 17:44:25 +0000 (17:44 +0000)]
Merge "WifiMetrics: add Passpoint related metrics" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 17:40:15 +0000 (17:40 +0000)]
Merge "Move @Ignore from class-level to test level." into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 17:35:49 +0000 (17:35 +0000)]
Merge "audioservice: modify default music volume" into oc-dr1-dev
Selim Cinek [Mon, 10 Jul 2017 15:41:16 +0000 (17:41 +0200)]
Using transformation method in the ImageFloatingTextView
Otherwise things like singleline and password don't work.
Test: runtest -x core/tests/coretests/src/com/android/internal/widget/ImageFloatingTextViewTest.java
Change-Id: I9d7d13c038be38319e6516715137789f612a43f7
Fixes:
36713596
TreeHugger Robot [Wed, 12 Jul 2017 17:14:05 +0000 (17:14 +0000)]
Merge "Document WifiScanner callback behaviors" into oc-dr1-dev
Geoffrey Pitsch [Wed, 12 Jul 2017 16:50:53 +0000 (16:50 +0000)]
Merge "canBeModified accessors for AmbientDisplay pickup setting" into oc-dr1-dev
Geoffrey Pitsch [Wed, 12 Jul 2017 15:40:32 +0000 (11:40 -0400)]
Move @Ignore from class-level to test level.
Workaround for reporting error.
Test: runtest systemui
Bug:
63521982
Change-Id: I81e70605471469b0ffa630ff874427a621fc1135
TreeHugger Robot [Wed, 12 Jul 2017 15:23:04 +0000 (15:23 +0000)]
Merge "Avoid exposing OffloadCallbackEvent values" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 14:58:20 +0000 (14:58 +0000)]
Merge "Update keyguard mic icon to rounded" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 14:58:04 +0000 (14:58 +0000)]
Merge "Update animations in QS" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 14:43:53 +0000 (14:43 +0000)]
Merge "Stop unnecessary tethering reconfigurations" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 14:06:52 +0000 (14:06 +0000)]
Merge "Add OffloadHardwareInterface.getForwardedStats() wrapper" into oc-dr1-dev
Adrian Roos [Mon, 15 May 2017 21:33:37 +0000 (14:33 -0700)]
AOD: Implement long press gesture to launch assist
Bug:
37684244
Test: adb shell settings put secure doze_pulse_on_long_press 1; turn screen off, long press, verify assistant is launched
Change-Id: I87335d3c091bbb17022d79e599f46fb826039b7d
Jorim Jaggi [Wed, 12 Jul 2017 12:57:33 +0000 (12:57 +0000)]
Merge "Don't animate bouncer changes when fading out Keyguard" into oc-dr1-dev
Erik Kline [Wed, 12 Jul 2017 06:46:54 +0000 (15:46 +0900)]
Add OffloadHardwareInterface.getForwardedStats() wrapper
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
Bug:
29337859
Bug:
32163131
Change-Id: Id831bc99cadbd59d280b026866707dbbe3b0e542
Lorenzo Colitti [Wed, 12 Jul 2017 07:57:49 +0000 (07:57 +0000)]
Merge "Use RFC 7217 stable privacy addresses" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 03:38:14 +0000 (03:38 +0000)]
Merge "audioservice: fix media volume reset at boot" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 03:05:18 +0000 (03:05 +0000)]
Merge "Restructure use of absent tether_offload_disabled setting" into oc-dr1-dev
Winson Chung [Wed, 12 Jul 2017 02:53:59 +0000 (02:53 +0000)]
Merge "Fix z-order issue with text cursors and PiP." into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 02:47:56 +0000 (02:47 +0000)]
Merge "GATT: Expose opportunistic client API to Java" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 02:17:42 +0000 (02:17 +0000)]
Merge "Move eSIM factory reset implementation to RecoverySystem" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 02:09:00 +0000 (02:09 +0000)]
Merge "Avoid a race in autofill manager service." into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 01:48:36 +0000 (01:48 +0000)]
Merge "Use DisplayListener instead of WindowRotationListener in AudioService." into oc-dr1-dev
Jack He [Wed, 5 Jul 2017 21:55:35 +0000 (14:55 -0700)]
GATT: Expose opportunistic client API to Java
* Allow Java based programs to create an opportunistic GATT client
* Such client does not hold a GATT connection. It automatically
disconnects when no other GATT connections are active for the
remote device.
Bug:
63347806
Test: make, run battery service
Change-Id: Ib9333817d7f17a1fa3ddacfa51c680890bac19ec
Merged-In: Ib9333817d7f17a1fa3ddacfa51c680890bac19ec
(cherry picked from commit
13f52c8118c09ffc57b581a7d44b08e5e66d62fe)
Eric Laurent [Tue, 11 Jul 2017 21:08:11 +0000 (14:08 -0700)]
audioservice: fix media volume reset at boot
mSafeUsbMediaVolumeIndex must be initialized after createStreamStates()
because it relies on audio policy having correct ranges for volum indexes.
Also change the safe volume threshold for USB headset from -15dBFs to
-30dBFs to account for max EQ gain.
Bug:
63462140
Bug:
63388412
Test: Verify USB headset media volume is unchanged after reboot
when no SIM is present.
Change-Id: I5252d97e3f3dcde7568681abb066752ef0d936d2
Winson Chung [Tue, 27 Jun 2017 00:22:27 +0000 (17:22 -0700)]
Fixing some issues with the assistant stack
- Only boost window layers for the docked stack above the windows for
stacks that are split with the docked stack. In addition, only adjust
the assistant windows if the docked stack windows are boosted.
- In addition, mark activities in the fullscreen stack as invisible when
they are under another task that returns to another stack. This prevents
all the fullscreen tasks from being visible when a translucent activity
is started from the assistant stack.
- Also fix an issue where returning from the assistant after launching a
fullscreen task would incorrectly being the fullscreen stack forward
(since the assistant stack is finishing and considered translucent).
In such cases, use the return-type of the assistant stack task to bring
the home stack forward instead.
Bug:
37527727
Test: android.server.cts.ActivityManagerAssistantStackTests
Test: go/wm-smoke
Change-Id: Ie81fbebe016f4854c7edebf382c0c3255f1b6471
Signed-off-by: Winson Chung <winsonc@google.com>
Winson Chung [Wed, 12 Jul 2017 00:01:48 +0000 (00:01 +0000)]
Merge "Ensure transparent assistant works with PiP" into oc-dr1-dev
Winson Chung [Tue, 11 Jul 2017 16:59:56 +0000 (09:59 -0700)]
Fix z-order issue with text cursors and PiP.
- When an activity is in PiP, its windows are top most and always
computed incorrectly as the IME target. As a result, the popup
windows for the cursors don't find the right parent and are not
promoted to be above the IME.
Bug:
63546389
Test: Enter PiP, open app with bottom anchored input, and select
some text. Ensure that the cursors are top-most.
Test: go/wm-smoke
Change-Id: I1267504e10544b0a075bbf73e41e001d07a5f74c
jiabin [Mon, 26 Jun 2017 20:48:14 +0000 (13:48 -0700)]
Use DisplayListener instead of WindowRotationListener in AudioService.
In AudioService should use a DisplayListener to listen for the default
display's orientation, not handling window orientation in AudioService.
Bug:
62460024
Test: Manually test on Marlin.
Change-Id: I0b7280f9e851b10e8c23406cae3407b45c97bdda
(cherry picked from commit
383c1cefd112c0cd56a3b34a9891ce095d3013de)
Eric Laurent [Tue, 11 Jul 2017 23:21:44 +0000 (16:21 -0700)]
audioservice: modify default music volume
Default music volume is changed from 3/4 of max to 1/3 of max to
reduce initial volume over headphones percieved as too agressive.
Also add a property ro.config.media_vol_default to modify this
default value.
Bug:
62608451
Test: verify default music volume over headphones after factory reset.
Change-Id: Icadb99e1bafe88984d3a3a05014d4d4648830693
Phil Weaver [Tue, 11 Jul 2017 00:27:20 +0000 (17:27 -0700)]
Back-port fixes for b/
62196835
Bug:
62196835
Test: Created an accessibility service that displays a system
and a toast overlay, confirmed that it disappeared when we
reached the accessibility permission screen that uses this
flag.
Change-Id: Ibb4c2c6a30de6b4ce8d27c34caa02e2d8148f621
Ningyuan Wang [Tue, 20 Jun 2017 21:43:26 +0000 (14:43 -0700)]
Document WifiScanner callback behaviors
This adds the missing documents for WifiScanner.ActionListener.
This also fixes the existing inaccurate documents.
Bug:
29524465
Test: compile
Change-Id: I40d40a6293cdb0af6b8cad45062722ee2a4b746d
Daichi Hirono [Tue, 11 Jul 2017 02:18:34 +0000 (11:18 +0900)]
Fix method sinature of FuseAppLoop JNI code
The file size passed to replyLookup and replyGetAttr needed to be jlong,
but they were jint before the fix.
Bug:
63543158
Test: Transfer 4GB+ files through ProxyFileDescriptor
Change-Id: Idaf27538e067854a25ae413651d8f83f0df3f387
(cherry picked from commit
d2229a65f53e7b9e9fc861ac300607a329153c4c)
TreeHugger Robot [Tue, 11 Jul 2017 20:22:16 +0000 (20:22 +0000)]
Merge "Final tweaks to power menu" into oc-dr1-dev
qingxi [Fri, 23 Jun 2017 22:32:53 +0000 (15:32 -0700)]
Move eSIM factory reset implementation to RecoverySystem
This CL reverts the implementation of eSIM factory reset in
MasterClearReceiver and uses RecoverySystem#rebootWipeUserData to erase
eSIM data. Besides this, when the eSIM data isn't erased, we should call
EuiccManager#retainSubscriptionsForFactoryReset to let the fastboot know
that.
Bug:
62957212
Test: TreeHugger
Merged-In: I08ab9d53ec4fc73a65e8e7d0c39ac95b2d44d012
Change-Id: I08ab9d53ec4fc73a65e8e7d0c39ac95b2d44d012
Evan Laird [Tue, 11 Jul 2017 20:04:59 +0000 (16:04 -0400)]
Update keyguard mic icon to rounded
Test: visual
Change-Id: I4032e9f496b9b70820448b6ff5794ec58623cd84
Fixes:
62386498
Evan Laird [Mon, 10 Jul 2017 20:55:36 +0000 (16:55 -0400)]
Update animations in QS
- Hotspot transient
- Bluetooth transient
- Trusted -> error
- Error -> trusted
- Fingerprint -> error
- Error -> Fingerprint
- Expand/collapse caret (shows up in volume and QS footer)
Test: visual
Bug:
62386498
Fixes:
63236324
Fixes:
62387135
Change-Id: I283dd2d34cd75634911cc7190b49c65d6328bd2e
Geoffrey Pitsch [Mon, 10 Jul 2017 14:36:25 +0000 (10:36 -0400)]
canBeModified accessors for AmbientDisplay pickup setting
Test: manual
Bug:
62391405
Change-Id: I2facc2bf404ef88cb44d60de9d70aae1edbc1372
Lucas Dupin [Tue, 11 Jul 2017 17:29:13 +0000 (17:29 +0000)]
Merge "Fix scrim opacity in the brightness mirror" into oc-dr1-dev
Bryce Lee [Tue, 11 Jul 2017 15:58:05 +0000 (08:58 -0700)]
Do not apply maxAspectRatio to bounds when in VR mode.
VR applications use fullscreen always and should not have any aspect
ratio limitations applied. This CL addresses the issue by checking
the current mode before applying appBounds.
Change-Id: If8118833315af22917e5731cbc13bacb58a71a44
Fixes:
63024874
Test: launch VR activity, observe activity layout and nav bar placement
Test: go/wm-smoke
Philip Quinn [Tue, 11 Jul 2017 16:44:49 +0000 (16:44 +0000)]
Merge "Hide the Keyguard bottom area overlay when dozing." into oc-dr1-dev
TreeHugger Robot [Tue, 11 Jul 2017 16:28:44 +0000 (16:28 +0000)]
Merge "Fix zen panel theming" into oc-dr1-dev
TreeHugger Robot [Tue, 11 Jul 2017 16:24:50 +0000 (16:24 +0000)]
Merge "Try to work on test flakyness." into oc-dr1-dev
Erik Kline [Tue, 11 Jul 2017 15:15:26 +0000 (00:15 +0900)]
Avoid exposing OffloadCallbackEvent values
Keep the android.hardware.tetheroffload.control.V1_0.OffloadCallbackEvent
import from leaking outside of OffloadHardwareInterface by converting each
event type into a separate callback.
Add basic logging implementation in OffloadController. Seems like every
call just needs to log save for two that actually need to do work:
- onSupportAvailable()
* poll stats and notify NetworkStatsService
* (re)push all state, as the hardware now supports offload (again)
- onStoppedLimitReached()
* poll stats and notify NetworkStatsService
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passed
Bug:
29337859
Bug:
32163131
Change-Id: I46c2e5252ae72a09a1550862847c1af441ece072
Jason Monk [Tue, 11 Jul 2017 15:07:08 +0000 (11:07 -0400)]
Final tweaks to power menu
- Redlines
- More scrim on shutdown
- Fix ordering in seascape
Test: visual
Change-Id: Id5a92f323162a5157b71e9798f7d4692292bced6
Fixes:
63534082
Fixes:
37013646
Erik Kline [Fri, 7 Jul 2017 08:38:30 +0000 (17:38 +0900)]
Restructure use of absent tether_offload_disabled setting
This restructures the fetching of the default disposition such
that we disable (and enable) the feature with only a single
character change.
Additionally: fix unittests with proper use of FakeSettingsProvider.
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passed with developer enabled and disabled
Bug:
29337859
Bug:
32163131
Bug:
63250751
Change-Id: Ib32489d07778465134bca52c589baddbd78ab129
Christine Franks [Tue, 11 Jul 2017 14:37:06 +0000 (14:37 +0000)]
Merge "Support demo mode and demo users" into oc-dr1-dev
Jason Monk [Tue, 11 Jul 2017 14:13:31 +0000 (10:13 -0400)]
Fix zen panel theming
The theme of the panel might be different than sysui now, so it
needs to use the right context.
Test: visual
Change-Id: Ic647421113f6721e63e69afc2b9c5d6c5b0e86f2
Fixes:
63530105
Jason Monk [Tue, 11 Jul 2017 14:05:03 +0000 (10:05 -0400)]
Try to work on test flakyness.
- Add bt permission
- mock more BT stuff
- Disable test that is causing crash on main thread
Test: runtest systemui
Change-Id: I5cddb71941cce4f9b595c65ef69919186addb6df
Fixes:
63568935
TreeHugger Robot [Tue, 11 Jul 2017 13:25:01 +0000 (13:25 +0000)]
Merge "Lock pattern should be red when error" into oc-dr1-dev
Jorim Jaggi [Wed, 28 Jun 2017 20:25:27 +0000 (16:25 -0400)]
Don't animate bouncer changes when fading out Keyguard
This fixes a regression from I5f264b74cc258e8d7f608978edfb1faa5ead385c
where we moved updateStates around. Setting the bouncer to hide
causes another animated update in scrim controller, which will
abort the current scrim animation.
Test: Unlock phone from bouncer, make sure proper fading is
happening.
Test: Unlock phone with fingerprint.
Test: Wake-and-unlock phone with fingerprint
Test: go/wm-smoke
Test: Double tap notification, press back, make sure scrim
animations are being played.
Change-Id: Iec0ec3f4a5f861a8ece2d2f8edc159653efafdca
Fixes:
63107737
Bill Yi [Tue, 11 Jul 2017 04:00:23 +0000 (04:00 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am:
88e9aa19e2 -s ours
Change-Id: Id4a8d9d891b06a789132f9d9915306f336f52902
TreeHugger Robot [Tue, 11 Jul 2017 03:57:08 +0000 (03:57 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Tue, 11 Jul 2017 03:52:59 +0000 (03:52 +0000)]
Import translations. DO NOT MERGE am:
48cf1d9768 -s ours
am:
829d7186d5 -s ours
Change-Id: I16754fc3b6c9df4b415d8c74ffe390787e932f8c
TreeHugger Robot [Tue, 11 Jul 2017 03:50:19 +0000 (03:50 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Tue, 11 Jul 2017 03:43:57 +0000 (03:43 +0000)]
Import translations. DO NOT MERGE
am:
48cf1d9768 -s ours
Change-Id: If7328a10566daf60ac6da033923b1acbb307865f
TreeHugger Robot [Tue, 11 Jul 2017 01:48:08 +0000 (01:48 +0000)]
Merge "Move eUICC permissions to com.android namespace." into oc-dr1-dev
Christine Franks [Sat, 24 Jun 2017 01:12:46 +0000 (18:12 -0700)]
Support demo mode and demo users
Bug:
62712426
Test: run cts -m CtsDevicePolicyManagerTestCases -t \
com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageEphemeralUser
and
run cts -m CtsDevicePolicyManagerTestCases -t \
com.android.cts.devicepolicy.DeviceOwnerTest# \
testCreateAndManageEphemeralUserFailsWithoutSplitSystemUser
and
runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest \
frameworks-services
Change-Id: I77a71a994fe0f4f1f8c5df7c4ccf493aafa8fefe
TreeHugger Robot [Tue, 11 Jul 2017 00:46:11 +0000 (00:46 +0000)]
Merge "Catch exception in descriptor parser causes device connection to be skipped." into oc-dr1-dev
Lucas Dupin [Mon, 10 Jul 2017 23:33:02 +0000 (16:33 -0700)]
Lock pattern should be red when error
Test: visual
Change-Id: I133ac629ca7ee6ae7e049711d024e6f776b10331
Fixes:
63450674
Eugene Susla [Fri, 7 Jul 2017 21:06:14 +0000 (14:06 -0700)]
[Companion] Prevent NPE in CallbackProxy
Fixes:
63383044
Test: Ensure all fields of CompanionDeviceManager.CallbackProxy are
null-checked in onSuccess and onFailure
Change-Id: If95a46686f74d184bccfcb2d8c8195add4747a07
Bill Yi [Mon, 10 Jul 2017 21:56:13 +0000 (14:56 -0700)]
Import translations. DO NOT MERGE
Change-Id: I6f7c93454c795da3db06572b1cddf9691ec4ff8e
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
TreeHugger Robot [Mon, 10 Jul 2017 21:21:54 +0000 (21:21 +0000)]
Merge "Eliminate a race condition that could lead to calling PBT#finalizeBackup() twice" into oc-dr1-dev
Bill Yi [Mon, 10 Jul 2017 21:17:29 +0000 (14:17 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0d78e510a92213c8cd7bf2ba96e756418b79aba8
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import