Commit Graph

80131 Commits

Author SHA1 Message Date
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
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
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
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
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
TreeHugger Robot
d2613de5c6 Merge "Update Slice.Builder#addInt javadoc." 2018-02-28 18:23:47 +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
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
TreeHugger Robot
bf6edacac9 Merge "New attribute textFontWeight for selecting weight in the font family" 2018-02-28 01:21:41 +00:00
Winson Chung
c1674270b5 1/ Fixing docked task animation when entering split screen from home
- Update the minimized state when docking an app from home to ensure that
  the animation of the docked task goes to the right bounds
- Temporarily block the invocation of the old recents activity when showing
  recents as a part of setting the windowing mode of another task (this is
  fine right now because quickstep only allows docking via the UI and not
  from the nav bar while another task is open).
- Add proto field so we can determine whether to check the recents activity
  from the split screen CTS tests
- Also fix issue with invisible docked task due to wrong bounds calculated
  due to launcher not notifying the divider of the first docked frame

Bug: 73118672
Test: go/wm-smoke
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerSplitScreenTests
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerTransitionSelectionTests

Change-Id: Ib1208501c311de009a9e706103134865c521cb63
2018-02-27 16:49:30 -08:00
Suprabh Shukla
4d64c093cd Added an api to query ForcedAppStandby state
Adding an api which apps can query to check if the user has put them
into forced app standby.
An app may want to do this to manage expectations for any jobs or alarms
it schedules. It can also be used as an indication that the user noticed
unreasonable battery consumption attributed to the app.

Test: atest android.app.cts.ActivityManagerTest#testIsBackgroundRestricted

Bug: 73664209
Change-Id: I870f6c852c500769d3bf99d5a9ba3bf4eb1b65f5
2018-02-27 16:48:25 -08:00
TreeHugger Robot
e6370474a7 Merge "Remove connected devices feature flag" 2018-02-28 00:42:28 +00:00
TreeHugger Robot
a65d4f8587 Merge "Add AOD to BatterySaverPolicy" 2018-02-28 00:41:32 +00:00
TreeHugger Robot
7e96e0a137 Merge "createAndManageUser should communicate reason of failure to caller" 2018-02-28 00:39:33 +00:00
Tony Mak
2016c0f4f6 Merge "Blue work profile badge - Blue is the new orange" 2018-02-28 00:31:44 +00:00
Alex Chau
f4f9fb6d3d Merge "API Review: android.os.UserManager.DISALLOW_USER_SWITCH" 2018-02-28 00:16:41 +00:00
Andrii Kulian
7cd6e3a0e9 Merge "Fix extra pause report from client" 2018-02-28 00:06:17 +00:00
TreeHugger Robot
3b8957714d Merge "Update the RTT features constant." 2018-02-28 00:02:59 +00:00
TreeHugger Robot
964f01b328 Merge "Fixed issues with legacy usages of notification people" 2018-02-27 23:16:56 +00:00
Jeff Sharkey
15739d3099 Merge "Add explicit method to clear clipboard." 2018-02-27 23:10:44 +00:00