306574 Commits

Author SHA1 Message Date
Narayan Kamath
11bbd9e27c Merge "MethodHandles: Expose additional API." am: 869141fef7 am: a93d04a765 am: f29140955f
am: a866751b9f

Change-Id: I95d0ac752a02a7213b5e284e8a51180167639e0b
2017-02-06 14:29:43 +00:00
Narayan Kamath
a866751b9f Merge "MethodHandles: Expose additional API." am: 869141fef7 am: a93d04a765
am: f29140955f

Change-Id: I3e909e1a4faf70fcc9a58fc7bcd6c25abc87d901
2017-02-06 14:25:35 +00:00
Narayan Kamath
f29140955f Merge "MethodHandles: Expose additional API." am: 869141fef7
am: a93d04a765

Change-Id: I7eef5b76fadc6303ae37b95fb855b16d2411bdb9
2017-02-06 14:21:07 +00:00
Narayan Kamath
a93d04a765 Merge "MethodHandles: Expose additional API."
am: 869141fef7

Change-Id: I73b9867bc1973dd4661470cebb0d9086666593aa
2017-02-06 14:15:48 +00:00
Narayan Kamath
869141fef7 Merge "MethodHandles: Expose additional API." 2017-02-06 14:09:46 +00:00
Julia Reynolds
13d898c523 Additional badging APIs.
- shortcut id
- icon
- updated documentation for number

Test: cts
Change-Id: I0424b8879e79b3da70cc378c0ca96e14e328ea34
2017-02-06 08:53:50 -05:00
TreeHugger Robot
4d600d150f Merge "Clear affiliation ids and lock task packages when clearing DO/PO" 2017-02-06 12:58:55 +00:00
Narayan Kamath
68f68701e6 PackageManagerService: Log time spent on cpppreopt.
Makes it more convenient to debug post OTA boot-time issues.

Bug: 34953276
Test: manual

Change-Id: Iefb0f93f0c7d536ee46b756d83f316f038166da3
2017-02-06 12:41:14 +00:00
Aga Madurska
99485ef841 Use correct APIs to detect conditions for round scrollbars.
Bug: 34876394

Test: Performed manually.

Change-Id: I9e690e99fd8d925c589ebd19d9c6754eeb63b1d8
2017-02-06 12:33:36 +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
Sungsoo
99c1f9f453 MediaSession: Add methods for queue managements
Bug: 30203831
Test: Passed MediaControllerTest
Change-Id: Ibc33572d21bd83d47660be8f41173b9cea206015
2017-02-06 17:38:13 +09:00
TreeHugger Robot
85a05cd9b5 Merge "Refactoring of auto fill - lifecycle, auth, improvements" 2017-02-06 05:47:45 +00:00
Akira Oshimi
8d2e9a9b30 Add tile information to ACTION_QS_TILE_PREFERENCES intent
One application can provide two or more custom Quick Settings tiles.
But there is no way to know which tile is long-pressed from application
side because ACTION_QS_TILE_PREFERENCES intent that is sent when
long-pressed doesn't have any additional information. So the component
name and state of the tile should be added to the intent.

Bug: 34832801
Test: manual - long press a custom tile

Change-Id: Iaa884cd944f19a2f007cbde645e8f8b1198bffb7
2017-02-06 04:45:13 +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 eb3c9344399831542edc59b7c43c84a0496d7a12.

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

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
Jean-Michel Trivi
a690473348 API for app to know what to set in Activity.setVolumeControlStream()
Stream types are deprecated to describe an audio playback use case.
But they are used for volume control. This API helps the developer
  go from an AudioAttributes instance used for playback, to a
  stream type used to describe which volume stream type should be
  used when the user presses on the volume keys.

Test: see AudioAttributes cts test
Bug 21267880

Change-Id: I2b9da5b282e8ed2342c61c14a7f59b874d0ce979
2017-02-04 16:35:25 -08: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
Charles He
da88f0e6b8 Fingerprint: get auth id for non-current user.
Previously, getAuthenticatorId() simply returns the authenticator id
corresponding to the currently active user in FingerprintService.
However, this can cause bugs when, for example, KeyStore calls the
method before storing a fingerprint-bound key for a non-current user. In
such cases, the authenticator id of the calling user is desired, which
is not necessarily the same as the "current user" in FingerprintService.
This CL ensures the FingerprintService always returns the authenticator
id of the calling user.

Bug: 33459191
Test: manual
Change-Id: I35c5a3a7082cffb8941eeaa219c8e20948ad41a9
2017-02-04 06:49:08 +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
Selim Cinek
09bd29dad1 Disabling animations now when the screen is off
Before, notifications were animating weirdly when the
Keyboard was shown, this should not happen anymore.

Test: add notifications, go to keyboard
Change-Id: If0edccf84bdd09be99eaeae2dceee8e29f30ae12
Fixes: 34471382
2017-02-03 18:28:42 -08:00
Selim Cinek
edebced70f Fixed a quick flash of the icon when adding a notification
The add animation shouldn't run if the icon isn't visible.

Test: Add notification while shade open, observe icon closely
Fixes: 34502403
Change-Id: I086b7baef5983052af9682e4008fe3d360df6a36
2017-02-03 18:28:41 -08:00
Selim Cinek
56f542f249 Fixed a bug where the notification icons wouldn't match
If there was just one ambient notification available, we
Would suck in one icon too much when expanded.

Test: add 1 high and 1 min priority notification, observe icons
Change-Id: I043011c6d99c49b9764017565ee48349fce920eb
2017-02-03 18:28:41 -08:00
Selim Cinek
f20254c6f9 Fixed weirdness about last icon in shelf
The last icon in shelf could jump around and behave
Erratically because of an optimization around it's
transformation.
If the maxShelfEnd changed non-continuously, for example
With an expansion, the icon would jump-cut.

Test: add a few notifications, while no shelf available, expand notification
Before the last one, observe no jump-cut

Change-Id: I4b05f340cb1715f7bf80f5e96582a56a6f62ce1b
2017-02-03 18:28:38 -08:00
Matthew Ng
fb692acb64 Longpress overview in minimized mode only for resizable launches (1/2)
Since resizable launchers in minimized mode shows more of the docked
stack than in non-resizable launchers, it will play the same
functionality as split screen where long press overview button will
exit split screen into fullscreen mode.

Test: test was written - adb shell am instrument -w -e class
com.android.androidbvt.SysUIMultiWindowTests
com.android.androidbvt/android.support.test.runner.AndroidJUnitRunner
Fixes: 34892561
Change-Id: I9f957dada1b325b36068d59fa9b2d1fa4912b804
2017-02-03 18:12:54 -08: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
Adrian Roos
fe54aa00e2 AOD: Fix AoD time tick after refactor
Test: Turn on AoD, check if time keeps updating after a minute
Bug: 30876804
Fixed: 34985073
Change-Id: I7d5ce01b4f04e1a1a89b62ba321215b44f54de7b
2017-02-03 18:00:07 -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