Commit Graph

11244 Commits

Author SHA1 Message Date
Svet Ganov
647dc84560 Merge "Support recursive static shared lib dependency" into oc-dev am: e04765998e
am: 8adfc2cac7

Change-Id: Ib07a986a02372d40ce93b9beb8e1ac74f0d3561b
2017-05-16 01:38:57 +00:00
Rob Carr
93d5c06222 Merge "Preserve non-floating state when entering pinned stack." into oc-dev am: f5b6818009
am: dff4323f01

Change-Id: Ie007a26d4d0264f5a0609cbc0996a5a509734382
2017-05-16 01:28:14 +00:00
Svet Ganov
8adfc2cac7 Merge "Support recursive static shared lib dependency" into oc-dev
am: e04765998e

Change-Id: I674191296c7d0a409e19614b2f18a4b86bf03ab8
2017-05-16 00:03:00 +00:00
TreeHugger Robot
e04765998e Merge "Support recursive static shared lib dependency" into oc-dev 2017-05-15 23:49:07 +00:00
Rob Carr
dff4323f01 Merge "Preserve non-floating state when entering pinned stack." into oc-dev
am: f5b6818009

Change-Id: I22f408fef8007cb5c1266a7115da01c07b4f0eb4
2017-05-15 23:38:21 +00:00
Rob Carr
f5b6818009 Merge "Preserve non-floating state when entering pinned stack." into oc-dev 2017-05-15 23:17:33 +00:00
Svet Ganov
58c99f0207 Support recursive static shared lib dependency
Test: Updated the static shared lib CTS tests to verify that
      All static shared lib CTS tests pass

bug:35359862

Change-Id: Id4a0dabbc9d8e98962e92b6f537f6ffffa63b585
2017-05-15 14:43:17 -07:00
Jonathan Solnit
91d199a391 Merge "Add camera lift trigger to GestureLauncherService" 2017-05-15 16:20:42 +00:00
Felipe Leme
316a22bd3f Start a new session on manual request after session is "gone". am: 7f33cd350b
am: 4f87698d30

Change-Id: I9d6ecfde09c79e53624750fdc574d17869980403
2017-05-14 09:51:36 +00:00
Felipe Leme
4f87698d30 Start a new session on manual request after session is "gone".
am: 7f33cd350b

Change-Id: I1f93cea2d1699e8d388da4136c379aec4462e270
2017-05-14 09:41:00 +00:00
Felipe Leme
7f33cd350b Start a new session on manual request after session is "gone".
When the autofill service returns a null FillResponse, the session is marked
"gone" because the service cannot autofill it. But there might be cases where
the view structure change and it's now autofillable, so need to allow users
to manually request autofill again in such cases.

Fixes: 38205945
Test: CtsAutoFillServiceTestCases pass
Test: LoginActivityTest.testAutofillManuallyAfterServiceReturnedNoDatasets()
Test: LoginActivityTest.testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets()

Change-Id: I9b23c255e563dd0646bf266d31ddb10dcc4f7f6d
2017-05-14 00:31:45 -07:00
Felipe Leme
efb2bf2681 Merge "Don't print sensitive data on AssistStructure.dump()" into oc-dev am: 7bd1d3e48b
am: 122b3ce4ff

Change-Id: Ia1f5481e0684e13a3e36e7dcf71fbd27a0a81c13
2017-05-14 04:00:14 +00:00
Felipe Leme
122b3ce4ff Merge "Don't print sensitive data on AssistStructure.dump()" into oc-dev
am: 7bd1d3e48b

Change-Id: I8a186cf8fefe19d936acbbf19ae65a6e645eca4d
2017-05-14 03:51:16 +00:00
TreeHugger Robot
7bd1d3e48b Merge "Don't print sensitive data on AssistStructure.dump()" into oc-dev 2017-05-14 03:45:26 +00:00
Felipe Leme
bc561eb06e Don't print sensitive data on AssistStructure.dump()
Test: manual verification

Bug: 38205945
Change-Id: Ic184ee6da313a2c0f8e0dd11979f6985d8023140
2017-05-13 18:20:51 -07:00
Dianne Hackborn
6cdaf4fe5e Merge "Fix issue #38210653: Few more tweaks of job scheduler" into oc-dev am: c75bd416e9
am: 48e6d1594a

Change-Id: I41a97e988da5069fc186307e519e07e2bb746e83
2017-05-13 20:21:54 +00:00
Dianne Hackborn
48e6d1594a Merge "Fix issue #38210653: Few more tweaks of job scheduler" into oc-dev
am: c75bd416e9

Change-Id: I6c7cf4506c73fbed60bff0d43fb0a588d780d93a
2017-05-13 20:15:14 +00:00
Dianne Hackborn
c75bd416e9 Merge "Fix issue #38210653: Few more tweaks of job scheduler" into oc-dev 2017-05-13 20:08:25 +00:00
Bryce Lee
3ebf17dcb4 Merge "Introduce result ranges for activity start return results." into oc-dev am: b3d265caaa
am: eb651bbfb6

Change-Id: I43ecf09dac5dd6142dba08f8bcdd1332f44d4aa2
2017-05-13 02:00:36 +00:00
Bryce Lee
eb651bbfb6 Merge "Introduce result ranges for activity start return results." into oc-dev
am: b3d265caaa

Change-Id: I609d209e8a5a8dc0ce936c9ac644f9a128c5d641
2017-05-13 01:49:28 +00:00
Bryce Lee
b3d265caaa Merge "Introduce result ranges for activity start return results." into oc-dev 2017-05-13 01:41:36 +00:00
Siarhei Vishniakou
06c7dc5f0f Merge "Fix GamepadTestCase#testButtonA CTS test" 2017-05-13 01:21:43 +00:00
Jonathan Solnit
a41381660c Add camera lift trigger to GestureLauncherService
Add registration for the camera lift trigger sensor and handling for its
events to GestureLauncherService

Test: Confirmed camera launches on lift gesture if setting is enabled
(and other pieces are in place)
Change-Id: Ibfad2040409d86af2d019e2ce97ab546bef9ba78
2017-05-12 17:59:27 -07:00
Dianne Hackborn
bfc2331f2f Fix issue #38210653: Few more tweaks of job scheduler
- Now keep track of the time a job was enqueued, and order
  the pending list by that.
- Added configuration constants for rescheduling: maximum
  times to reschedule, minimum backoff times.
- Fixed printing of active jobs -- the method to get the current
  JobStatus was old and didn't require the caller to hold a
  lock, so made a copy, which didn't contain all the data we were
  interested in.  Now with our simple locking, we can just make
  that require the caller hold a lock and return the real
  JobStatus object.
- Include oom_adj and procstate when printing information about
  processes being killed.
- Expanded documentation of BroadcastReceiver.goAsync().

Test: bit CtsJobSchedulerTestCases:*

Change-Id: I2e45f181e45be9836c74cbff1b844ffdf6e93019
2017-05-12 17:29:04 -07:00
Selim Cinek
919615e60e Merge "Fixed an issue where the media notification wouldn't have contrast" into oc-dev am: 0ac4b7d108
am: 02f135e8b2

Change-Id: I69fa213e97113508a002e75203871b2e1cf914aa
2017-05-13 00:08:56 +00:00
Selim Cinek
02f135e8b2 Merge "Fixed an issue where the media notification wouldn't have contrast" into oc-dev
am: 0ac4b7d108

Change-Id: If9ece630645f4ebd3e1ee9e62ed2490d32e21082
2017-05-12 23:56:15 +00:00
Selim Cinek
0ac4b7d108 Merge "Fixed an issue where the media notification wouldn't have contrast" into oc-dev 2017-05-12 23:42:49 +00:00
Bryce Lee
7f9368637c Introduce result ranges for activity start return results.
The return result from starting activity actually represents two
pieces of information. First, it conveys whether the activity
started. Secondly, it conveys whether there was a fatal error if
the activity did not start. Many parts of the code assume that a
value greater than or equal to the defined success means that the
activity successfully started. This is not the case as there are a
number of results greater than success where the activity does not
start.

This change addresses the issue by introducing three distinct
result ranges. The first represents results where the activity
could not start due to a fatal error. The second represents results
where the activity did not start due to a non-fatal error. The last
range represents successful activity starts. Two convenience methods
have been added to ActivityManager to return whether the result
represents a fatal error and whether the result was successful.

Change-Id: Ifaf844c353641a28b03b3c2d7b6be053fd9b8b44
Fixes: 38021882
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_deviceOwnerUser
2017-05-12 16:02:23 -07:00
Sunny Goyal
51829ae72f Merge "Setting Session commited broadcast when an existing apk is enabled for a different user" into oc-dev am: fc157e702f
am: 1e0a89055d

Change-Id: Ifefcd98f5df6a3175ad2d25aa058555ed02a4854
2017-05-12 21:27:37 +00:00
Sunny Goyal
1e0a89055d Merge "Setting Session commited broadcast when an existing apk is enabled for a different user" into oc-dev
am: fc157e702f

Change-Id: I4cabbad8bac8fb24c86506a89c29d0a34b90a564
2017-05-12 21:16:32 +00:00
Sunny Goyal
fc157e702f Merge "Setting Session commited broadcast when an existing apk is enabled for a different user" into oc-dev 2017-05-12 21:09:08 +00:00
Siarhei Vishniakou
55656e4cb9 Fix GamepadTestCase#testButtonA CTS test
Hid command, JNI layer:
- Removed dependency of the hid device on libandroid_runtime
and libutils. Using ALooper from libandroid to process callbacks from
/dev/uhid file descriptor.
- Switched to using "CREATE2" and "INPUT2" constructs in uhid driver

Hid command, Java layer:
- Removed delay workarounds, user now responsible for waiting for
onInputDeviceChanged notification prior to using the hid commands.

UiAutomation:
- Added a new executeShellCommandRw function that allows bidirectional
communication to shell command

platform.xml:
- Added uhid permissions to bluetooth stack for /dev/uhid access

- CTS test now consistently passes

Bug: 34052337
Test: CTS test case invoked with the following command:
run cts -t android.hardware.input.cts.tests.GamepadTestCase
-m CtsHardwareTestCases --skip-system-status-check
com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker

Change-Id: Ic916c513b7e652b1e25675f0f38f0f1f3a65d214
2017-05-12 21:01:02 +00:00
Eugene Susla
2221757509 Merge "Avoid activity leak via Companion callback" into oc-dev am: 6c97781468
am: 445728052b

Change-Id: Ie03f215253d00bc47f268f3574063d8c8c2841ac
2017-05-12 20:47:10 +00:00
Felipe Leme
321a829b4b Merge "Removed deprecated APIs." into oc-dev am: 4b91fe8699
am: 3eee11cb4d

Change-Id: I39859572bfd0b8e34d02ad96147364e0f4ce2ee5
2017-05-12 20:41:35 +00:00
Eugene Susla
445728052b Merge "Avoid activity leak via Companion callback" into oc-dev
am: 6c97781468

Change-Id: Ia40f15fac8dd2b4fc24a38d557d3cd853cd30bfa
2017-05-12 20:26:39 +00:00
Felipe Leme
3eee11cb4d Merge "Removed deprecated APIs." into oc-dev
am: 4b91fe8699

Change-Id: Ib53e3dff14e748d5715dcf112e828fb0f80b87a2
2017-05-12 20:19:32 +00:00
TreeHugger Robot
6c97781468 Merge "Avoid activity leak via Companion callback" into oc-dev 2017-05-12 20:14:09 +00:00
TreeHugger Robot
4b91fe8699 Merge "Removed deprecated APIs." into oc-dev 2017-05-12 20:13:15 +00:00
Selim Cinek
dc29c0115a Merge "Fixing the colorization of legacy media notifications" into oc-dev am: 0b84204185
am: d95484c6d6

Change-Id: Idf26743203fb21f545a457d887706165e3efec41
2017-05-12 19:03:09 +00:00
Selim Cinek
d95484c6d6 Merge "Fixing the colorization of legacy media notifications" into oc-dev
am: 0b84204185

Change-Id: I3015d7234d1d92712ec91de82d66e3ce23288795
2017-05-12 18:52:42 +00:00
Selim Cinek
0b84204185 Merge "Fixing the colorization of legacy media notifications" into oc-dev 2017-05-12 18:35:23 +00:00
Felipe Leme
73fedacfeb Removed deprecated APIs.
Test: CtsAutoFillServiceTestCases pass
Test: manual verification with existing service

Bug: 37563972

Change-Id: Ibea2810f9230f06e59d2d81e4ba853de54987956
2017-05-12 10:32:45 -07:00
Selim Cinek
389edcd7c5 Fixed an issue where the media notification wouldn't have contrast
Because we were relying on the output to go in the right direction
already, this could be wrong. We're now only following the given
lightness direction if it is even possible to satisfy contrast.

Test: runtest -x core/tests/coretests/src/android/app/NotificationTest.java
Change-Id: I06d934a6b5c328ebbf0cf707030b0d707ccb5ab4
Fixes: 38182819
2017-05-12 10:06:41 -07:00
Sunny Goyal
a31a74b993 Setting Session commited broadcast when an existing apk is enabled for
a different user

Test: Manual tests and CTS
Bug: 38204385
Change-Id: Ic3bddbc2e6070c11b11f0685077db7737f2b8849
2017-05-12 10:00:30 -07:00
Julia Reynolds
60d3808761 Merge "Show misc channel with pre-upgrade fields" into oc-dev am: 34bc4af810
am: 9bc7405c30

Change-Id: I4e06cc0af1b18a3457ffa40ae42d9e506ab8822e
2017-05-12 12:28:24 +00:00
Julia Reynolds
9bc7405c30 Merge "Show misc channel with pre-upgrade fields" into oc-dev
am: 34bc4af810

Change-Id: I126f04e8551e68b74b076bea10f30964b8d2be00
2017-05-12 12:20:21 +00:00
Julia Reynolds
34bc4af810 Merge "Show misc channel with pre-upgrade fields" into oc-dev 2017-05-12 12:14:11 +00:00
Kenny Guy
75377cd237 Merge "Cleanup API that is already @removed" into oc-dev am: 33b4964874
am: ddf5448ef9

Change-Id: I2e937e78c4506698c26bb9fdadf0d5ce3198b8ab
2017-05-12 07:48:24 +00:00
Kenny Guy
ddf5448ef9 Merge "Cleanup API that is already @removed" into oc-dev
am: 33b4964874

Change-Id: I933de065f75417e16541c86089e981b3a9fbd362
2017-05-12 03:51:39 +00:00
Julia Reynolds
e1a8dfff2e Merge "Lock relevant fields on channel update" into oc-dev am: 6307ac52e5
am: ffe68af92c

Change-Id: I80eae8f14233f7cdf051b088a6678f2934919066
2017-05-12 02:13:25 +00:00