OSDN Git Service
Hongming Jin [Mon, 4 Jun 2018 20:38:46 +0000 (20:38 +0000)]
Merge "Add shell command handler for account manager to allow enabling service binding for instant app. Test: cts-tradefed run cts -m CtsAccountManagerTestCases cts-instant-tradefed run cts-instant -m CtsAccountManagerTestCases Bug:
79367659" into pi-dev
TreeHugger Robot [Mon, 4 Jun 2018 20:32:30 +0000 (20:32 +0000)]
Merge "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS" into pi-dev
Adrian Roos [Mon, 4 Jun 2018 19:49:11 +0000 (12:49 -0700)]
[automerger skipped] Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am:
f04714c59a am:
6281d64277
am:
668761b146 -s ours
Change-Id: Icf2ed114aa3c2bf500ea59c3f52ec75d0f73ff84
TreeHugger Robot [Mon, 4 Jun 2018 19:45:18 +0000 (19:45 +0000)]
Merge "Blank screen when coming from pulse" into pi-dev
TreeHugger Robot [Mon, 4 Jun 2018 19:34:19 +0000 (19:34 +0000)]
Merge "Camera: fix off by one error" into pi-dev
Adrian Roos [Mon, 4 Jun 2018 18:18:38 +0000 (11:18 -0700)]
Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am:
f04714c59a
am:
6281d64277
Change-Id: Ic7b12c406ac5aea0e9f40b5f2c2f72c5efd87212
David Brazdil [Mon, 4 Jun 2018 17:14:49 +0000 (17:14 +0000)]
Merge "Add another entry to hidden API light grey" into pi-dev
Adrian Roos [Mon, 4 Jun 2018 17:02:32 +0000 (10:02 -0700)]
Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev
am:
f04714c59a
Change-Id: I38bab1ff56a30cccb2f748588ffbbe54d5e17e80
Hongming Jin [Wed, 30 May 2018 18:01:06 +0000 (11:01 -0700)]
Add shell command handler for account manager to allow enabling service
binding for instant app.
Test: cts-tradefed run cts -m CtsAccountManagerTestCases
cts-instant-tradefed run cts-instant -m CtsAccountManagerTestCases
Bug:
79367659
Change-Id: I3ac968ebc20be68da08293d9b685a01920f11b76
Yin-Chia Yeh [Mon, 4 Jun 2018 16:23:14 +0000 (09:23 -0700)]
Camera: fix off by one error
Test: DngCreator CTS test
Bug:
74434422
Change-Id: Ib8aa5f1eec6a5213f6c2c3aeb2d46475107f13c6
TreeHugger Robot [Mon, 4 Jun 2018 11:44:21 +0000 (11:44 +0000)]
Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev
David Brazdil [Mon, 4 Jun 2018 10:38:16 +0000 (11:38 +0100)]
Add another entry to hidden API light grey
Bug:
80553977
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: Ic63b7c21ec77ac67b495a5cc5b8b9336ba41fc46
Nicolas Geoffray [Mon, 4 Jun 2018 07:59:25 +0000 (08:59 +0100)]
Add more light grey APIs.
bug:
109588718
Test: m
Change-Id: Ibf0d0366a2a20124dfaafbc39015a1eb3c1ecedf
TreeHugger Robot [Sun, 3 Jun 2018 23:30:24 +0000 (23:30 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:34:21 +0000 (22:34 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:26:29 +0000 (22:26 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:22:26 +0000 (22:22 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:22:20 +0000 (22:22 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Sun, 3 Jun 2018 14:48:00 +0000 (07:48 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I3d8f7c63c86424767ea717511e218c090090a5a2
Bill Yi [Sun, 3 Jun 2018 14:40:47 +0000 (07:40 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ie47fd40001b22ebd53a452443a52fb3449c3ee68
Bill Yi [Sun, 3 Jun 2018 12:41:32 +0000 (05:41 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I470dc0700da24f49ea47c107089be2fc91175e87
Bill Yi [Sun, 3 Jun 2018 11:01:15 +0000 (04:01 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ide5351c17e5deb31ebccd586440cf7755bb9b9de
Bill Yi [Sun, 3 Jun 2018 10:47:25 +0000 (03:47 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I1b358135c0013b5ba30f5d416fd252d474f090bf
Bill Yi [Sun, 3 Jun 2018 10:27:06 +0000 (03:27 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: If6ca37ec539ab563a635e938845fcc6643b8e2b8
John Reck [Fri, 1 Jun 2018 22:25:52 +0000 (22:25 +0000)]
Merge "Ensure picture isn't recording in createBitmap" into pi-dev
Alan Viverette [Fri, 1 Jun 2018 20:29:04 +0000 (20:29 +0000)]
Merge "Partial revert of "Align Theme, Theme.Holo, and Theme.Holo.Light with Material attrs"" into pi-dev
John Reck [Fri, 1 Jun 2018 19:39:50 +0000 (12:39 -0700)]
Ensure picture isn't recording in createBitmap
Picture#draw() will silently due an #endRecording() if it
wasn't called. Bitmap.createBitmap doesn't do this until
after it's too late.
So do an up-front #endRecording() to ensure state is
good to go
Bug:
80539264
Test: HardwareBitmapTests#testReadbackThroughPictureNoEndRecording
Change-Id: Ic66c41462e88880b73c5093d7541c4ce3d71adeb
TreeHugger Robot [Fri, 1 Jun 2018 19:35:37 +0000 (19:35 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Lucas Dupin [Fri, 1 Jun 2018 07:28:58 +0000 (00:28 -0700)]
Blank screen when coming from pulse
We need to fade from black to the app to achieve a nice transition.
Test: visual
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Change-Id: I13edd9c5f7a1bf9378851ac50c513d36ab821c43
Fixes:
87939048
Bill Yi [Fri, 1 Jun 2018 18:28:39 +0000 (11:28 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I3e1475f7ceb9b2b0b37ff52297f550c2b2b6cb0d
TreeHugger Robot [Fri, 1 Jun 2018 18:18:35 +0000 (18:18 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Hongming Jin [Fri, 1 Jun 2018 17:15:21 +0000 (17:15 +0000)]
Merge "Enforce permission check before returning application info Test: atest CtsAppSecurityHostTestCases:ApplicationVisibilityTest Bug:
77821568" into pi-dev
Bill Yi [Fri, 1 Jun 2018 13:50:46 +0000 (06:50 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I35f7064ae1d2f8bde001b3b201a9107736a077e5
Nicolas Geoffray [Fri, 1 Jun 2018 08:57:34 +0000 (08:57 +0000)]
Merge "Greylist bugbot updated - Thursday edition." into pi-dev
Tiger Huang [Fri, 1 Jun 2018 07:49:56 +0000 (07:49 +0000)]
Merge "Prevent infinite layout while hiding nav bar on keyguard" into pi-dev
TreeHugger Robot [Fri, 1 Jun 2018 06:00:23 +0000 (06:00 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 1 Jun 2018 05:53:35 +0000 (05:53 +0000)]
Merge "Clear IPv4 address on tethering teardown." into pi-dev
Makoto Onuki [Fri, 1 Jun 2018 05:35:02 +0000 (05:35 +0000)]
Merge "Serialize AM.getContentProvider() calls in client side" into pi-dev
Erik Kline [Fri, 18 May 2018 07:09:24 +0000 (16:09 +0900)]
Clear IPv4 address on tethering teardown.
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
- wlan0 in STA mode, wlan1 up/down in AP mode
no lingering IPv4 mode
- USB tethering up/down works
- bluetooth tethering yields:
05-18 17:50:49.726 719 756 D TetherController: untetherInterface(bt-pan)
05-18 17:50:49.729 1194 1230 E Tethering: [bt-pan] ERROR Failed to clear IPv4 address on interface bt-pan: java.lang.IllegalStateException: command '224 interface setcfg bt-pan 0.0.0.0 0' failed with '400 224 Failed to clear address (No such device)'
which is acceptable (no actual crash, just a log message)
Bug:
79905644
Change-Id: Iaf29788a6692d810f3160e3f21d06b7452ecbaa6
Jackal Guo [Thu, 31 May 2018 07:01:34 +0000 (15:01 +0800)]
Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS
Update the logic in PackageParser to avoid unistalled system app
can't be found.
Test: follow steps on b/
80444486 and can add account normally
Test: PackageManagerTest
Bug:
80444486
Change-Id: Ifafac34111d883e51563018be793655c25d09fba
TreeHugger Robot [Fri, 1 Jun 2018 03:15:13 +0000 (03:15 +0000)]
Merge "Don't "notifyAppStopping" when going to sleep." into pi-dev
Tiger Huang [Thu, 17 May 2018 08:45:56 +0000 (16:45 +0800)]
Prevent infinite layout while hiding nav bar on keyguard
By the original logic, if there is a focused window which hides
navigation bar while keyguard is showing, PhoneWindowManager would
hide/show navigation bar frequently, which caused infinite layout.
Bug:
78681867
Bug:
79896018
Bug:
80113279
Test: 1. a. Open a photo in fullscreen mode (hiding navigation bar)
b. Press power key to bring up keyguard
c. See if there is "Performed 6 layouts in a row. Skipping"
log
2. go/wm-smoke
3. Open a video in YouTube in fullscreen mode and then expand
status bar, and see if navigation bar would show; collapse
status bar, and see if navigation bar would hide
Change-Id: Id8c49ac8fc45b98294e48017308dce3117ed1cf8
Merged-In: Id8c49ac8fc45b98294e48017308dce3117ed1cf8
(cherry picked from commit
53e8cfe794ef0e1295e526b21c557c2a17e597ad)
John Reck [Fri, 1 Jun 2018 03:05:51 +0000 (03:05 +0000)]
Merge "Attempting to fix the black flicker" into pi-dev
Derek Sollenberger [Fri, 1 Jun 2018 02:51:51 +0000 (02:51 +0000)]
Merge "Bind correct FBO when drawing a WebView into a layer." into pi-dev
Bill Yi [Fri, 1 Jun 2018 02:29:24 +0000 (19:29 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Id3ec2d329e661c984e51de0960c46c136ca69627
Winson Chung [Fri, 1 Jun 2018 01:35:27 +0000 (01:35 +0000)]
Merge "Update the task stack state when resizing the tasks after the PiP animation" into pi-dev
Hall Liu [Fri, 1 Jun 2018 01:14:37 +0000 (01:14 +0000)]
Merge "Move the "repeated calls" caveat" into pi-dev
Derek Sollenberger [Wed, 30 May 2018 22:08:57 +0000 (18:08 -0400)]
Bind correct FBO when drawing a WebView into a layer.
The WebView was unable to draw into either a standard clipped
layer or the "fading edges" unclipped layer. This CL and its
companion test cases ensure that both work with simple and
complex clips.
Bug:
79619253
Bug:
80443556
Bug:
80477645
Test: atest CtsUiRenderingTestCases:.LayerTests
Merged-In: I0e16b724f74415a61cc2a841ccf4a491f293ac94
Change-Id: I4900222975fc841b11828916878fb0ea6d87dcda
Winson Chung [Fri, 1 Jun 2018 00:40:46 +0000 (00:40 +0000)]
Merge "Fix regression in virtual key haptics" into pi-dev
Hongming Jin [Fri, 18 May 2018 17:47:57 +0000 (10:47 -0700)]
Enforce permission check before returning application info
Test: atest CtsAppSecurityHostTestCases:ApplicationVisibilityTest
Bug:
77821568
Change-Id: I7554805c36c0c2552163dad7b07cfc5f552b624e
TreeHugger Robot [Fri, 1 Jun 2018 00:08:58 +0000 (00:08 +0000)]
Merge "Skip task overlay in calcuating task description" into pi-dev
Hall Liu [Thu, 31 May 2018 23:26:01 +0000 (16:26 -0700)]
Move the "repeated calls" caveat
Previous CL put the "repeated calls will replace the listener" comment
on the wrong method. Fixing.
Bug:
80493663
Test: None, doc change
Change-Id: I2736a582d79b3b2f204519c649d82d9ba912e1e5
Winson Chung [Thu, 31 May 2018 22:51:47 +0000 (15:51 -0700)]
Update the task stack state when resizing the tasks after the PiP animation
- When the animation into PiP ends, we clear the task stack state and
request a layout prior to resizing the the stack to update the task
bounds to the stack bounds. This triggers a relayout from the client,
which fetches the new configuration prior to handling the PiP mode/config
change scheduled as a part of the PiP mode change.
We can instead update the task stack state when we resize the tasks to
ensure that we don't relayout multiple times.
Bug:
75995355
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests
Change-Id: I58a6e30651f16b85ec160e977554b8d091b461ec
Robert Carr [Thu, 31 May 2018 22:39:07 +0000 (15:39 -0700)]
Don't "notifyAppStopping" when going to sleep.
The WindowManager interprets notifyAppStopping as a signal that the
app surface will be destroyed, but in the visible stopped states
of going to sleep this may not necessarily be true. notifyAppStopping
was only recently introduced for the purposes of handling detach children
which isn't needed when turning the screen off. Simply not executing
it when turning the screen off should be safe, if a little confusing.
Test: Manual of bug + mess around with SV apps a bunch
Bug:
80491358
Bug:
72921025
Change-Id: I7dd5d1e144e12ecfba038e15f84f9ae7c02aadd2
Andrii Kulian [Thu, 31 May 2018 22:35:10 +0000 (22:35 +0000)]
Merge "Don't pause non-top activities when making visible" into pi-dev
Makoto Onuki [Thu, 31 May 2018 18:03:56 +0000 (11:03 -0700)]
Serialize AM.getContentProvider() calls in client side
Th wait() call in AMS.getContentProviderImpl() can cause a deadlock when it
starts a new process for a target provider and all system server binder threads
are reaching out to the same provider at the same time, because AMS won't be
able to receive a callback from the provider process.
Let's serialize access to AM.getContentProvider() to avoid this scenario.
Longer team, we should stop waiting in the system server and instead do so in
the client side.
Bug:
74523247
Test: Boot, add a google account, and let syncs run and finish.
Test: Watch free video on Coursera
Change-Id: If5be2dc4b6f22f72d1bb3aa1b5b4d49f20c8d94d
Alan Viverette [Fri, 18 May 2018 13:44:45 +0000 (13:44 +0000)]
Partial revert of "Align Theme, Theme.Holo, and Theme.Holo.Light with Material attrs"
This partially reverts commit
045abe73e2d61700dda3c6655ca2be75df8e9641.
Basically we're just removing the attributes that were explicitly
defined as null, since apparently they don't have fallback values
unless Holo is overlaid atop Material (blergh).
Bug: b/
79725570
Test: manual against from bug APK
Change-Id: I7a5fe3f96a9720e0657042ce8d5a87b2fb590327
TreeHugger Robot [Thu, 31 May 2018 21:11:24 +0000 (21:11 +0000)]
Merge "Camera: add new detailed error callback" into pi-dev
TreeHugger Robot [Thu, 31 May 2018 20:50:33 +0000 (20:50 +0000)]
Merge "Camera: Document getNumberOfCameras behavior for logical camera" into pi-dev
TreeHugger Robot [Thu, 31 May 2018 20:41:01 +0000 (20:41 +0000)]
Merge "Ensure permission held for MATCH_KNOWN_PACKAGES" into pi-dev
Hall Liu [Thu, 31 May 2018 20:34:42 +0000 (20:34 +0000)]
Merge "Fix MbmsDownloadSession documentation" into pi-dev
TreeHugger Robot [Thu, 31 May 2018 20:21:16 +0000 (20:21 +0000)]
Merge "Don't use stable providers for slices" into pi-dev
John Reck [Thu, 17 May 2018 17:44:00 +0000 (10:44 -0700)]
Attempting to fix the black flicker
Bug:
79231206
Test: Repro steps from bug
Merged-In: I4c2810c42a7a4358f64584da3ab0cdf1499e71b6
Change-Id: I4c2810c42a7a4358f64584da3ab0cdf1499e71b6
Yin-Chia Yeh [Thu, 31 May 2018 19:11:42 +0000 (12:11 -0700)]
Camera: add new detailed error callback
For the legacy shim layer to tell the difference between evction
and disable error.
Test: CTS CameraEvictionTest + IdleUidTest
Bug:
77486868
Change-Id: I5b68f55460287634903c9b8b42188d9dec8744d5
Shuzhen Wang [Thu, 31 May 2018 18:41:39 +0000 (11:41 -0700)]
Camera: Document getNumberOfCameras behavior for logical camera
For camera1 API, framework only exposes one camera id for every
logical/physical camera id group. Document this behavior accordingly.
Test: Build
Bug:
80075565
Change-Id: I32c2de84d27a603d485014255bf1fad5031aa08e
Mady Mellor [Thu, 31 May 2018 18:50:26 +0000 (18:50 +0000)]
Merge "Add a primary action to slices from keyguard slice provider" into pi-dev
TreeHugger Robot [Thu, 31 May 2018 18:49:38 +0000 (18:49 +0000)]
Merge "Don't cause infinite loop if windows manager crashes in safe mode" into pi-dev
Winson Chung [Thu, 31 May 2018 17:56:06 +0000 (10:56 -0700)]
Fix regression in virtual key haptics
- We only want to suppress haptics for virtual keys when using quickstep,
so the default should be to allow vibration for all virtual keys.
Bug:
80531196
Test: On quickstep-enabled device, touch and verify that we only get haptic
on tap and not down
Change-Id: I87000703d0462c3c1d62e829eb36e7a19e7b53d7
Jason Monk [Thu, 31 May 2018 18:12:52 +0000 (14:12 -0400)]
Don't use stable providers for slices
Because they aren't what we want.
Test: manual + existing tests
Bug:
80532760
Change-Id: Ib69799a2ef9440d0d67cea02e6b3c61844535755
Calin Juravle [Thu, 31 May 2018 17:31:48 +0000 (17:31 +0000)]
Merge "Update the boot image profile and preloaded classes" into pi-dev
TreeHugger Robot [Thu, 31 May 2018 17:20:21 +0000 (17:20 +0000)]
Merge "Protect broadcasts we use to talk to settings" into pi-dev
TreeHugger Robot [Thu, 31 May 2018 16:40:36 +0000 (16:40 +0000)]
Merge "Fix comments to reflect changes in eth service" into pi-dev
Winson Chung [Thu, 31 May 2018 04:13:25 +0000 (21:13 -0700)]
Skip task overlay in calcuating task description
- When a PiP task is dismissed with the PiP menu activity showing, we
use the wrong task description (belonging to the menu activity) to draw
the app theme snapshot. The task overlay is only used from SysUI to
overlay an activity on top of the task, and should not be considered in
the calculation for the task description for the task.
Bug:
77964409
Test: Manual, launch Maps in PiP, dismiss and then open overview
Change-Id: I2d537b9fdd19eb69a8dc20f15ac5b263584d2fad
Jorim Jaggi [Thu, 31 May 2018 15:50:31 +0000 (15:50 +0000)]
Merge "Updates to shared lib for Launcher" into pi-dev
TreeHugger Robot [Thu, 31 May 2018 15:40:16 +0000 (15:40 +0000)]
Merge "Cutout Overlay: Flip color in inverted color mode" into pi-dev
Jason Monk [Thu, 31 May 2018 14:32:57 +0000 (10:32 -0400)]
Protect broadcasts we use to talk to settings
Test: manual
Change-Id: If383f94caccc0221e4a34a388142ff9ca4c00d29
Fixes:
80245419
Nicolas Geoffray [Thu, 31 May 2018 13:53:27 +0000 (14:53 +0100)]
Greylist bugbot updated - Thursday edition.
Bug:
80060097
Bug:
80111179
Test: m
Change-Id: I9543df166da9f5b53ca97d0b3ad62ed89d73b5fe
David Brazdil [Thu, 31 May 2018 13:21:32 +0000 (14:21 +0100)]
More additions to hidden API list greylist
Bug:
80456099
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: Iee44f02c83e5d2c68e09b6c4f62c8faff2e74df8
David Brazdil [Thu, 31 May 2018 12:20:57 +0000 (12:20 +0000)]
Merge "Build dark greylist from public + light grey API" into pi-dev
Adrian Roos [Thu, 31 May 2018 12:14:13 +0000 (14:14 +0200)]
Cutout Overlay: Flip color in inverted color mode
Flips the color when the screen is inverted such
that it will end up black again after composition.
Change-Id: I8800c666b60061a58f1345a2609a088a02e82f48
Fixes:
80102202
Test: Enable cutout overlay, enable color inversion, verify overlay is black.
TreeHugger Robot [Thu, 31 May 2018 10:27:18 +0000 (10:27 +0000)]
Merge "Add MediaMuxer APIs to light grey." into pi-dev
Felka Chang [Thu, 31 May 2018 08:41:44 +0000 (08:41 +0000)]
Merge "Fix text is cut off in corner cut out condition" into pi-dev
Nicolas Geoffray [Wed, 30 May 2018 14:50:33 +0000 (15:50 +0100)]
Add MediaMuxer APIs to light grey.
bug:
80338884
Test: m
Change-Id: I076f6033e3b6512a5667d81a09a451bda8853505
Nicolas Geoffray [Thu, 31 May 2018 08:31:51 +0000 (08:31 +0000)]
Merge "Hidden API bugbot update" into pi-dev
TreeHugger Robot [Thu, 31 May 2018 05:41:44 +0000 (05:41 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
felkachang [Fri, 25 May 2018 02:41:17 +0000 (10:41 +0800)]
Fix text is cut off in corner cut out condition
There is a todo that it needs to handle the corner cut out. In the
condition of RTL and Corner Cut out, HeadsUpStatusBarView's padding
is wrong because displayCutout.getSafeInsetRight() is 0 but corner
cut out actually impact HeadsUpStatusBar's layout. Corner cut out
make icon's start more big but mCutOutInset is 0 so the newPadding
is a negative number.
The handle method is to detect the part of overlaying with corner
cut out. i.e. center cut out is exclude. To count the cut out start
as cutOutStart and compare cutOutStart with icon's start. The cut
out is not corner cut out if cutOutStart < icon's start.
icon's minus the width of overlay part to prevent from negative
padding.
move the get screen size from onLayout to fitSystemWindows and
onAttachToWindow because there is a chance to new object in
onLayout. To new object in onLayout is not good practice. And,
there is an chance to invoke ANR because Display.getRealSize() may
do IPC.
Fixes:
80271465
Test: atest SystemUITests
Change-Id: I36fa5c880f5e624747133e46950c1c1695a5fa58
Bill Yi [Thu, 31 May 2018 04:32:21 +0000 (21:32 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ia217e53a5c9e1c832f986eb4c90b6099f566d941
Lorenzo Colitti [Thu, 31 May 2018 03:03:04 +0000 (03:03 +0000)]
Merge "Don't complain if a VPN changes capabilities." into pi-dev
Hongwei Wang [Thu, 31 May 2018 01:22:45 +0000 (01:22 +0000)]
Merge "Master mute is valid when running fixed volume for automotive" into pi-dev
Hongwei Wang [Tue, 29 May 2018 21:36:16 +0000 (14:36 -0700)]
Master mute is valid when running fixed volume for automotive
In Automotive case, we set fixed volume to suggest no volume control
inside AudioFlinger and master mute is a mapping to the physical mute
button in a car, which toggles the global mute state.
Bug:
80474559
Test: adb shell input keyevent 164
Change-Id: I1d4fd143a98ee96f11850811c90e6d9932cab948
Calin Juravle [Wed, 30 May 2018 00:52:20 +0000 (17:52 -0700)]
Update the boot image profile and preloaded classes
Data aggregated across 41 dogfood profiles from 10 different
(builds,devices). The threshold for preloaded_classes was 5.
What has changed:
preloaded_classes: 643 added, 1 removed
boot image profile: ~10k methods and classes added.
Test: m, build & boot
Bug:
73313191
Change-Id: Ic2662255081a5166180f4eb894d75b2e5bd76950
Benedict Wong [Wed, 30 May 2018 23:12:34 +0000 (16:12 -0700)]
Merge changes from topic "vpn-meteredness" into oc-mr1-dev
am:
64c14793f7
Change-Id: If227c0d179137eea7d38c5f5579373268ae0bb2f
Hall Liu [Wed, 30 May 2018 23:11:11 +0000 (16:11 -0700)]
Fix MbmsDownloadSession documentation
Fix the TODO from forever ago and update the docs for the listener
registration methods.
Change-Id: I1276d0afe430e1b50c0af1fdfacb12a89ea5aa38
Fixes:
80493663
Test: None, comments only
Benedict Wong [Wed, 30 May 2018 23:10:46 +0000 (16:10 -0700)]
[automerger skipped] DO NOT MERGE: Add unit tests to ensure VPN meteredness
am:
66bc52884b -s ours
Change-Id: I7ce4d1327e4f26080bd1001fb8fa1d370d2bcb96
Benedict Wong [Wed, 30 May 2018 23:00:13 +0000 (23:00 +0000)]
Merge changes from topic "vpn-meteredness" into oc-mr1-dev
* changes:
DO NOT MERGE: Add unit tests to ensure VPN meteredness
DO NOT MERGE: Fix ConnectivityController meteredness checks
TreeHugger Robot [Wed, 30 May 2018 21:55:54 +0000 (21:55 +0000)]
Merge "Show back button when launcher is disconnected from proxy service" into pi-dev
Evan Rosky [Wed, 30 May 2018 21:47:25 +0000 (21:47 +0000)]
Merge "Fixed a bug where sometimes unhandled handler would consume all keys" into pi-dev
Todd Kennedy [Tue, 29 May 2018 22:18:06 +0000 (15:18 -0700)]
Ensure permission held for MATCH_KNOWN_PACKAGES
There's an escape clause that passes the cross user permissions
if the caller UID is identical to the target user ID [eg. we're not
operating across users]. However, the method getInstalledPackagesList()
uses android.permission.INTERACT_ACROSS_USERS to filter the results and
a calling UID check is not sufficient. Ensuure the permission is
actually held, regardless of the calling UID or target user.
Change-Id: Iebf88668766d387a15246d6eea6420610665105a
Fixes:
80435086
Test: atest CtsAppSecurityHostTestCases:ApplicationVisibilityTest
TreeHugger Robot [Wed, 30 May 2018 20:26:45 +0000 (20:26 +0000)]
Merge "Fixed an issue where group children had rounded corners" into pi-dev
Pavel Maltsev [Wed, 30 May 2018 19:31:21 +0000 (12:31 -0700)]
Fix comments to reflect changes in eth service
OEMs should be able to set gateway, DNS and domain for their static IP
configuration.
Bug:
80090920
Test: m
Change-Id: Id7b6d538e2551cbd188821feb4b4feb102e4c751