Commit Graph

465262 Commits

Author SHA1 Message Date
Steven Moreland
0f6153247a Merge "Use libbinderthreadstateutils." 2020-02-06 16:37:30 +00:00
Automerger Merge Worker
0caf9e48f6 [automerger skipped] Merge "Fire ConnectivityDiagnostics callbacks on Connectivity reported." am: dd237cfd2d am: db42dddf96 am: d36a0b81d4 -s ours
am skip reason: Change-Id Icc6bcf7a2411133d8ecd7477bc351dad9333f24f with SHA-1 1e5ab9bb5b is in history

Change-Id: If371a1a419404433930dbc732d4c84037b6fa0d5
2020-02-06 16:37:18 +00:00
Automerger Merge Worker
66fa4a6194 [automerger skipped] Merge "Implement INetworkMonitorCallbacks#notifyDataStallSuspected." am: 960dd65d49 am: 422c87252d am: 6c50e21d83 -s ours
am skip reason: Change-Id I70320bdda9855dced31e08e6a0b25329fb5cb535 with SHA-1 4f49f140c5 is in history

Change-Id: I2f2eef92341a4341a7fb8a20c32aec3c11e2d442
2020-02-06 16:37:01 +00:00
Alan Stokes
fc0e80aee6 Merge "Fix ClassCastException from toArray()." 2020-02-06 16:35:30 +00:00
TreeHugger Robot
a16c37811d Merge "Control UI - Mop, vacuum, unknown" 2020-02-06 16:30:08 +00:00
Sudheer Shanka
36faba3e7b Merge changes from topic "blob-perf-compute-digest"
* changes:
  Add perf test to measure duration of blob store digest computation.
  Add verbose logging that can be eanbled to debug issues.
  Schedule a maintenance job to clean up stale jobs.
2020-02-06 16:22:52 +00:00
Automerger Merge Worker
d36a0b81d4 Merge "Fire ConnectivityDiagnostics callbacks on Connectivity reported." am: dd237cfd2d am: db42dddf96
Change-Id: I44d75efacebae77914eda6da7efaaf11676e71fc
2020-02-06 16:22:50 +00:00
Automerger Merge Worker
6c50e21d83 Merge "Implement INetworkMonitorCallbacks#notifyDataStallSuspected." am: 960dd65d49 am: 422c87252d
Change-Id: Iebcb87445b9bb7b36052c62160b4069b76432a18
2020-02-06 16:21:44 +00:00
Automerger Merge Worker
db42dddf96 Merge "Fire ConnectivityDiagnostics callbacks on Connectivity reported." am: dd237cfd2d
Change-Id: I60d418afb145238981c17cc9a29ff57dc42c1ff0
2020-02-06 16:10:05 +00:00
Automerger Merge Worker
422c87252d Merge "Implement INetworkMonitorCallbacks#notifyDataStallSuspected." am: 960dd65d49
Change-Id: I20aab2e77056df67df5bf9e9d6bd1888cf17a558
2020-02-06 16:08:33 +00:00
Cody Kesting
dd237cfd2d Merge "Fire ConnectivityDiagnostics callbacks on Connectivity reported." 2020-02-06 15:54:06 +00:00
Cody Kesting
960dd65d49 Merge "Implement INetworkMonitorCallbacks#notifyDataStallSuspected." 2020-02-06 15:47:26 +00:00
Alex Buynytskyy
6521c74493 Merge "APEX and system apps can't be installed in a streaming fashion." 2020-02-06 15:38:18 +00:00
Alex Buynytskyy
030536c8b8 Merge "Set incremental apk directories" 2020-02-06 15:38:15 +00:00
Alex Buynytskyy
59c6c38408 Merge "Supplying DataLoaderType in ACTION_PACKAGE_ADDED notification." 2020-02-06 15:38:12 +00:00
PETER LIANG
8032bcb3d2 Merge "Add clickable attribute into list item view." 2020-02-06 15:25:04 +00:00
TreeHugger Robot
fee4c32a1c Merge "Minor controls fixes" 2020-02-06 15:22:39 +00:00
TreeHugger Robot
75e65fa6bc Merge "Add the tabs height when determining the height of the share sheet" 2020-02-06 15:22:21 +00:00
TreeHugger Robot
e7566acd18 Merge "Fix broken tests caused by the fix on autohashing certificates (that results in double hashing)." 2020-02-06 15:13:00 +00:00
Beth Thibodeau
a2475725f2 Merge "Ensure chip view updates on main thread" 2020-02-06 15:11:53 +00:00
Automerger Merge Worker
29097108e3 Merge "Add permissions for using PlatformCompat methods" am: 7202e904c9 am: 69ca2fcfa0 am: 9e28d2118f
Change-Id: Id9b74f1f74f3e4efaaa3e1657a64b7f8d229cc01
2020-02-06 14:18:16 +00:00
Automerger Merge Worker
9e28d2118f Merge "Add permissions for using PlatformCompat methods" am: 7202e904c9 am: 69ca2fcfa0
Change-Id: If2d2e1010e39dcdefb8da8a9ef1fd238eed407dd
2020-02-06 14:08:44 +00:00
Automerger Merge Worker
69ca2fcfa0 Merge "Add permissions for using PlatformCompat methods" am: 7202e904c9
Change-Id: Iffdf7ffc1265fce941eb4cd519031da4575ac53a
2020-02-06 13:51:30 +00:00
Andrei-Valentin Onea
7202e904c9 Merge "Add permissions for using PlatformCompat methods" 2020-02-06 13:40:34 +00:00
Antoan Angelov
a508196fdd Merge "Fix broken intent resolver and share sheet tests." 2020-02-06 13:28:23 +00:00
Omer Nebil Yaveroglu
00110ed732 Fix broken tests caused by the fix on autohashing certificates (that
results in double hashing).

Bug: 148955753
Test: atest frameworks/base/core/tests/coretests/src/android/content/integrity
Change-Id: I77cbba8a4f3edb7cfeb844823c260589ffda194e
2020-02-06 13:26:07 +00:00
Matt Pietal
fee8c47919 Control UI - Mop, vacuum, unknown
Add a better unknown icon. Map mop + vacuum to the vacuum icon for now

Bug: 148207527
Test: atest SystemUITests
Change-Id: Id7872f7af8708bb8cfcdba5fb6e7d2d677cb08cf
2020-02-06 07:43:18 -05:00
Andrei Onea
26559bcb40 Add permissions for using PlatformCompat methods
- READ_COMPAT_CHANGE_CONFIG is required to read the current state of the
config
- LOG_COMPAT_CHANGE is required to log the status of a compat change for
a package and/or uid to statsd
- OVERRIDE_COMPAT_CHANGE_CONFIG is required to add overrides

The permissions must be signature|privileged, as there are already
examples of code which this would not be sufficient (e.g.
MediaProvider).

This is a re-landing of https://r.android.com/1209240, which was
reverted due to http://b/142942524. The actual fix was done in
http://ag/10234812.


Bug: 142650523
Test: atest PlatformCompatTest
Test: atest PlatformCompatPermissionsTest
Change-Id: Ie9429477c9a1725b5cb67756787bf742038e5d2b
2020-02-06 12:22:42 +00:00
TreeHugger Robot
a7db3c8e79 Merge "Add a flag to allow system health experiment for the behavior change ... of getDefaultTextClassifierImplementation()" 2020-02-06 11:50:42 +00:00
Alan Stokes
ee59d5462c Fix ClassCastException from toArray().
toArray() returns Object[], which can't be cast to Foo[]. Switch to
toArray(Foo[]) instead.

Fixed one instance which caused test breakage, and then all the others
I could find.

Also make sure PackageInstallerSessionTest runs in presubmit. It's a
cheap unit test, and tests are more useful when they run. (This is
what I was trying to do when I discovered the test was currently
failing.)

Fixes: 148858333
Bug: 137951074
Test: atest PackageInstallerSessionTest
Change-Id: Ie0142d46f1a34cf2072aaf81b3a5f8aa76d0c1f2
2020-02-06 11:48:12 +00:00
TreeHugger Robot
84f7489362 Merge "Controls - Handle action responses" 2020-02-06 11:25:36 +00:00
Ben Murdoch
c73377dedb Merge "Add config resource to control simple user switcher state." 2020-02-06 11:17:57 +00:00
Peter_Liang
a41a35d825 Add clickable attribute into list item view.
Goal: Announces the "disabled" status when using accessibility Talkback and clicking the disabled item.

Bug: 148834576
Test: manual test
Change-Id: Icb7c062af527652c3f6bd79d61848f86d591c3b5
2020-02-06 11:04:23 +00:00
Narayan Kamath
85e2378965 Merge "Reland: Rework platform version to hide codenames." 2020-02-06 10:51:15 +00:00
Dianne Hackborn
db0074542c Reland: Rework platform version to hide codenames.
The public platform version no longer can be a codename, it is
always the most recently released platform.  A new build property
and API provides either the offical version or the current codename
as appropriate.  This will avoid breaking apps that look at the
platform version while development is under a codename.

Bug:  143175463
Test: manual
Exempt-From-Owner-Approval: Relanding change with zero delta in this project.
Change-Id: I4407df40151d884293fa9d301a401b65bedb5527
2020-02-06 10:50:43 +00:00
TreeHugger Robot
af5dfc2f51 Merge "Create separated tasks for different apps from startActivities" 2020-02-06 10:16:25 +00:00
Riddle Hsu
a7e693931f Create separated tasks for different apps from startActivities
Assume there are 2 applications A, B with different uids.
There are 4 activities A1, A2, B1, B2 with default task
affinity and launch mode.

After A1 called startActivities(B1, A2, B2):
 Original   : Task(A1, B1, A2, B2)
 This Change: Task(A1, B1), Task(A2, B2)
In other words, the source caller cannot launch its activity
above the activity of other application in the same task, and
it can still launch activity of other application in its task.

Bug: 145669109
Test: atest StartActivityTests# \
      testStartActivitiesWithDiffUidNotInSameTask
Change-Id: I97bd875146a52f62b8fe82235487ccefb2955e8e
2020-02-06 10:07:32 +00:00
TreeHugger Robot
0a3a6c179c Merge "Link libstatssocket as a shared library" 2020-02-06 09:40:14 +00:00
Hung-ying Tyan
2f6b69c5e7 Merge "Resolve media directories to the real paths" 2020-02-06 09:32:21 +00:00
Automerger Merge Worker
40b1614a8c Merge "Fix NPE that netd callback call null TetheringConfiguration object" am: 4770588bc5 am: 1e360dac26 am: 49a7487b3c
Change-Id: Ic43120a6538468eee803682cccf3d20cd16ef5ea
2020-02-06 09:25:35 +00:00
Automerger Merge Worker
659a589647 [automerger skipped] Merge "Use Context.NETWORK_POLICY_SERVICE to get network policy service" am: 0daef81444 am: 6c76e04450 am: 75f4c6c49a -s ours
am skip reason: Change-Id I41bc1cce08f81e2d822250f2d620bff7afe4329b with SHA-1 7e96360554 is in history

Change-Id: I89b2c99f4bfe71e01b97d6d082da6d9fad3f1194
2020-02-06 09:25:15 +00:00
Automerger Merge Worker
3e04f5af27 Merge "Avoid a @Nullable Boolean" am: 81a42af40d am: fd9c242128 am: 0db1f949da
Change-Id: Iae09c0c6e0d0b8cc9018b811c658d7d73e8a729b
2020-02-06 09:24:58 +00:00
TreeHugger Robot
d73366e397 Merge changes I4a53a0cc,I053d0686
* changes:
  Add FlacExtractor to MediaParser
  Fix MediaParser sniffing
2020-02-06 09:19:15 +00:00
TreeHugger Robot
b65453fde0 Merge "Passing code path when moving apps across storages" 2020-02-06 09:19:01 +00:00
TreeHugger Robot
99e648eafe Merge "Add document for ALLOWED_NETWORK_TYPES" 2020-02-06 09:08:13 +00:00
Automerger Merge Worker
49a7487b3c Merge "Fix NPE that netd callback call null TetheringConfiguration object" am: 4770588bc5 am: 1e360dac26
Change-Id: If05cbd147cfa8215d11f7646c52fa0c8f1276070
2020-02-06 09:07:16 +00:00
Automerger Merge Worker
75f4c6c49a Merge "Use Context.NETWORK_POLICY_SERVICE to get network policy service" am: 0daef81444 am: 6c76e04450
Change-Id: I6dd16740abbdfe46f1fe0fa34629a0c27f5cad32
2020-02-06 09:07:05 +00:00
Automerger Merge Worker
1e360dac26 Merge "Fix NPE that netd callback call null TetheringConfiguration object" am: 4770588bc5
Change-Id: I5f6f86d01cf520759ab1be05867380d770fbf945
2020-02-06 09:05:51 +00:00
Automerger Merge Worker
0db1f949da Merge "Avoid a @Nullable Boolean" am: 81a42af40d am: fd9c242128
Change-Id: Id445c7151b8828df42e362eb2391357a18d06dee
2020-02-06 09:05:41 +00:00
Mark Chien
4770588bc5 Merge "Fix NPE that netd callback call null TetheringConfiguration object" 2020-02-06 09:03:39 +00:00