OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Skip task overlay in calcuating task description" into pi-dev
Winson Chung [Fri, 1 Jun 2018 03:11:17 +0000 (20:11 -0700)]
Merge "Skip task overlay in calcuating task description" into pi-dev
am: d17d5a487d

Change-Id: Ib135f9d0c3a5ccf3aace66996659264d99dc71ab

6 years agoMerge "DCB whitelist shortcode for user association" am: b17d1962b7
Eeshan Shrimali [Fri, 1 Jun 2018 03:07:12 +0000 (20:07 -0700)]
Merge "DCB whitelist shortcode for user association" am: b17d1962b7
am: 53f46128a0

Change-Id: I5ae2ed05ffd2bc2c73bed7c4e223ab1cbd24c870

6 years agoMerge "DCB whitelist shortcode for user association"
Eeshan Shrimali [Fri, 1 Jun 2018 00:23:12 +0000 (17:23 -0700)]
Merge "DCB whitelist shortcode for user association"
am: b17d1962b7

Change-Id: I802a1ecd1ff23e15860ed03e22491476aec2d3ed

6 years agoMerge "Skip task overlay in calcuating task description" into pi-dev
TreeHugger Robot [Fri, 1 Jun 2018 00:08:58 +0000 (00:08 +0000)]
Merge "Skip task overlay in calcuating task description" into pi-dev

6 years agoMerge "Add support for --replace-version to aapt2" into pi-dev-plus-aosp
Colin Cross [Thu, 31 May 2018 22:53:13 +0000 (22:53 +0000)]
Merge "Add support for --replace-version to aapt2" into pi-dev-plus-aosp

6 years agoMerge "Don't pause non-top activities when making visible" into pi-dev
Andrii Kulian [Thu, 31 May 2018 22:52:00 +0000 (15:52 -0700)]
Merge "Don't pause non-top activities when making visible" into pi-dev
am: a798833075

Change-Id: I5a6fdcbd513b97f729bd52f87adc40ee25d26730

6 years agoMerge "Don't pause non-top activities when making visible" into pi-dev
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

6 years agoMerge "Camera: add new detailed error callback" into pi-dev
Yin-Chia Yeh [Thu, 31 May 2018 22:12:00 +0000 (15:12 -0700)]
Merge "Camera: add new detailed error callback" into pi-dev
am: d4c5d1e448

Change-Id: I05c46b7e8558a0877d4274c5dcd86cfa9c4f2917

6 years agoMerge "Camera: Document getNumberOfCameras behavior for logical camera" into pi-dev
Shuzhen Wang [Thu, 31 May 2018 22:04:52 +0000 (15:04 -0700)]
Merge "Camera: Document getNumberOfCameras behavior for logical camera" into pi-dev
am: fe8c263011

Change-Id: I148d73a3232f02ed94234745f436edc7c676b87c

6 years agoMerge "Ensure permission held for MATCH_KNOWN_PACKAGES" into pi-dev
Todd Kennedy [Thu, 31 May 2018 21:56:10 +0000 (14:56 -0700)]
Merge "Ensure permission held for MATCH_KNOWN_PACKAGES" into pi-dev
am: 2f898c4df5

Change-Id: I3c987d0d74f9f60fe23ab7d1cc815b4343503194

6 years agoMerge "Fix MbmsDownloadSession documentation" into pi-dev
Hall Liu [Thu, 31 May 2018 21:51:26 +0000 (14:51 -0700)]
Merge "Fix MbmsDownloadSession documentation" into pi-dev
am: 73942715f3

Change-Id: I9217bcd5d4d70683e788b9afc77686ac2736d429

6 years agoMerge "Don't use stable providers for slices" into pi-dev
Jason Monk [Thu, 31 May 2018 21:46:38 +0000 (14:46 -0700)]
Merge "Don't use stable providers for slices" into pi-dev
am: de8e3c227c

Change-Id: I40b6eef84e5d44b1c185f9818953a6dba8dc9adc

6 years agoMerge "Add a primary action to slices from keyguard slice provider" into pi-dev
Mady Mellor [Thu, 31 May 2018 21:41:33 +0000 (14:41 -0700)]
Merge "Add a primary action to slices from keyguard slice provider" into pi-dev
am: 1031bf5f76

Change-Id: I072c144a846f7eeb14aa7e9c529fb35a3489b42e

6 years agoMerge "Don't cause infinite loop if windows manager crashes in safe mode" into pi-dev
Paul Lawrence [Thu, 31 May 2018 21:21:39 +0000 (14:21 -0700)]
Merge "Don't cause infinite loop if windows manager crashes in safe mode" into pi-dev
am: 89e1217c8f

Change-Id: I35b0b5f5b6b083df6be10e78b590341be64eb074

6 years agoMerge "Camera: add new detailed error callback" into pi-dev
TreeHugger Robot [Thu, 31 May 2018 21:11:24 +0000 (21:11 +0000)]
Merge "Camera: add new detailed error callback" into pi-dev

6 years agoMerge "IMS: Support for Implicit Call Rejection" am: 19d032b695
Brad Ebinger [Thu, 31 May 2018 21:02:10 +0000 (14:02 -0700)]
Merge "IMS: Support for Implicit Call Rejection" am: 19d032b695
am: 982ceb81a9

Change-Id: Icc22c412ab47c5a4ca895dfc6c3389a3a6202200

6 years agoMerge "Camera: Document getNumberOfCameras behavior for logical camera" 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

6 years agoMerge "Ensure permission held for MATCH_KNOWN_PACKAGES" 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

6 years agoMerge "Fix MbmsDownloadSession documentation" into pi-dev
Hall Liu [Thu, 31 May 2018 20:34:42 +0000 (20:34 +0000)]
Merge "Fix MbmsDownloadSession documentation" into pi-dev

6 years agoMerge "Don't use stable providers for slices" 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

6 years agoCamera: add new detailed error callback
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

6 years agoCamera: Document getNumberOfCameras behavior for logical camera
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

6 years agoMerge "Update the boot image profile and preloaded classes" into pi-dev
Calin Juravle [Thu, 31 May 2018 19:16:38 +0000 (12:16 -0700)]
Merge "Update the boot image profile and preloaded classes" into pi-dev
am: a78334f80c

Change-Id: I95ea0fc1dee04d05695eb05f73776c2974a8a232

6 years agoMerge "Protect broadcasts we use to talk to settings" into pi-dev
Jason Monk [Thu, 31 May 2018 19:11:28 +0000 (12:11 -0700)]
Merge "Protect broadcasts we use to talk to settings" into pi-dev
am: 3dbd752246

Change-Id: I0e3edd011cd148a93a5b92b21fb706bc03a8e4b0

6 years agoMerge "IMS: Support for Implicit Call Rejection"
Brad Ebinger [Thu, 31 May 2018 19:10:05 +0000 (12:10 -0700)]
Merge "IMS: Support for Implicit Call Rejection"
am: 19d032b695

Change-Id: Ic0238e05ea2682ded8420f739834df94db7c7222

6 years agoMerge "DCB whitelist shortcode for user association"
Treehugger Robot [Thu, 31 May 2018 19:01:32 +0000 (19:01 +0000)]
Merge "DCB whitelist shortcode for user association"

6 years agoMerge "Add a primary action to slices from keyguard slice provider" into pi-dev
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

6 years agoMerge "Don't cause infinite loop if windows manager crashes in safe mode" 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

6 years agoMerge "Merge "Fix comments to reflect changes in eth service" into pi-dev am: 44f7147...
Android Build Merger (Role) [Thu, 31 May 2018 18:34:00 +0000 (18:34 +0000)]
Merge "Merge "Fix comments to reflect changes in eth service" into pi-dev am: 44f7147084" into pi-dev-plus-aosp

6 years agoMerge "Fix comments to reflect changes in eth service" into pi-dev
Pavel Maltsev [Thu, 31 May 2018 18:33:20 +0000 (11:33 -0700)]
Merge "Fix comments to reflect changes in eth service" into pi-dev
am: 44f7147084

Change-Id: I4a99fdf5879779165b9360f67325421bc0efd71e

6 years agoMerge "Merge "Updates to shared lib for Launcher" into pi-dev am: f4833c4fb2" into...
Android Build Merger (Role) [Thu, 31 May 2018 18:27:13 +0000 (18:27 +0000)]
Merge "Merge "Updates to shared lib for Launcher" into pi-dev am: f4833c4fb2" into pi-dev-plus-aosp

6 years agoMerge "Updates to shared lib for Launcher" into pi-dev
Jorim Jaggi [Thu, 31 May 2018 18:26:41 +0000 (11:26 -0700)]
Merge "Updates to shared lib for Launcher" into pi-dev
am: f4833c4fb2

Change-Id: Ie8918e8b5e040a1cdd68873189e15682583b7c47

6 years agoMerge "Add missing dependencies for libdexfile" am: 286aa939af
Remi NGUYEN VAN [Thu, 31 May 2018 18:25:40 +0000 (11:25 -0700)]
Merge "Add missing dependencies for libdexfile" am: 286aa939af
am: e78185076c

Change-Id: Icc5446f1ecfb88a292ac63058f7c4f44922e9a89

6 years agoMerge "Cutout Overlay: Flip color in inverted color mode" into pi-dev
Adrian Roos [Thu, 31 May 2018 18:22:16 +0000 (11:22 -0700)]
Merge "Cutout Overlay: Flip color in inverted color mode" into pi-dev
am: aceee95fa0

Change-Id: Ic9374e3d3d753f0da8841229e16d5e2cee6f0271

6 years agoMore additions to hidden API list greylist
David Brazdil [Thu, 31 May 2018 18:17:46 +0000 (11:17 -0700)]
More additions to hidden API list greylist
am: 132e75bd51

Change-Id: I4dc87da67c73ff5b403406a0327b2af86e3800ee

6 years ago[automerger skipped] Merge "Build dark greylist from public + light grey API" into...
David Brazdil [Thu, 31 May 2018 18:15:46 +0000 (11:15 -0700)]
[automerger skipped] Merge "Build dark greylist from public + light grey API" into pi-dev
am: abed288a08  -s ours

Change-Id: I39f64cce8a6ed78b2d18c6cd9256a3deb4629838

6 years agoDon't use stable providers for slices
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

6 years ago[automerger skipped] Build dark greylist from public + light grey API
David Brazdil [Thu, 31 May 2018 18:02:28 +0000 (11:02 -0700)]
[automerger skipped] Build dark greylist from public + light grey API
am: 94c2ab6562  -s ours

Change-Id: Iccea33e55335a03ef718be674a4d61e7636f77c8

6 years agoMerge "Add MediaMuxer APIs to light grey." into pi-dev
Nicolas Geoffray [Thu, 31 May 2018 17:56:29 +0000 (10:56 -0700)]
Merge "Add  MediaMuxer APIs to light grey." into pi-dev
am: cbe39d1a56

Change-Id: Icb8a8c40415067699b43ff39c62c11c03161a352

6 years agoMerge "Fix text is cut off in corner cut out condition" into pi-dev
Felka Chang [Thu, 31 May 2018 17:52:02 +0000 (10:52 -0700)]
Merge "Fix text is cut off in corner cut out condition" into pi-dev
am: 544cbc9b97

Change-Id: Ie6c7de19efb933cce42c5b4186fb0b81fd95a58a

6 years agoMerge "Hidden API bugbot update" into pi-dev
Nicolas Geoffray [Thu, 31 May 2018 17:47:28 +0000 (10:47 -0700)]
Merge "Hidden API bugbot update" into pi-dev
am: b50d9f8123

Change-Id: I52ab8c3e6ff15919007a539dfed42498ac78cae0

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Thu, 31 May 2018 17:42:55 +0000 (10:42 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 737d83180e  -s ours

Change-Id: I5eddb9865ee16500b342ff59bdd52dda221c838d

6 years agoMerge "Don't complain if a VPN changes capabilities." into pi-dev
Lorenzo Colitti [Thu, 31 May 2018 17:41:34 +0000 (10:41 -0700)]
Merge "Don't complain if a VPN changes capabilities." into pi-dev
am: 0a93a3530d

Change-Id: I26d2e1526c21ad2bac369a565b06155780190692

6 years agoMerge "Update the boot image profile and preloaded classes" into pi-dev
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

6 years agoMerge "Add missing dependencies for libdexfile"
Remi NGUYEN VAN [Thu, 31 May 2018 17:27:22 +0000 (10:27 -0700)]
Merge "Add missing dependencies for libdexfile"
am: 286aa939af

Change-Id: Icde98a98d4d2dbeeab8ea058dd5168c510494eaf

6 years agoMerge "Protect broadcasts we use to talk to settings" 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

6 years agoMerge "IMS: Support for Implicit Call Rejection"
Brad Ebinger [Thu, 31 May 2018 16:45:20 +0000 (16:45 +0000)]
Merge "IMS: Support for Implicit Call Rejection"

6 years agoMerge "Fix comments to reflect changes in eth service" 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

6 years agoSkip task overlay in calcuating task description
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

6 years agoMerge "Updates to shared lib for Launcher" into pi-dev
Jorim Jaggi [Thu, 31 May 2018 15:50:31 +0000 (15:50 +0000)]
Merge "Updates to shared lib for Launcher" into pi-dev

6 years agoMerge "Cutout Overlay: Flip color in inverted color mode" 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

6 years agoProtect broadcasts we use to talk to settings
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

6 years agoMore additions to hidden API list greylist
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

6 years agoMerge "Build dark greylist from public + light grey API" into pi-dev
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

6 years agoCutout Overlay: Flip color in inverted color mode
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.

6 years agoMerge "Add MediaMuxer APIs to light grey." into pi-dev
TreeHugger Robot [Thu, 31 May 2018 10:27:18 +0000 (10:27 +0000)]
Merge "Add  MediaMuxer APIs to light grey." into pi-dev

6 years agoMerge "Fix text is cut off in corner cut out condition" 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

6 years agoAdd MediaMuxer APIs to light grey.
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

6 years agoMerge "Hidden API bugbot update" into pi-dev
Nicolas Geoffray [Thu, 31 May 2018 08:31:51 +0000 (08:31 +0000)]
Merge "Hidden API bugbot update" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" 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

6 years agoFix text is cut off in corner cut out condition
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

6 years agoImport translations. DO NOT MERGE
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

6 years agoMerge "Don't complain if a VPN changes capabilities." into pi-dev
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

6 years agoMerge "Add missing dependencies for libdexfile"
Remi NGUYEN VAN [Thu, 31 May 2018 02:23:17 +0000 (02:23 +0000)]
Merge "Add missing dependencies for libdexfile"

6 years agoIMS: Support for Implicit Call Rejection
Omkar Kolangade [Mon, 2 Apr 2018 19:54:00 +0000 (12:54 -0700)]
IMS: Support for Implicit Call Rejection

Adding an API in MmTelFeature to allow IMS
Service to report the reasons for implicit
call rejections by lower layers. Corresponding
ImsReasonInfo codes are also being added.

The call rejections are not related to any
call session or a call that Framework is aware
of.

Change-Id: Ie47a239856db21e84d199a7620edf7b6ceeb81bc

6 years agoMerge "Master mute is valid when running fixed volume for automotive" into pi-dev
Hongwei Wang [Thu, 31 May 2018 01:33:06 +0000 (18:33 -0700)]
Merge "Master mute is valid when running fixed volume for automotive" into pi-dev
am: 69ed99856b

Change-Id: I2f67dc85b7bdcff3753f6d97b8e4a3ad63afb58e

6 years agoMerge "Master mute is valid when running fixed volume for automotive" 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

6 years agoMaster mute is valid when running fixed volume for automotive
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

6 years agoUpdate the boot image profile and preloaded classes
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

6 years agoMerge changes from topic "vpn-meteredness" into oc-mr1-dev am: 64c14793f7
Benedict Wong [Wed, 30 May 2018 23:28:34 +0000 (16:28 -0700)]
Merge changes from topic "vpn-meteredness" into oc-mr1-dev am: 64c14793f7
am: 8fde8400f1

Change-Id: Id86543c6dcccd277c60139cb7ff08e6d862933fa

6 years agoAdd support for --replace-version to aapt2
Colin Cross [Sat, 26 May 2018 05:46:35 +0000 (22:46 -0700)]
Add support for --replace-version to aapt2

Implement --replace-version to match aapt1.

Bug: 79755007
Test: aapt2_tests
Change-Id: Iee2bd9a3981c7d4681509f18b735c6e9e6c1a336
Merged-In: Iee2bd9a3981c7d4681509f18b735c6e9e6c1a336
(cherry picked from commit dcd58c420771af75c625242985bd96ba828aca56)

6 years ago[automerger skipped] DO NOT MERGE: Add unit tests to ensure VPN meteredness am: 66bc5...
Benedict Wong [Wed, 30 May 2018 23:23:34 +0000 (16:23 -0700)]
[automerger skipped] DO NOT MERGE: Add unit tests to ensure VPN meteredness am: 66bc52884b  -s ours
am: 79aad4f39a

Change-Id: Iddfe4fcc6f7eca5ac94955205fb57296d6b029ad

6 years agoMerge changes from topic "vpn-meteredness" into oc-mr1-dev
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

6 years agoFix MbmsDownloadSession documentation
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

6 years ago[automerger skipped] DO NOT MERGE: Add unit tests to ensure VPN meteredness
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

6 years agoMerge changes from topic "vpn-meteredness" into oc-mr1-dev
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

6 years ago[automerger skipped] Merge "Add CallAudioState ctor as TestApi" am: 39ac9ffe27
Hall Liu [Wed, 30 May 2018 22:28:18 +0000 (15:28 -0700)]
[automerger skipped] Merge "Add CallAudioState ctor as TestApi" am: 39ac9ffe27
am: f06c6d0187  -s ours

Change-Id: Ic6ae00ffdf13aff3b3c081c2b00cefbfa1412d6f

6 years ago[automerger skipped] Merge "Check for bpf support at NetworkStatsService start" am...
Chenbo Feng [Wed, 30 May 2018 22:17:21 +0000 (15:17 -0700)]
[automerger skipped] Merge "Check for bpf support at NetworkStatsService start" am: 0defa6e72c
am: 8196301e24  -s ours

Change-Id: I4b8e1669b80040287dd96423e8384e189db4af2d

6 years agoMerge "Show back button when launcher is disconnected from proxy service" into pi-dev
Matthew Ng [Wed, 30 May 2018 22:10:41 +0000 (15:10 -0700)]
Merge "Show back button when launcher is disconnected from proxy service" into pi-dev
am: d2de50b995

Change-Id: I8dbe77b963e0f6547c33ea1363c4c940eaf27fd8

6 years agoMerge "Add CallAudioState ctor as TestApi"
Hall Liu [Wed, 30 May 2018 22:09:21 +0000 (15:09 -0700)]
Merge "Add CallAudioState ctor as TestApi"
am: 39ac9ffe27

Change-Id: I7ecc3c81927b58bddb5ae12f254be0c09133672a

6 years agoMerge "Check for bpf support at NetworkStatsService start"
Chenbo Feng [Wed, 30 May 2018 22:05:08 +0000 (15:05 -0700)]
Merge "Check for bpf support at NetworkStatsService start"
am: 0defa6e72c

Change-Id: Ia2b5c8c7b7185787fee57281727b366752ef887f

6 years agoMerge "Fixed a bug where sometimes unhandled handler would consume all keys" into...
Evan Rosky [Wed, 30 May 2018 22:02:51 +0000 (15:02 -0700)]
Merge "Fixed a bug where sometimes unhandled handler would consume all keys" into pi-dev
am: 7ba4c2b254

Change-Id: Ia7fab42d36c8b58b05656cc2e5d1253449becf96

6 years agoMerge "Show back button when launcher is disconnected from proxy service" into pi-dev
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

6 years agoMerge "Fixed a bug where sometimes unhandled handler would consume all keys" into...
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

6 years agoEnsure permission held for MATCH_KNOWN_PACKAGES
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

6 years agoMerge "Fixed an issue where group children had rounded corners" into pi-dev
Selim Cinek [Wed, 30 May 2018 20:52:22 +0000 (13:52 -0700)]
Merge "Fixed an issue where group children had rounded corners" into pi-dev
am: f04b6c8d77

Change-Id: I0c6aacd977ab50acac2b69b9ea86d4039c512987

6 years agoMerge "Fixed an issue where group children had rounded corners" into pi-dev
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

6 years agoMerge "Add CallAudioState ctor as TestApi"
Hall Liu [Wed, 30 May 2018 20:24:34 +0000 (20:24 +0000)]
Merge "Add CallAudioState ctor as TestApi"

6 years agoMerge "Check for bpf support at NetworkStatsService start"
Treehugger Robot [Wed, 30 May 2018 19:54:42 +0000 (19:54 +0000)]
Merge "Check for bpf support at NetworkStatsService start"

6 years agoFix comments to reflect changes in eth service
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

6 years agoShow back button when launcher is disconnected from proxy service
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

6 years agoCheck for bpf support at NetworkStatsService start
Chenbo Feng [Sat, 19 May 2018 00:10:07 +0000 (17:10 -0700)]
Check for bpf support at NetworkStatsService start

The current implementation check for bpf map existance whenever a
NetworkStats request comes in. The check is not efficient and may
require additional permission for threads. So a member variable is added
to NetworkStatsService to store the bpf configuration status and is
initialized when NetworkStatsService start.

Test: -m CtsNetTestCases -t android.net.cts.TrafficStatsTest
      -m CtsUsageStatsTestCases -t android.app.usage.cts.NetworkUsageStatsTest
Bug: 79994577

Change-Id: I872ae18fb3e9631a4e6c4d773fefbba32e60a03b
Merged-In: I872ae18fb3e9631a4e6c4d773fefbba32e60a03b

6 years agoMerge "MediaCodec.CryptoInfo: expose subsample encryption pattern" into pi-dev
Robert Shih [Wed, 30 May 2018 18:13:45 +0000 (11:13 -0700)]
Merge "MediaCodec.CryptoInfo: expose subsample encryption pattern" into pi-dev
am: e3348a2593

Change-Id: I6eaaabc353304ee29aa677bf03d94384ddede51c

6 years agoMerge "MediaCodec.CryptoInfo: expose subsample encryption pattern" into pi-dev
Robert Shih [Wed, 30 May 2018 17:43:58 +0000 (17:43 +0000)]
Merge "MediaCodec.CryptoInfo: expose subsample encryption pattern" into pi-dev

6 years agoFixed an issue where group children had rounded corners
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

6 years agoHidden API bugbot update
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

6 years agoMerge changes from topic "rotation_config_update_fixes" into pi-dev
Andrii Kulian [Wed, 30 May 2018 15:29:00 +0000 (08:29 -0700)]
Merge changes from topic "rotation_config_update_fixes" into pi-dev
am: e81a27f4aa

Change-Id: I0cdb6e265d5b8c690e4115d39a86344b81dd956f

6 years agoUpdate visibility and config at the same time
Andrii Kulian [Wed, 30 May 2018 15:23:13 +0000 (08:23 -0700)]
Update visibility and config at the same time
am: f4479eef64

Change-Id: Ia16c263532bf8018b10f6dffdbc7b52d366babab

6 years agoDon't update configuration for invisible windows
Andrii Kulian [Wed, 30 May 2018 15:17:24 +0000 (08:17 -0700)]
Don't update configuration for invisible windows
am: 3dcdf64cf6

Change-Id: Ia64347043165aabfd663ed9d2cdefc7c42795957

6 years agoDon't let top activity to influence the orientation
Andrii Kulian [Wed, 30 May 2018 15:10:31 +0000 (08:10 -0700)]
Don't let top activity to influence the orientation
am: 0918d3674f

Change-Id: Ib75b8859f6bfbb034c1cd74f5f21cbae73da17c9