Commit Graph

12891 Commits

Author SHA1 Message Date
TreeHugger Robot
d2613de5c6 Merge "Update Slice.Builder#addInt javadoc." 2018-02-28 18:23: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
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
Maurice Lam
805ea225b9 Merge "Revert "Small fixes to StatsManager API."" 2018-02-28 07:20:36 +00: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
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
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
Andrii Kulian
7cd6e3a0e9 Merge "Fix extra pause report from client" 2018-02-28 00:06:17 +00:00
TreeHugger Robot
ecd5c4a8f7 Merge "Small fixes to StatsManager API." 2018-02-27 22:39:15 +00:00
Andrii Kulian
a6176e3c1f Fix extra pause report from client
Activity pause is now reported from PauseActivityItem.

Fixes: 73020245
Test: Pause activity, check logs.
Change-Id: Iabfb1b1b51dec259f1928607ef7c321b54a93286
2018-02-27 22:23:29 +00:00
Annie Meng
0b0ebb616d Merge "Move transport constant to BackupTransport API" 2018-02-27 17:39:58 +00:00
Christine Franks
fc7c749817 Merge "Add DevicePolicyManager#setDefaultSmsApplication" 2018-02-27 17:13:05 +00:00
Annie Meng
1b9877ab44 Move transport constant to BackupTransport API
Previously, the transport registration extra was a private
constant. Since GMSCore depends on this value being passed, moving
it to a public API prevents having to define it twice in
framework and GMSCore, and ensures compatibility between the two.

TODO: Update GMSCore with this constant once this drops
into GMSCore.

Bug: 72730566
Test: 1) m -j ROBOTEST_FILTER=TransportManagerTest RunFrameworksServicesRoboTests
2) m -j ROBOTEST_FILTER=TransportClientManagerTest RunFrameworksServicesRoboTests

Change-Id: I8f7a2ca0275047a5d3cc1a530cd86499d0170f2f
2018-02-27 15:17:56 +00:00
TreeHugger Robot
d3d139ab1e Merge "Elevate remote/recents animation priority" 2018-02-27 13:49:27 +00:00
Alex Chau
89386bacc6 createAndManageUser should communicate reason of failure to caller
Bug: 71844474
Test: cts-tradefed run singleCommand cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_LowStorage
Test: cts-tradefed run singleCommand cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_MaxUsers
Change-Id: I3c069ba86822178fa3f51f1d31cd4792883151cc
2018-02-27 09:12:45 +00:00
Christine Franks
26449eda7a Add DevicePolicyManager#setDefaultSmsApplication
Bug: 73788187
Test: make -j100
Change-Id: I4f379743b9d12109bb8ecae109591abb922463ec
2018-02-26 22:58:05 +00:00
tiansiming [田思明]
30bfbfa3e3 Merge "Let sendShowMessage called from hide to show" am: e7d04d728c am: f91fddddd1
am: ef2ac4066b

Change-Id: Ic2dc363d4a26b9c3a10e0b7d1072765501eec383
2018-02-24 03:04:26 +00:00
tiansiming [田思明]
ef2ac4066b Merge "Let sendShowMessage called from hide to show" am: e7d04d728c
am: f91fddddd1

Change-Id: I8aa277a5448b999496b79f6b5721738d3b5f9af7
2018-02-24 02:56:15 +00:00
tiansiming [田思明]
f91fddddd1 Merge "Let sendShowMessage called from hide to show"
am: e7d04d728c

Change-Id: If406d79d0489a9c61322c0937fce2c9a9a5c4dc1
2018-02-24 02:43:03 +00:00
TreeHugger Robot
4e056c8bfa Merge "Explicitly do not support SEARCH_SERVICE on UI_MODE_TYPE_WATCH" 2018-02-24 02:13:27 +00:00
Treehugger Robot
e7d04d728c Merge "Let sendShowMessage called from hide to show" 2018-02-24 01:27:13 +00:00
TreeHugger Robot
b9cacbea94 Merge "Improve reporting of bucketing reason" 2018-02-24 00:24:03 +00:00
Erik Wolsheimer
ac5cecd85d Explicitly do not support SEARCH_SERVICE on UI_MODE_TYPE_WATCH
Bug: 69950606
Change-Id: Ia195e88d8652cd7875d0ce03875034698367001c
(cherry picked from commit 980ba14b921932e85cdc0447af0398778a1c0d64)
2018-02-23 23:45:18 +00:00
TreeHugger Robot
aa360efee0 Merge changes from topic "wipedata"
* changes:
  Rename WipeDataWithReason API to wipeData.
  Block adb from changing certain settings value when corresponding user restriction is on.
2018-02-23 22:54:44 +00:00
TreeHugger Robot
f46aade7d8 Merge "Make mapIntentToUri understand meta-data hookup" 2018-02-23 20:25:56 +00:00
Amith Yamasani
119be9a5fc Improve reporting of bucketing reason
Keep track of main and sub reason for bucket change

Bug: 73178753
Test: atest AppIdleHistoryTests
Change-Id: I4936281ac06046bb5ffed9f3306efa24c7fd47ab
2018-02-23 10:45:39 -08:00
TreeHugger Robot
6dcc9de2fe Merge "New APIs to let app developers manage autofill semantics when reusing views." 2018-02-23 18:26:36 +00:00
Tony Mak
e21a1d0893 Blue work profile badge - Blue is the new orange
1. We are tinting the case rather than the circle
2. Use blue instead of orange

Test: Checked the following places
1. Notification badge
2. Launcher icon
3. Widget preview
4. Share sheet
5. Recents
6. Settings -> Google
7. Cross profile switching
8. Customized shared sheet

BUG: 73815682

Change-Id: I869aa3a041644faf772810c9ab1c3d8e0f745451
2018-02-23 18:03:49 +00:00
yuemingw
8227e5b9d2 Rename WipeDataWithReason API to wipeData.
Bug: 71818126
Test: run cts --module DevicePolicyManager -t com.android.cts.devicepolicy.ManagedProfileTest#testWipeDataWithReason
Change-Id: I5e2e445fffeebc0d15cb312e3679181f8934fc76
2018-02-23 16:06:02 +00:00
Jorim Jaggi
574aea0f1b Elevate remote/recents animation priority
If we have another process running a remote animation, we need to
elevate its scheduling priority in order to achieve a smooth
animation. To do that, we set the priority as if it would be the
top app.

Test: go/wm-smoke
Test: Capture trace, open/close apps/recents, inspect priority in
trace.

Change-Id: Ia167eeff95700d86e96e96a984099f1e28040b59
Fixes: 73555925
2018-02-23 15:14:46 +01:00
Jason Monk
f200887b30 Make mapIntentToUri understand meta-data hookup
Test: uiservicestests
Bug: 73741418
Change-Id: I399476b94d59996828405d7fbcc4f6aa532f49d8
2018-02-23 08:59:31 -05:00
Bernardo Rufino
7524b7228a Merge "Extend XML parser to allow optional requiredFlags attribute for <include /> rules in <full-backup-content> specification" 2018-02-23 09:29:21 +00:00
TreeHugger Robot
23ea41c4e7 Merge "Using ParceledListSlice for {get|set}AppStandbyBuckets" 2018-02-23 09:28:33 +00:00
TreeHugger Robot
2ca8fcec2d Merge changes from topic "update_mapping"
* changes:
  Rework how pinning works
  Follow prebuilt/API update
2018-02-23 06:51:31 +00:00
Dake Gu
09571f8943 Merge "autofill: pass keyevent from fillui to app" 2018-02-23 01:35:55 +00:00
Jason Monk
f09c8c168d Merge "Move metadata key from Slice to SliceManager" 2018-02-23 01:03:33 +00:00
Jason Monk
38df280a67 Rework how pinning works
pin/unpin don't require special permissions, just permissions to the
slice, and they stop when the app dies.

Test: uiservicestests
Change-Id: I1d1b6afc7e5577091e55c9cbb58f56337b470acf
2018-02-22 19:40:31 -05:00
Andrii Kulian
9a33438cd1 Merge "Improve AM lifecycle event logs" 2018-02-22 22:54:53 +00:00
TreeHugger Robot
53f259280f Merge "Better javadoc for DevicePolicyManager#getTransferOwnershipBundle." 2018-02-22 21:17:02 +00:00
David Chen
16dcd33abd Small fixes to StatsManager API.
Adds some annotations, deletes an unused API method, and adds some
comments.

Test: Test that make succeeds.
Bug: 72562867
Change-Id: I6c93ee4aeeacf6842795256c76551cfb1c28888d
2018-02-22 12:56:33 -08:00
Felipe Leme
42b9793d0f New APIs to let app developers manage autofill semantics when reusing views.
From the Autofill workflow point of view, each view has an unique AutofillId
that is used to semantically, semantically identify the view. Currently, once
the View's AutofillId is set it cannot be changed, which make it hard to reuse
views for optimization (for example, in a RecyclerView).

This change introduces 2 new APIs (View.setAutofillId() and
Activity.getNextAutofillId()) that let app developers reuse views without
breaking their logical autofill semantics.

Fixes: 73555342

Test: atest CtsAutoFillServiceTestCases:MutableAutofillIdTest
Test: atest CtsAutoFillServiceTestCases

Change-Id: I35fe07b10657f17d7b260f90f578ca7a13782a18
2018-02-22 12:47:24 -08:00
TreeHugger Robot
93891ea8aa Merge "Split query permission from update permission" 2018-02-22 19:58:38 +00:00
arangelov
dc63bd7a87 Better javadoc for DevicePolicyManager#getTransferOwnershipBundle.
Test: None
Bug: 73751387
Change-Id: I627fe9825823191e3853deba9bb08da09fbf7c5e
2018-02-22 18:21:37 +00:00
Gus Prevas
9c0951304d Merge "Deprecates methods on WearableExtender.Builder which have not been honored since Wear 1.0." 2018-02-22 18:06:54 +00:00
Mady Mellor
3267ed8f74 Move metadata key from Slice to SliceManager
Bug: 73741418 
Test: make -j20
Change-Id: Ia22b47d8b6d278944566641b07fcfb0fb7662d07
2018-02-22 18:06:13 +00:00
Wale Ogunwale
3d529f764e Merge "Fixed issue with relaunching activity in the stopped state" 2018-02-22 17:20:44 +00:00
TreeHugger Robot
cfa8785e1f Merge "Docs: small documentation fixes for formatting and typos." 2018-02-22 14:36:05 +00:00