Commit Graph

80143 Commits

Author SHA1 Message Date
TreeHugger Robot
ef71a4cc6e Merge "Rename dumpsys protos to make platform proto names consistent." 2018-03-01 00:54:51 +00:00
Joe Maples
6997ad6926 Merge "pm: Fix typo in error" am: a12e18bcd1 am: a79fef132b
am: 1ec4c3b3b1

Change-Id: I9d1b48c0852bc75108ab72cd4c58c08a43b62a8b
2018-03-01 00:09:25 +00:00
Joe Maples
1ec4c3b3b1 Merge "pm: Fix typo in error" am: a12e18bcd1
am: a79fef132b

Change-Id: I45fa701a8f9e727e1a072f4f6dd773bba0de01aa
2018-03-01 00:00:13 +00:00
Joe Maples
a79fef132b Merge "pm: Fix typo in error"
am: a12e18bcd1

Change-Id: I924eef635de153a0277da49c804f2c7dc1c97a4d
2018-02-28 23:49:49 +00:00
TreeHugger Robot
4a62ce9da7 Merge "Restore AutofillId when view is restored from a bundle." 2018-02-28 23:41:45 +00:00
TreeHugger Robot
19130fea91 Merge "More work on issue #73301635: Ability to extract device configuration" 2018-02-28 23:19:13 +00:00
TreeHugger Robot
3cddd037f4 Merge "WebView: relax URLUtil#isFileUrl()" 2018-02-28 23:11:37 +00:00
TreeHugger Robot
23bb050575 Merge "Associate TCconstants with the TCM instead of TCImpl" 2018-02-28 22:34:58 +00:00
TreeHugger Robot
379374b1d3 Merge "Added an api to query ForcedAppStandby state" 2018-02-28 22:28:30 +00:00
TreeHugger Robot
d5a2e636c0 Merge "Tag foreground notis that use certain services" 2018-02-28 22:09:34 +00:00
TreeHugger Robot
501427818a Merge "Add component ordering" 2018-02-28 21:54:03 +00:00
Holly Jiuyu Sun
a64db1336d Merge "Mark EUICC_PROVISIONED as @SystemApi." am: 4b5680b6fa
am: 41fa5ff101

Change-Id: Ie737a298f1ab342d571e150be452a9590e623052
2018-02-28 20:38:13 +00:00
Andrii Kulian
58b0948b1f Merge "Use post-execution state for lifecycle callback sequences" 2018-02-28 20:29:23 +00:00
Jeff Sharkey
e0d2c6e7ac Merge "More robust @RequiresPermission handling." 2018-02-28 20:29:01 +00:00
Holly Jiuyu Sun
41fa5ff101 Merge "Mark EUICC_PROVISIONED as @SystemApi."
am: 4b5680b6fa

Change-Id: I7e3542edd0d092d6b0a7bc10b80b0565dfefda7e
2018-02-28 20:24:08 +00:00
Dianne Hackborn
337e01ac10 More work on issue #73301635: Ability to extract device configuration
Now include Gl extensions (thanks to whoever wrote the code
I copied!).

Tweak the protos a bit to include missing info and correct
some things.

Add some new test APIs that are needed for CTS.

Bug: 73301635
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerGetConfigTests
Change-Id: Ie3f8173d217468246e8b6c7f45b7cbfcb352d60f
2018-02-28 11:29:20 -08:00
Felipe Leme
5116bfa09f Restore AutofillId when view is restored from a bundle.
Test: atest \
      CtsAutoFillServiceTestCases:android.autofillservice.cts.MultiWindowLoginActivityTest \
      CtsAutoFillServiceTestCases:android.autofillservice.cts.DuplicateIdActivityTest \
      CtsAutoFillServiceTestCases:android.autofillservice.cts.SessionLifecycleTest
Test: atest CtsAutoFillServiceTestCases # Although it has unrelated failures

Fixes: 73950415
Fixes: 73963360

Change-Id: I60e882d856b5623c3ee4de9ed8dae8dad8dc0f65
2018-02-28 11:19:07 -08:00
Julia Reynolds
fc64001126 Tag foreground notis that use certain services
- Draw over other apps
- Camera
- Microphone

The icons are not yet clickable, and the system 'drawing over
other apps' notification still appears even when the app's
notification is tagged.

Test: runtest systemui
Bug: 64085448
Change-Id: Ib3b0cdd9adced82f562f256cb81af80dc395440d
2018-02-28 18:48:58 +00:00
Joe Maples
39bb9e8905 pm: Fix typo in error
instnat -> instant

Change-Id: Ie2f06840575fc266e3510252635ad17be65945b8
Signed-off-by: Joe Maples <joe@frap129.org>
2018-02-28 18:42:08 +00:00
Robert Sesek
ffc4dd720d Merge "Delay starting the webview_zygote until first use." am: 6d9d717ab7 am: 99440a0ab8
am: 92697692b3

Change-Id: I4f810427f083d9b7874df7d90fc00a33967d9323
2018-02-28 18:32:39 +00:00
Yi Jin
2b30f32212 Rename dumpsys protos to make platform proto names consistent.
All the other dumpsys use XXXServiceDumpProto or XXXDumpProto other
than ones modified here.

The name convention is if the proto describes the top level output of dumpsys,
it should contain `Dump`. This makes the consumer easy to understand the proto
is from dumpsys of a certain service, not data structure of
the service, e.g. WindowManagerServiceProto ->
WindowManagerServiceDumpProto.

Another change here is ActivityManagerService has 4 sub dump protos, so
the top level for each one should be a DumpProto instead of its internal
data struture, e.g. ActivityStackSupervisorProto will just be a field of
AmServiceDumpActivitiesProto, which `dumpsys --proto activities` used to
output ActivityStackSupervisorProto directly.

Bug: 72474563
Test: manual and CTS tests
Change-Id: I1e1ac032d27591083bb5b1b19aac82804215472a
2018-02-28 10:31:54 -08:00
TreeHugger Robot
d2613de5c6 Merge "Update Slice.Builder#addInt javadoc." 2018-02-28 18:23:47 +00:00
Holly Jiuyu Sun
4b5680b6fa Merge "Mark EUICC_PROVISIONED as @SystemApi." 2018-02-28 18:18:04 +00:00
Robert Sesek
92697692b3 Merge "Delay starting the webview_zygote until first use." am: 6d9d717ab7
am: 99440a0ab8

Change-Id: Icf9297f730bc4fa779d989eccc05e436c5d463b6
2018-02-28 18:16:43 +00:00
Robert Sesek
99440a0ab8 Merge "Delay starting the webview_zygote until first use."
am: 6d9d717ab7

Change-Id: I7a2c485fcf04a5728081f99610435a970dc4bb1b
2018-02-28 18:07:09 +00:00
Todd Kennedy
6d418b6293 Add component ordering
When multiple activities match the same Intent, allow app developers
to reorder matched results within their own application. This is not
a replacement for priority which reorders matched results between
applications.

Change-Id: I12ee987622e12e40d6b5b48f616cc362d01381de
Fixes: 64582537
Test: atest -it CtsAppSecurityHostTestCases:PackageResolutionHostTest
2018-02-28 09:16:07 -08:00
TreeHugger Robot
5ef4247352 Merge "Revert "Update A11y action serialization to use longs"" 2018-02-28 17:08:47 +00:00
yuemingw
edfd36aba0 Better Override APN javadoc.
Add explanation for the possible failure reasons of
addOverrideApn, updateOverrideApn and removeOverrideApn.

Bug: 73750993
Test: test not required

Change-Id: Ic3493043fe6e5fedea006118bfc8dab7219d03ab
2018-02-28 16:42:58 +00:00
TreeHugger Robot
2f3adb4d27 Merge "Revert "Elevate remote/recents animation priority"" 2018-02-28 16:25:31 +00:00
Treehugger Robot
6d9d717ab7 Merge "Delay starting the webview_zygote until first use." 2018-02-28 16:02:58 +00:00
Artem Iglikov
5e97621c97 Revert "Update A11y action serialization to use longs"
This reverts commit 54549163b0.

Reason for revert: breaks tests, b/73997494

Bug: 73997494
Change-Id: I122c260898277d876c019554cb92351ac13a9eb0
2018-02-28 15:07:31 +00:00
Abodunrinwa Toki
db8fc314d2 Associate TCconstants with the TCM instead of TCImpl
Also updates flags list.

Bug: 72946306
Bug: 72946123
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationConstantsTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Change-Id: I8af9d3d1da01836fbadcbbf6ce7c1c0db7456a05
2018-02-28 14:35:49 +00:00
Jorim Jaggi
a8b48ab733 Revert "Elevate remote/recents animation priority"
This reverts commit 574aea0f1b.

Reason for revert: Crashes sometimes (chaselist issue)

Change-Id: I1440ef7a002e85c3e020d424f13073ca2516dd9c
Fixes: 73991490
2018-02-28 14:03:08 +00:00
TreeHugger Robot
5240541e01 Merge "Remove @removed from APIs still in use" 2018-02-28 13:43:36 +00:00
TreeHugger Robot
58c83fa7c8 Merge "Unhide VideoView2 APIs" 2018-02-28 10:43:38 +00:00
Robert Berry
5af199c56e Remove @removed from APIs still in use
I completely misunderstood this annotation.

Bug: 73962883
Test: ran unit tests
Change-Id: Id3e3863fc6fd1e0614a3c75d25cd35239667eaf0
2018-02-28 10:31:43 +00:00
TreeHugger Robot
dc66a1d891 Merge "Unhide MediaControlView2 APIs" 2018-02-28 10:28:25 +00:00
Michal Karpinski
961f409d37 Merge "Allow restoring of apps that rotated key" 2018-02-28 10:08:14 +00:00
Insun Kang
b785faa1d7 Unhide VideoView2 APIs
Test: make update-api
Bug: 64293205
Change-Id: Ie57e3ea78dd623fc095c1ad5f270f3b97320f155
2018-02-28 08:45:37 +00:00
Pavel Maltsev
b1a83edb5c Merge "Add OEM_PAID network capability" am: 4c00edd361 am: 7b87c2050c
am: 3b7de55419

Change-Id: Id64d288764dc5a556b60f5e3b866b40792647ac0
2018-02-28 08:42:24 +00:00
Pavel Maltsev
3b7de55419 Merge "Add OEM_PAID network capability" am: 4c00edd361
am: 7b87c2050c

Change-Id: Ie0377fea66f784c910bd0a06f87543cc5cf82c84
2018-02-28 08:28:25 +00:00
Pavel Maltsev
7b87c2050c Merge "Add OEM_PAID network capability"
am: 4c00edd361

Change-Id: I2fb8825bc1038783ef45907846b52192b6fe5d18
2018-02-28 08:14:48 +00:00
Andrii Kulian
9956d89cef Use post-execution state for lifecycle callback sequences
onActivityResult callback should always be executed before onResume.
If an activity is in the process of starting or creation, it can be
executed after onStart. If an activity was already resumed, then we
should pause it first, execute onActivityResult, then resume again.
So there are two valid pre-execute states - onStart and onPause.

For cases like the one described above this CL uses post-execution
state to identify valid pre-execute states and will try to use the
one that is closer to the current activity state during execution.

It also moves activity result and new intent callbacks into the same
transaction as the resumed state request, so that all changes can be
handled appropriately on the client side.

Bug: 72547861
Bug: 73348613
Test: TransactionExecutorTests
Test: ActivityLifecycleTests
Change-Id: I0af457d305c73a640040b8b7aee46dbbdfa6038f
2018-02-28 07:36:47 +00:00
Maurice Lam
805ea225b9 Merge "Revert "Small fixes to StatsManager API."" 2018-02-28 07:20:36 +00:00
Treehugger Robot
4c00edd361 Merge "Add OEM_PAID network capability" 2018-02-28 07:06:00 +00:00
Jin Seok Park
a64d4b98b5 Unhide MediaControlView2 APIs
Test: make update-api
Bug: 64293205
Change-Id: Ia202a7fc1f8733cc2d95d13e7126916affe4f52e
2018-02-28 05:06:10 +00:00
Holly Jiuyu Sun
daeb505e2e Mark EUICC_PROVISIONED as @SystemApi.
Bug: 35851809
Test: test on phone
Merged-In: I1627aeaf6846e889767fb4223c46fa278a751b23
Change-Id: I1627aeaf6846e889767fb4223c46fa278a751b23
2018-02-27 21:00:04 -08:00
Nate Fischer
d674b09af2 WebView: relax URLUtil#isFileUrl()
This relaxes URLUtil#isFileUrl() to accept a prefix of "file:" instead
of requiring "file://". Chromium treats "file:path" as if the user had
typed "file:///path". An app may incorrectly believe it's safe to load
anything that URLUtil#isFileUrl() rejects, intending to refuse all URLs
which point to the file system.

Bug: 72848579
Test: cts-tradefed run cts -m CtsWebkitTestCases -t android.webkit.cts.URLUtilTest#testIsFileUrl
Change-Id: I7b3bba961523d4bdda6169a0f50fe7f1d1579e38
2018-02-27 20:59:29 -08:00
Maurice Lam
c0df1f2354 Revert "Small fixes to StatsManager API."
This reverts commit 16dcd33abd.

Reason for revert: b/73975175

Bug: 73975175
Change-Id: I5bcccde100900b1370c2e43b8bcfc7d1697e5c72
2018-02-28 04:17:25 +00:00
Winson Chung
a29de13cee Merge "1/ Fixing docked task animation when entering split screen from home" 2018-02-28 03:30:31 +00:00