Commit Graph

394331 Commits

Author SHA1 Message Date
Sudheer Shanka
db02ccda58 Add missing permission check in NPMS.setAppIdleWhitelist.
Bug: 120220390
Test: atest CtsHostsideNetworkTests
Change-Id: I9032c2f1ddd49029407fc37395ca8c02d4daca13
2018-11-29 11:53:58 -08:00
Fabian Kozynski
eb2f7b6b0b Merge "Correct context for TB on disabled tiles" 2018-11-29 18:58:19 +00:00
Garfield Tan
70f3f5b982 Merge "Add a flag to fix rotation to user rotation only." 2018-11-29 18:58:03 +00:00
Fabian Kozynski
d6abc33e0c Merge "Fix starting animator on detached view" 2018-11-29 18:57:59 +00:00
Xiangyu/Malcolm Chen
76dc026c0f Merge "Remove PARENT_SUB_ID since it's no longer needed." 2018-11-29 18:50:03 +00:00
Sudheer Shanka
617b103f4c Merge "Fix NetworkPolicyManagerServiceTest failures." 2018-11-29 18:49:09 +00:00
TreeHugger Robot
e2ff722c2e Merge "Add new zen rules to config" 2018-11-29 18:46:00 +00:00
Garfield Tan
4df6418f0b Merge "Add a test API to remove launch param records." 2018-11-29 18:06:54 +00:00
TreeHugger Robot
e656e67e14 Merge "Keep initial override configuration from display settings" 2018-11-29 17:28:39 +00:00
Jeff Sharkey
3bb0e86825 Merge "Shell commands for roles." 2018-11-29 17:21:54 +00:00
Jorim Jaggi
9a94afc6ca Merge "A brave new world for window insets (1/n)" 2018-11-29 17:14:15 +00:00
Ian Lake
fe46ecd6ad Merge "Add Activity.registerActivityLifecycleCallbacks()" 2018-11-29 16:59:35 +00:00
Anton Hansson
3a74e0dada [automerger skipped] Merge "Add gps_debug.conf module" am: 20e6f31923 am: e925463f3b
am: 1036e02328  -s ours

Change-Id: Ief2ddc7edccb04dbf5c2f1c2a0483187f741dcf9
2018-11-29 08:51:22 -08:00
Android Build Merger (Role)
4d20bac002 Merge changes from topic "am-ff8662cd3f52446f88a79550a03092e7"
* changes:
  Merge changes from topic "libcore-remaining-hiddenapi" am: 74c171b4da am: a51da7d3be am: da53a737ca
  Remove remaining libcore entries from light greylist am: 900ab8acce am: f21cdd75a3 am: a5c757634a
2018-11-29 16:35:53 +00:00
Paul Duffin
da1293aba9 Merge changes from topic "libcore-remaining-hiddenapi" am: 74c171b4da am: a51da7d3be
am: da53a737ca

Change-Id: I7e5ca251a6c15ea6f040897a8e5cf4c653f4ddd1
2018-11-29 08:34:17 -08:00
TreeHugger Robot
636be16176 Merge "Made View.setLeftTopRightBottom() public" 2018-11-29 16:32:22 +00:00
Fabian Kozynski
511e8b9e1a Fix starting animator on detached view
Test: atest passing
Fixes: 117511410
Change-Id: I037e6d43f7813c44a31d3c46b79cf6b79ce9b481
2018-11-29 11:30:14 -05:00
Paul Duffin
46f1f376e5 Remove remaining libcore entries from light greylist am: 900ab8acce am: f21cdd75a3
am: a5c757634a

Change-Id: Ib6cc355122c76c8deab725e12d386d488f372551
2018-11-29 08:27:46 -08:00
TreeHugger Robot
04eaec037e Merge "MediaPlayer2: rename Media2DataSource to DataSourceCallback" 2018-11-29 16:27:21 +00:00
Anton Hansson
1036e02328 Merge "Add gps_debug.conf module" am: 20e6f31923
am: e925463f3b

Change-Id: I82b7f7ab81806f6cff2f1410bf2d2417917710ed
2018-11-29 08:25:24 -08:00
Paul Duffin
da53a737ca Merge changes from topic "libcore-remaining-hiddenapi" am: 74c171b4da
am: a51da7d3be

Change-Id: Iedee617ae7384e7de76146060bd142e4b765a2be
2018-11-29 08:14:43 -08:00
Vishnu Nair
9a42260be4 Merge "WM: Removes setSize from buffer-less surfaces" 2018-11-29 16:14:19 +00:00
Anton Hansson
e925463f3b Merge "Add gps_debug.conf module"
am: 20e6f31923

Change-Id: I52bd7db400eb115474736c1b0c735739822192f1
2018-11-29 08:10:58 -08:00
Paul Duffin
a5c757634a Remove remaining libcore entries from light greylist am: 900ab8acce
am: f21cdd75a3

Change-Id: I9898848f42933defa296253ac6253ea430824748
2018-11-29 08:09:38 -08:00
Anton Hansson
20e6f31923 Merge "Add gps_debug.conf module" 2018-11-29 15:53:07 +00:00
Paul Duffin
a51da7d3be Merge changes from topic "libcore-remaining-hiddenapi"
am: 74c171b4da

Change-Id: Ib0671d241e276936c123bcb54db55eccc6919cbb
2018-11-29 07:46:22 -08:00
TreeHugger Robot
8ce7d1d992 Merge "Add onActionClicked in NotificationAssistantService" 2018-11-29 15:43:29 +00:00
Paul Duffin
f21cdd75a3 Remove remaining libcore entries from light greylist
am: 900ab8acce

Change-Id: I8af8046a33ffd3b5dee42638ed559be906617e1d
2018-11-29 07:39:55 -08:00
Michal Karpinski
f4f922b1a4 Merge "Mark AppDetailsActivity class @TestApi" 2018-11-29 15:31:28 +00:00
Michal Karpinski
7cf71fe643 Merge "Enable the limit app icon hiding feature" 2018-11-29 15:31:28 +00:00
Treehugger Robot
74c171b4da Merge changes from topic "libcore-remaining-hiddenapi"
* changes:
  Prevent hiddenapi entries being added for libcore related projects
  Remove remaining libcore entries from light greylist
2018-11-29 15:20:12 +00:00
TreeHugger Robot
8dac427f33 Merge "Add new intent to signal that device customization is ready" 2018-11-29 15:05:22 +00:00
Beverly
a0d07abfc2 Add new zen rules to config
Bug introduced in ag/5423274 mistakenly stopped new
rules from being added to the ZenModeConfig

Test: atest ZenModeHelperTest, manual
Change-Id: I7aeab92b2b6242a88dfc0294c771ff3ca1fe08db
Fixes: 119896084
2018-11-29 10:00:38 -05:00
Diego Perez
ed28ace06a Merge "p2p: fix javadoc tag for interface reference" 2018-11-29 14:58:53 +00:00
TreeHugger Robot
90c3f65b9b Merge "Post system_server toasts as system_server" 2018-11-29 14:56:23 +00:00
Fabian Kozynski
a0cbcf942c Correct context for TB on disabled tiles
Test: Manual
Change-Id: I739a71684fd0e38b611b60558025a64396bea372
Fixes: 120164679
2018-11-29 09:53:57 -05:00
Andrey Kulikov
6ee8379dc0 Made View.setLeftTopRightBottom() public
It will allow to call this method in AndroidX Transition without reflection.
ChangeBounds#BOTTOM_RIGHT_ONLY_PROPERTY,POSITION_PROPERTY are restricted now as well as developers can just use setLeftTopRightBottom method instead (it was used as a performance optimization in third-party transitions backport)

Bug: 117521189
Bug: 117521197
Bug: 117521053
Test: new test added for the method
Change-Id: I0a29bc8cf0b3357e49f6be14270993a21a6dfeee
2018-11-29 14:44:29 +00:00
TreeHugger Robot
ec7eeb5992 Merge "Restrict unsupported API usage to Scene#mEnterAction/mExitAction/setCurrentScene" 2018-11-29 14:42:48 +00:00
Annie Meng
8c0d41ac2d Merge "[Multi-user] Rename GlobalBackupManagerService -> BackupManagerService" 2018-11-29 13:36:57 +00:00
Yunfan Chen
d4ef301091 Fix WM Tests Failures
The test ATM mWindowManager was not correctly set. This should be able
to fix the tests failures currently on master.

Test: atest WmTests FrameworksServicesTests:com.android.server.wm
Test: presubmit
Change-Id: I657e76e5b5e2f41e3141b33cf619655807062f98
2018-11-29 13:13:59 +00:00
TreeHugger Robot
afd7c69060 Merge "Fix comment on VisibilityLocationProvider" 2018-11-29 13:04:33 +00:00
Jorim Jaggi
f96c90ac6c A brave new world for window insets (1/n)
This CL starts a journey to discover a brave new inset world. The
path to get us there may be rocky, but it's going to be rocky.

One of the main pledges of the new API is that an app can retrieve
what is causing a certain inset easily. For that, we need to
dispatch metadata who is causing what inset, such that we can query
it from the client side.

Furthermore, the client will be able to manipulate insets directly,
but also listen to animation changes. We don't want to go through
window manager for that, thus, there needs to be a local codepath
from (global window state -> WindowInsets).

Because we have these two requirements, we dispatch the relevant
global window state for insets, represented by InsetsState, and
dispatch it to the client. On the client side we take the frame
and the InsetsState and generate WindowInsets out of it.

Bug: 118118435
Test: InsetsSourceTest, InsetsStateTest, InsetsSourceProviderTest,
InsetsStateControllerTest
Change-Id: I2bfe9dda376512916261823fc2ee35cbedeb6731
2018-11-29 13:37:43 +01:00
Tony Mak
7d4b3a5f19 Add onActionClicked in NotificationAssistantService
This is added to report clicks on actions buttons to NAS.

BUG: 119010281
Test: atest SystemUITests
Test: atest RemoteViewsTest
Test: atest NotificationManagerServiceTest
Test: Manual. Tapped on the action (both normal and contextual) and
      observed the log.

Change-Id: I381994737d8c3185d3fabf9b6c481fd01a89a634
2018-11-29 11:43:53 +00:00
Andrey Kulikov
b37dcbc2ab Restrict unsupported API usage to Scene#mEnterAction/mExitAction/setCurrentScene
They were used via reflection in older versions of support transitions.
Starting from 26.0.0 it is not in use and there is no need to allow this usages.
Developers should update to the newer version of support libraries/androidx

Bug: 117521462
Bug: 117521646
Test: none
Change-Id: Ia1d5516a58c0deec68091d719065621fc588591b
2018-11-29 11:18:19 +00:00
Jimmy Chen
7dbcb4ea9c p2p: fix javadoc tag for interface reference
Bug: 64695709
Test: build
Change-Id: I74a48a9deb42f0a38133e6da0339981ab1824795
2018-11-29 18:43:09 +08:00
TreeHugger Robot
24a579db26 Merge "Only register debug hooks when requested" 2018-11-29 10:28:35 +00:00
Anton Hansson
b27f0fa222 Add gps_debug.conf module
Copy the gps_debug.conf from the device-specific folders to
a place closer to the code that uses it.

Bug: 112879252
Bug: 120066492
Test: make
Change-Id: I937e699cb9e891c511ca7b9f4740d45e19668c54
Merged-In: I937e699cb9e891c511ca7b9f4740d45e19668c54
Exempt-From-Owner-Approval: cp from internal
(cherry picked from commit 11905c6b2c)
2018-11-29 09:48:44 +00:00
Paul Duffin
900ab8acce Remove remaining libcore entries from light greylist
Removes the libcore entries that have been added since the previous
entries were removed. The entries are now specified using
UnsupportedAppUsage annotations.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Test: see above
Bug: 117818301
Change-Id: Ie2ab636f61697664eced59969d12aa46103d96a1
2018-11-29 09:41:56 +00:00
Paul Duffin
00537c15e8 Prevent hiddenapi entries being added for libcore related projects
The libcore related projects (see below) have been (mostly) switched
over to use UnsupportedAppUsage annotations, This change will prevent
entries for those projects being added to a config/hiddenapi-* file.

* libcore
* external/bouncycastle
* external/conscrypt
* external/icu
* external/okhttp
* external/libphonenumber - still has a couple of entries in
      config/hiddenapi-light-greylist.txt due to limitations in
      UnsupportedAppUsage/class2greylist.

Tested by attempting to upload the file with entries for libcore
projects and without those entries and checking that the behavior
is expected.

Test: see above
Bug: 117818301
Change-Id: I67a30b307e12e842b28cfb2160fab0029868fa06
2018-11-29 09:41:56 +00:00
Lucas Lin
8456ec9ec1 Merge "Simpify logic in updateTcpBufferSizes" am: 08d5bca515 am: 715bac98d5
am: 704437eac4

Change-Id: Iec295ec4149e7a545d7e345b00e50dbedc76a7c9
2018-11-29 01:25:06 -08:00