OSDN Git Service
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 11:01:15 +0000 (04:01 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ide5351c17e5deb31ebccd586440cf7755bb9b9de
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
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
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
Matthew Ng [Wed, 30 May 2018 18:27:39 +0000 (11:27 -0700)]
Show back button when launcher is disconnected from proxy service
Whenever service is disconnected, the back button will be shown. Once
the service is connected, launcher will decide whether or not to hide
the back button.
Test: adb shell am force-stop com.google.android.apps.nexuslauncher
Change-Id: Ic947e51c00abd9591c800aa1023b8d9684dc5d93
Fixes:
80098608
Robert Shih [Wed, 30 May 2018 17:43:58 +0000 (17:43 +0000)]
Merge "MediaCodec.CryptoInfo: expose subsample encryption pattern" into pi-dev
Selim Cinek [Wed, 30 May 2018 16:55:36 +0000 (09:55 -0700)]
Fixed an issue where group children had rounded corners
Children that were close to the clipping boundary before
were not being reset when they were added as a child.
This could happen with auto groups when collapsed or
with heads up notifications.
Change-Id: I873b65da6778840c4542b4324f69d2ec9b5c1dc5
Fixes:
80276391
Test: add autobundleable children while collapsed, observe no corners
Nicolas Geoffray [Wed, 30 May 2018 15:29:29 +0000 (16:29 +0100)]
Hidden API bugbot update
Test: m
Bug:
76000369
Bug:
79619940
Bug:
80383631
Change-Id: Ie809ea7d97aa0a5a1bcf0b405a9b9c378591da20
Andrii Kulian [Wed, 30 May 2018 14:50:18 +0000 (14:50 +0000)]
Merge changes from topic "rotation_config_update_fixes" into pi-dev
* changes:
Force-update the orientation of before sending to client
Update visibility and config at the same time
Don't update configuration for invisible windows
Don't let top activity to influence the orientation
Tyler Gunn [Wed, 30 May 2018 14:24:23 +0000 (14:24 +0000)]
Merge "Update onDeregistered docs to make capability change expectations clear." into pi-dev
David Brazdil [Wed, 30 May 2018 12:59:11 +0000 (13:59 +0100)]
Build dark greylist from public + light grey API
The dark greylist is meant to contain non-SDK APIs which are "related"
to APIs accessible to apps without restrictions. The list used to be
built as all non-SDK APIs in the same package as those on the light
greylist. That is not sufficient and should include the public SDK API
packages too.
This patch modifies the makefile to generate a list of public API DEX
signatures with Doclava and then use that as a basis for the dark
greylist generation.
This should not be merged outside P branches as the build rules have
been migrated to Soong.
Bug:
80461842
Bug:
64382372
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: Ief5e050280fbe0e87eba539fb73c34661d5fd83e
Merged-In: I357fcba75909495ba2b46b9ed1b532e65fee3fe1
Lorenzo Colitti [Wed, 30 May 2018 07:44:47 +0000 (16:44 +0900)]
Don't complain if a VPN changes capabilities.
VPNs are not driven by NetworkRequests, so there's no risk of a
capability change on a VPN causing a connect/teardown loop.
Bug:
80439912
Test: builds, boots
Change-Id: Ic4c489ccc9fb97551d1ef440766f6cf6f99522db
Nicolas Geoffray [Wed, 30 May 2018 11:45:46 +0000 (11:45 +0000)]
Merge "More greylisted APIs." into pi-dev
Nicolas Geoffray [Wed, 30 May 2018 09:51:48 +0000 (10:51 +0100)]
More greylisted APIs.
bug:
80447248
bug:
80444865
bug:
80441306
bug:
80441307
bug:
80440630
Test: m
Change-Id: I8be93884ad770f885fed1afb3864ea5322902bb1
Michael Wright [Wed, 30 May 2018 09:28:22 +0000 (09:28 +0000)]
Merge "Allow for any default vibration intensity level." into pi-dev
Andrii Kulian [Thu, 17 May 2018 04:29:34 +0000 (21:29 -0700)]
Don't pause non-top activities when making visible
Pausing non-top activities may break other lifecycle contracts, such
as onActivityResult() being delivered before onResume().
Bug:
79491318
Test: ActivityLifecycleTests
Change-Id: Idd287a5a85d39cbc849a9e60791b0111a6ab2fe8
TreeHugger Robot [Wed, 30 May 2018 05:14:35 +0000 (05:14 +0000)]
Merge "Cancel dark animation when new one arrives" into pi-dev
TreeHugger Robot [Wed, 30 May 2018 04:30:49 +0000 (04:30 +0000)]
Merge "Fix unwanted PIP window dismissal when moving to the bottom" into pi-dev
TreeHugger Robot [Wed, 30 May 2018 03:26:22 +0000 (03:26 +0000)]
Merge "Update mGlobalBluetoothA2dpOn when active device changed" into pi-dev
TreeHugger Robot [Wed, 30 May 2018 03:08:19 +0000 (03:08 +0000)]
Merge "Add default phone/sms to battery whitelist apps." into pi-dev
Jakub Pawlowski [Wed, 30 May 2018 03:05:21 +0000 (20:05 -0700)]
[automerger skipped] Fix bad type for txPower in PeriodicAdvertisingReport serialization am:
459888be84 am:
bc45dc9536 -s ours
am:
2d6209f71d -s ours
Change-Id: I0b7af0f19142f0aa5a039de6db22f292d16c76df
TreeHugger Robot [Wed, 30 May 2018 01:55:18 +0000 (01:55 +0000)]
Merge "Do not request focus during wake and unlock" into pi-dev
Jakub Pawlowski [Wed, 30 May 2018 01:49:17 +0000 (18:49 -0700)]
[automerger skipped] Fix bad type for txPower in PeriodicAdvertisingReport serialization am:
459888be84
am:
bc45dc9536 -s ours
Change-Id: I087f8de352c5c61db32d95ee8c47b6ab0bd171e2
Sungsoo Lim [Wed, 23 May 2018 15:28:27 +0000 (00:28 +0900)]
Update mGlobalBluetoothA2dpOn when active device changed
Also do not setForceUse when a2dp config without change.
Bug:
79982460
Test: manual
Change-Id: I789b03c00366f9fd78fd3a0305fdf2c11dfc23d2
TreeHugger Robot [Wed, 30 May 2018 01:29:40 +0000 (01:29 +0000)]
Merge "Fixed an issue where the reply icon was disabled" into pi-dev