Commit Graph

306334 Commits

Author SHA1 Message Date
Esteban Talavera
bfb666da53 Unhide getLockTaskPackages
getLockTaskPackages is currently hidden, and can only be
called by a device or profile owner, which doesn't make
much sense. Unhidding it to be consistent with the rest
of the DevicePolicyManager APIs that have a getter for
each setter.

Bug: 34614754
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_affiliatedSecondaryUser
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_unaffiliatedUser
Test: Test:  cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_deviceOwnerUser
Change-Id: I6e03c2f47c0f9e7a635e798a1bf7f131a8e37c65
2017-02-07 12:01:20 +00:00
Orion Hodson
6c149326d8 Merge "Add bytecodes for invoke-polymorphic" am: ef59955f58 am: dcaa9fd642 am: 4fc15223c2
am: 633d8c12db

Change-Id: If1f2b3280672a80a28ba78407d05b866641278ff
2017-02-06 10:50:01 +00:00
Orion Hodson
633d8c12db Merge "Add bytecodes for invoke-polymorphic" am: ef59955f58 am: dcaa9fd642
am: 4fc15223c2

Change-Id: I022d1917400ea9e694cc58743ca345ac58fe0379
2017-02-06 10:43:22 +00:00
Orion Hodson
4fc15223c2 Merge "Add bytecodes for invoke-polymorphic" am: ef59955f58
am: dcaa9fd642

Change-Id: I4dba3f073900fa47cb1c4fa8ec36fb8f547fd982
2017-02-06 10:37:24 +00:00
Orion Hodson
dcaa9fd642 Merge "Add bytecodes for invoke-polymorphic"
am: ef59955f58

Change-Id: If95860a3680dc8857b54a864917d5074eba57c9a
2017-02-06 10:30:40 +00:00
Orion Hodson
ef59955f58 Merge "Add bytecodes for invoke-polymorphic" 2017-02-06 10:21:55 +00:00
Ben Weiss
995f4b5721 Merge "Extract and unhide TransitionListenerAdapter" 2017-02-06 10:16:50 +00:00
TreeHugger Robot
85a05cd9b5 Merge "Refactoring of auto fill - lifecycle, auth, improvements" 2017-02-06 05:47:45 +00:00
TreeHugger Robot
ad00d0248c Merge "Introduces VrManager as a system service." 2017-02-06 04:05:01 +00:00
Svet Ganov
0f4928f1f7 Refactoring of auto fill - lifecycle, auth, improvements
1. Move management of the remote fill service in a dedicated
   class that abstracts away the async and ephemeral nature
   of the binding.

2. Update auth to move fingerprint out of the platform and
   allow response and dataset auth.

3. Cleaned up the fill and save callback classes.

4. The UI is now shared among all sessions and cleaned up.

5. Reshuffled the remote callbacks to have cleaner separation.

6. Cleaned up and tightened the reponse and dataset classes.

7. Added API to support communicationn with intent based auth.

Test: CTS + manually

bug:31001899

Change-Id: Idc924a01d1aea82807e0397ff7293d2b8470d4d6
2017-02-06 04:02:35 +00:00
Svetoslav Ganov
21c8595d76 Merge "Revert "Improve AnchoredWindow with smart positioning logic."" 2017-02-06 04:01:59 +00:00
Svetoslav Ganov
c71593e3de Merge "Revert "Pass token to AutoFillUI."" 2017-02-06 04:01:13 +00:00
Svetoslav Ganov
7b25218f5a Revert "Improve AnchoredWindow with smart positioning logic."
This reverts commit eb3c934439.

Change-Id: I6af63525bf72dc9d0dd5a215421fb513e7e635be
2017-02-06 04:00:34 +00:00
Svetoslav Ganov
21e67a1272 Revert "Pass token to AutoFillUI."
This reverts commit 8f60ea6360.

Change-Id: I16e78ab87d2f570462b24c0d61a5c7e161184c70
2017-02-06 03:59:53 +00:00
Zak Cohen
56345f4bfe Introduces VrManager as a system service.
Provides access to persistent VR mode as used by VR viewer when a device
is believed to be inside a viewer.

Bug: 34736524
Test: Built, run using build of vr services that enables mode.
Change-Id: I6ff392f09adb8e4bd522dacbd064777bba836282
2017-02-05 17:33:44 -08:00
Hyundo Moon
210d6176df Merge "Fix NullPointerException in System UI caused by remote volume change" 2017-02-06 01:32:31 +00:00
Jason Long
53780b6877 Merge changes I0e808083,Iade6179f,If0d0a283
* changes:
  Hide DatasetPicker if all items are filtered.
  Improve AnchoredWindow with smart positioning logic.
  Pass token to AutoFillUI.
2017-02-05 18:32:25 +00:00
TreeHugger Robot
f90087168b Merge "Make activities that are in VR mode ignore ui mode config changes." 2017-02-04 21:41:04 +00:00
Jean-Michel Trivi
c424828b4f Merge "Debug flag off on audio service PlaybackActivityMonitor" 2017-02-04 19:10:11 +00:00
Jean-Michel Trivi
13d9ed6481 Debug flag off on audio service PlaybackActivityMonitor
Test: check no logs from PlaybackActivityMonitor when playing audio
Bug 34974646
Change-Id: I6f67abc5a5e80cf61dc3ca4d0dc29f6fe902c4a7
2017-02-04 19:06:48 +00:00
Pierre Lecesne
0355dccc85 Merge "Only compress files that were already compressed in the original APK." 2017-02-04 03:54:43 +00:00
TreeHugger Robot
466149d78c Merge "Fix start delay for ValueAnimator" 2017-02-04 03:47:37 +00:00
Adam Lesinski
558a63056e Merge "AAPT2: Support CtsContentTestCases build" 2017-02-04 03:44:25 +00:00
TreeHugger Robot
a07efe52d5 Merge "Shift responsibility of DB cleanup to TvProvider" 2017-02-04 03:14:13 +00:00
Doris Liu
3b466875bc Fix start delay for ValueAnimator
This CL ensures that doAnimationFrame() is called the frame
after start() is called, so that AnimatorSet can pulse frames
 into single animators as soon as they are start()'ed.

Test: new cts test in  same topic branch

Change-Id: I4f9522ce9e1a54ca3bcad6c696e6b248c945ff90
2017-02-03 18:07:18 -08:00
Dmitry Dementyev
18d4421797 Merge "Fix AccountsDb update." 2017-02-04 01:51:32 +00:00
Dmitry Dementyev
6fe34fcbae Fix AccountsDb update.
Test: manual tests.
Change-Id: I32881f0b77e79e218020dfa7ef921ddeb95de1b7
2017-02-03 17:46:58 -08:00
Andy Hung
763aeb5b94 Merge "AudioTrack: Enable deep buffer under certain conditions" 2017-02-04 01:43:13 +00:00
TreeHugger Robot
cc137da39d Merge "Rename isCallerSystemUid()." 2017-02-04 01:34:10 +00:00
TreeHugger Robot
f6f095a9c1 Merge "Removed android.R.attr#onTopLauncher" 2017-02-04 01:31:53 +00:00
TreeHugger Robot
92f77f0f8b Merge "SystemUI: Add LightBarController dump" 2017-02-04 01:29:36 +00:00
TreeHugger Robot
de9c63b8ae Merge "Update Account Discovery API." 2017-02-04 01:18:21 +00:00
Dianne Hackborn
ad0d7b45e1 Merge "Implement issue #30977956: Enable Instrumentation tests for multi-process apps" 2017-02-04 01:10:24 +00:00
Adrian Roos
48a18ad206 Merge "StatusBar: Catch OOM caused by third-party icons" 2017-02-04 01:00:40 +00:00
TreeHugger Robot
f280f6ae97 Merge "TIF: use @StringDef annotations in TvContract" 2017-02-04 01:00:06 +00:00
Dianne Hackborn
340417356d Implement issue #30977956: Enable Instrumentation tests for multi-process apps
New android:targetProcess attribute on <instrumentation> allows you to
specify the processes the instrumentation will run in.

This reworks how instrumentation is run in the activity manager to better
formalize its state and semantics, allowing us to keep track of it across
multiple processes.  This also clearly defines what happens when multiple
instrumentations are running at the same time, which is useful for writing
CTS tests that test the instrumentation APIs themselves.

Adds a couple new APIs to Instrumentation that helps with the new
situation where instrumentation can run concurrently in multiple processes.

Test: new CTS tests added (textXxxProcessInstrumentation in
ActivityManagerTest.java in cts/tests/app/src)

Change-Id: I2811e6c75bc98d4856045b2f0a45fb24af5d366f
2017-02-03 16:07:54 -08:00
Adrian Roos
1bf6077afe SystemUI: Add LightBarController dump
Test: adb shell dumpsys activity service com.android.systemui
Bug: 34198865
Change-Id: I7b109449b3d5e392a55740a8237bd43c509089a7
2017-02-03 15:47:43 -08:00
Jeremy Joslin
7b6bcb6005 Merge "Cache NetworkScorerAppData in the ScoringServiceConnection." 2017-02-03 23:47:27 +00:00
Wale Ogunwale
069bbd3828 Removed android.R.attr#onTopLauncher
The product that the feature was intended for never launched, so
removing the complexity from the code base.

Test: builds
Change-Id: I75e60ee2da46f6012f03a6077f77bc6b9acecad5
2017-02-03 23:39:46 +00:00
Conrad Chen
977429b7d1 Shift responsibility of DB cleanup to TvProvider
Test: remove function
Bug: 34884862
Change-Id: I65b1925af5efae2efa8c8c24fae23e4e3a469e4e
2017-02-03 15:37:51 -08:00
Jack Yu
fe485569e5 Merge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged" 2017-02-03 23:29:58 +00:00
Jeremy Joslin
35f34eab71 Rename isCallerSystemUid().
The method wasn't actually checking if the caller was
Process.SYSTEM_UID, nor was that it's intent.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Change-Id: I341f2fb1d1dca0a460140992a68831316daa4eb8
2017-02-03 15:24:54 -08:00
Jason Long
e4fcdbc170 Hide DatasetPicker if all items are filtered.
Bug: 34633695
Test: CTS
Change-Id: I0e808083d32db9e280c9ddd028239540bac01cfc
2017-02-03 14:50:15 -08:00
Jason Long
eb3c934439 Improve AnchoredWindow with smart positioning logic.
* Add appToken.
* Add mWindowSizeListenerView for getting the displayable window size
  (screen - system windows - soft input).
* Add mContentView when we have all the necesssary info.
* Change mContentView only if something changes (height, bounds,
  displayBounds).

Bug: 34637800
Test: CTS
Change-Id: Iade6179f6303a6d4777e99fa6c600ba6352ee863
2017-02-03 14:50:05 -08:00
Matthew Ng
b475e009a0 Merge "Revert "Fix window transformation related issue"" 2017-02-03 22:37:30 +00:00
Jason Monk
340fab6da4 Merge "Fix the tests" 2017-02-03 22:30:52 +00:00
Adrian Roos
fb2d0cc090 StatusBar: Catch OOM caused by third-party icons
Bug: 31825355
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/StatusBarIconViewTest.java
Change-Id: I3e2a8c3da43a572a026ea0bbe1d39234035a4801
2017-02-03 14:23:50 -08:00
Chris Tate
869011681b Merge "Make job startup timeout similar to base OS service launch timeout" 2017-02-03 22:14:13 +00:00
Chris Craik
62e508d3ee Merge "Add ShadowShaderAnimation benchmark DO NOT MERGE" am: 6678d34133 -s ours am: 6385d23f43 -s ours am: 7a0720e22c
am: 5ab6c2f291  -s ours

Change-Id: Ide896b5db2ba86bd66d5fdb237a1e0dd498e9ff6
2017-02-03 22:11:35 +00:00
Steven Thomas
0049545803 Merge "Disable VR compatibility display" 2017-02-03 22:05:31 +00:00