Commit Graph

10708 Commits

Author SHA1 Message Date
Bryce Lee
149fd497e8 Merge "Check component before notifying activity is visible." into oc-dev am: 13acf25cfd
am: 6b8907d8ed

Change-Id: Ife37bdfb4bee6479688defad0446efaecfb7838b
2017-04-07 15:11:51 +00:00
Bryce Lee
13acf25cfd Merge "Check component before notifying activity is visible." into oc-dev 2017-04-07 14:58:18 +00:00
Esteban Talavera
89d1d31955 Merge "Add managed profile whitelist to control NotificationListenerServices" 2017-04-07 13:26:30 +00:00
Bryce Lee
7843f6e6b6 Merge "Do not make strong reference to Resources." into oc-dev am: 327c0b9f88
am: c1ed86ab10

Change-Id: Idd0c2d7be02d4de7318e805d639ad0d5cc016e44
2017-04-07 06:37:32 +00:00
TreeHugger Robot
327c0b9f88 Merge "Do not make strong reference to Resources." into oc-dev 2017-04-07 06:21:00 +00:00
Bryce Lee
2d2315a66d Do not make strong reference to Resources.
This CL removes the strong reference added for mapping display ids
and Resources to Displays. Instead, the key pair is now the display
id and ResourcesKey, and the mapping is pruned when key is
invalidated.

Change-Id: I60d767b52de7bbf769f6761f5a3301dd7aff6ddf
Fixes: 36625868
Test: make -j32 cts; cts-tradefed; run cts --module CtsAppTestCases --test android.app.cts.DisplayTest#testRotation
2017-04-06 21:32:31 -07:00
Jason Monk
043578f69d Merge "Revert "Handle case when snapshot dimensions don't match"" into oc-dev am: e7ac324c71
am: 79f56babd7

Change-Id: Ib7bba216d53f911993a4afd01e0c77761dd45f89
2017-04-06 22:35:27 +00:00
Jason Monk
e7ac324c71 Merge "Revert "Handle case when snapshot dimensions don't match"" into oc-dev 2017-04-06 19:51:12 +00:00
Jason Monk
ba53d8ae41 Revert "Handle case when snapshot dimensions don't match"
This reverts commit aea6b74e17.
Bug: 36991071
Bug: 36703868
Change-Id: Ie71992144e78a6580bfce17dfdf20396af80eacd
2017-04-06 18:30:11 +00:00
Bryce Lee
4a19438955 Check component before notifying activity is visible.
ActivityStackSupervisor tracks WaitResults which are waiting for an
Activity to become visible. This is used exclusively by
ActivityStarter to wait for an Activity to be brought to the
foreground before returning. However, there are some cases where
other Activities will report a visible state in between. Without a
qualifier, these would cause the ActivityStarter's WaitResult to be
fulfilled and the wrong information would be returned.

This changelist specifies a component the WaitResult should be
triggered on.

Change-Id: I7c356a8d153ddc24603acc55749e9992f9000c3f
Fixes: 36860122
Test: cts-tradefed run cts -m CtsServicesHostTestCases -t  android.server.cts.ActivityManagerAmStartOptionsTests#testDashW_Direct
2017-04-06 10:11:58 -07:00
Esteban Talavera
7e4cbadc6a Add managed profile whitelist to control NotificationListenerServices
Only let notification listeners installed in the primary profile
see work profile notification if allowed by policy

Bug: 36657192
Test: runtest systemui-notification
Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest    frameworks-services
Change-Id: If719151644380e9162180a24d12f798e42867c0a
2017-04-06 17:53:31 +01:00
Todd Kennedy
91d6a8a0e9 Merge "Bind with the correct action" into oc-dev am: e7ec7ec634
am: f97938f9d0

Change-Id: I22c9be81cd3dc580fc3b5edc82f0d0f28cc38952
2017-04-06 16:52:50 +00:00
TreeHugger Robot
e7ec7ec634 Merge "Bind with the correct action" into oc-dev 2017-04-06 16:35:37 +00:00
Julia Reynolds
bb23c9b80b Merge "Show a link to app settings in notification guts." into oc-dev am: 0ff1b458ac
am: fafcda882b

Change-Id: I397e37d0cbff42be9bc41e42eef094a8237e9c9a
2017-04-06 16:18:01 +00:00
Julia Reynolds
0ff1b458ac Merge "Show a link to app settings in notification guts." into oc-dev 2017-04-06 15:55:36 +00:00
Julia Reynolds
712decf92f Merge "Remove unneeded methods" into oc-dev am: 9a8f641801
am: 4c6d2c76a4

Change-Id: I976bb62b349a5de4655d44245a06d8898ed96461
2017-04-06 15:27:21 +00:00
Julia Reynolds
9a8f641801 Merge "Remove unneeded methods" into oc-dev 2017-04-06 15:13:13 +00:00
Philip P. Moltmann
2390cc3407 Merge "Overlay a highlight over autofilled views" into oc-dev am: 4ebafa8000
am: 7e3af23cc3

Change-Id: I41e65cf34549589c17cea9cc71632925e0402019
2017-04-06 06:41:41 +00:00
Philip P. Moltmann
b42d133c8b Overlay a highlight over autofilled views
Also clear this overlay once the data changes. Some views call
notifyValueUpdated even if the value did not change. Hence remeber the
data that was autofilled and check if the data really changed.

Make the autofilledDrawable publicly accessible so that virtual views
can use the same UI.

As the activity is not aware that the views were autofilled the state
has to be explicitly persisted over activity lifecycle events as part
of the view. The lifecyle does not work yet as the AutofillIds are not
stable over activity lifecycle events.

Fixes: 34946006
Test: Autofilled and changed all supported views.
      cts-tradefed run cts-dev -m CtsUiRenderingTestCases
Change-Id: I58b105bb221f1b6466dd136dfe5062d3babb5aa8
2017-04-06 03:57:54 +00:00
Felipe Leme
94b0c17369 Merge "Improvements on ViewNodes received on partitioned requests:" into oc-dev am: 05b8b4135a
am: 5f73ae55ee

Change-Id: Ic2252fe76d20c99d5b0d4776509bc5d9d415659a
2017-04-06 02:59:24 +00:00
George Mount
436c56bbe5 Merge "Save FragmentManagerNonConfig during onSaveInstanceState()" into oc-dev am: fade53591b
am: b9dbd76866

Change-Id: I4d942dc6842bdb22e21d5759748311f748bbbb61
2017-04-06 02:46:56 +00:00
George Mount
a6ea4e6473 Merge "Change getFragments() to return a List." into oc-dev am: 1b2bedcd76
am: b71472d28e

Change-Id: Ie1c06cacfae24614b0e40cb83117f5b25673c29a
2017-04-06 02:35:44 +00:00
TreeHugger Robot
05b8b4135a Merge "Improvements on ViewNodes received on partitioned requests:" into oc-dev 2017-04-06 02:26:37 +00:00
George Mount
1a3d4cb67b Merge "Call noteStateNotSaved on child fragment managers." into oc-dev am: a62a3d8ec1
am: 4f5654cc8c

Change-Id: Ica919f836951c0c4aa970e6686f09c0f46dfa811
2017-04-06 02:20:01 +00:00
Nathan Harold
b077f6abd3 Merge changes from topic 'ipsec-svc-pick' into oc-dev
* changes:
  Fix Log Traces for IpSecService
  SystemServer: fix StartIpSecService trace and log
  Add Initial IPsec APIs to IpSecService
  IpSecManager and IpSecTransform API Cleanup
  Change reserveSecurityParameterIndex() to take a remoteAddress
  Add a Skeleton IpSecService
2017-04-06 01:34:37 +00:00
George Mount
b9dbd76866 Merge "Save FragmentManagerNonConfig during onSaveInstanceState()" into oc-dev
am: fade53591b

Change-Id: Iab983407193984f72f5ecbc485082f4ca1ec70f7
2017-04-06 01:21:01 +00:00
TreeHugger Robot
fade53591b Merge "Save FragmentManagerNonConfig during onSaveInstanceState()" into oc-dev 2017-04-06 01:13:13 +00:00
Felipe Leme
cde040ae95 Improvements on ViewNodes received on partitioned requests:
- Fixed focus
- Added autofillValue for nodes previously autofilled

BUG: 35707731

Test: existing CtsAutoFillServiceTestCases pass
Test: more tests on PartitionedActivityTest

Change-Id: If4390d002d44c82e3de0339a634041f3998e804e
2017-04-05 17:49:13 -07:00
George Mount
b71472d28e Merge "Change getFragments() to return a List." into oc-dev
am: 1b2bedcd76

Change-Id: I59407dbe9e307e30bb721e33423130615ff00a7c
2017-04-06 00:22:01 +00:00
TreeHugger Robot
1b2bedcd76 Merge "Change getFragments() to return a List." into oc-dev 2017-04-06 00:13:26 +00:00
George Mount
4f5654cc8c Merge "Call noteStateNotSaved on child fragment managers." into oc-dev
am: a62a3d8ec1

Change-Id: I2a7a54b69c69efaf27a2edd18e2adbb179e660b2
2017-04-05 23:34:30 +00:00
TreeHugger Robot
a62a3d8ec1 Merge "Call noteStateNotSaved on child fragment managers." into oc-dev 2017-04-05 23:23:54 +00:00
Julia Reynolds
3aeddedc17 Show a link to app settings in notification guts.
Test: runtest systemui, cts
Change-Id: I7204102d5c83d589af5d3da57f72068491c12daa
2017-04-05 22:40:37 +00:00
Julia Reynolds
6031533702 Remove unneeded methods
Test: make, make cts, make cts-verifier, runtest systemui-notification
Change-Id: I25b559cfcc30f2d85f468adf840f9124e80f00b0
2017-04-05 18:36:07 -04:00
Christopher Tate
d40276760b Merge "Allow background default container service in a less crashy way" into oc-dev am: 0283544c49
am: 9e8672a482

Change-Id: Iebeda2dbcf94c3546b124b30741c15d2ef1ef5a3
2017-04-05 22:05:25 +00:00
Adam Lesinski
fd50da4ee9 Merge "Fix NPE when adding WebView to ResourcesManager" into oc-dev am: 7e5205137c
am: 9f887687fd

Change-Id: I00ed32ed5b01689ff536050e5a961e551bc9eac3
2017-04-05 22:03:15 +00:00
Dianne Hackborn
1c4ed79d31 Merge "Deliver start service args with ParcelledListSlice." into oc-dev am: 1cf2c97459
am: ec5feb873e

Change-Id: I7c9e933e06108de5ddf66585ef753055fd0300ac
2017-04-05 22:01:02 +00:00
Todd Kennedy
02a6b73e97 Bind with the correct action
While services themselves don't need an action when an explicit
component is specified, services in GMS may be different. In
the case of instant apps, the resolver service is hidden behind
a proxy that uses the action to route to the actual, implementing
service.

Bug: 36594944
Test: see that ephemeral resolution occurs
Change-Id: Id8c352614f780dc63f36c65be2ddb2d480b6846b
2017-04-05 14:24:58 -07:00
George Mount
e196b6fefe Change getFragments() to return a List.
Bug 36762718
Bug 36982279

Changes getFragments() to return a List instead of a Collection.
The order is the order in which the fragment is added or attached.

Test: ran fragment cts tests
Change-Id: I10bbeef13e9154bbe052127cfa0e160b2e500b4d
2017-04-05 13:56:37 -07:00
Christopher Tate
9e8672a482 Merge "Allow background default container service in a less crashy way" into oc-dev
am: 0283544c49

Change-Id: I863c9c8ae1d3760eb68d7169b8d60260731d6190
2017-04-05 20:51:16 +00:00
Adam Lesinski
9f887687fd Merge "Fix NPE when adding WebView to ResourcesManager" into oc-dev
am: 7e5205137c

Change-Id: Ifb45086ba1c53e4de5abe83de66118e026c3c297
2017-04-05 20:49:06 +00:00
Dianne Hackborn
ec5feb873e Merge "Deliver start service args with ParcelledListSlice." into oc-dev
am: 1cf2c97459

Change-Id: Iacdd90c6081e93e38cfe932f5210545f33562f7a
2017-04-05 20:46:48 +00:00
TreeHugger Robot
0283544c49 Merge "Allow background default container service in a less crashy way" into oc-dev 2017-04-05 20:43:42 +00:00
TreeHugger Robot
7e5205137c Merge "Fix NPE when adding WebView to ResourcesManager" into oc-dev 2017-04-05 20:42:01 +00:00
Dianne Hackborn
1cf2c97459 Merge "Deliver start service args with ParcelledListSlice." into oc-dev 2017-04-05 20:37:36 +00:00
Felipe Leme
17168b773f Merge "Removed deprecated auto(F)ill classes." into oc-dev am: b44feb154b
am: dae23dab8c

Change-Id: I9285ea27ae36d06d1466ec74322a38609acfaab4
2017-04-05 20:36:44 +00:00
Felipe Leme
dae23dab8c Merge "Removed deprecated auto(F)ill classes." into oc-dev
am: b44feb154b

Change-Id: I95768d5e62af9f9fd6469b8a8e36c6e6a196091a
2017-04-05 20:32:10 +00:00
TreeHugger Robot
b44feb154b Merge "Removed deprecated auto(F)ill classes." into oc-dev 2017-04-05 20:25:40 +00:00
Rubin Xu
3f09522f58 Merge "Tweak javadoc of setResetPasswordToken" into oc-dev am: ae23290ef5
am: b9b4825c8b

Change-Id: I5afb297b9a4718ac26ae2051dd6bb75338794d06
2017-04-05 20:12:47 +00:00
Rubin Xu
b9b4825c8b Merge "Tweak javadoc of setResetPasswordToken" into oc-dev
am: ae23290ef5

Change-Id: Ib8988c2c0c07aba71fe995a64c7bb7d8fe504141
2017-04-05 20:07:18 +00:00