Commit Graph

74086 Commits

Author SHA1 Message Date
TreeHugger Robot
0df4c60716 Merge "Fix trampoline activities when relaunching PiP" 2017-02-17 20:14:24 +00:00
TreeHugger Robot
a42ba85b0e Merge "Clarify extra data argument nullness." 2017-02-17 19:47:02 +00:00
Romain Guy
172873f5e6 Merge "Add RGBA 10:10:10:2 format for surfaces" 2017-02-17 19:25:08 +00:00
Santos Cordon
a093a89b17 Merge "Back up VR screen brightness setting." 2017-02-17 19:23:13 +00:00
TreeHugger Robot
a4f3891d28 Merge "Mark clearDeviceOwnerApp/clearProfileOwner as deprecated" 2017-02-17 18:38:36 +00:00
Andrii Kulian
000fd43eec Merge "Report move to display for activities that handle config changes" 2017-02-17 18:27:29 +00:00
Winson Chung
49affea25b Fix trampoline activities when relaunching PiP
- We should be checking the actual launched-from package since that stores
  the source package across trampoline activities

Bug: 35458117
Test: Enter PiP from a trampoline activity, launch again from Launcher
      and ensure that it is expanded

Change-Id: Ia0e586e8b21dee63b513bd61a41a24e7da4325e1
2017-02-17 10:07:30 -08:00
Phil Weaver
d666953f57 Clarify extra data argument nullness.
Bug: 35098706
Test: Trivial change, so I just verified that it builds.
Change-Id: I234afe4f1e52ef1c4c64e44b486a539f0d46854c
2017-02-17 09:55:46 -08:00
Bartosz Fabianowski
4f7e1fc9af Merge "Add API for checking whether the default IME was set by the DO/PO" 2017-02-17 17:53:02 +00:00
Dmitry Dementyev
a63a9d4c34 Merge "Update AccountManager getAccountVisibility method to better handle default cases." 2017-02-17 17:06:18 +00:00
Aaron Whyte
cdb8fcb611 Merge "Unhide InputDevice.SOURCE_ROTARY_ENCODER" 2017-02-17 16:40:51 +00:00
TreeHugger Robot
bae3d7083f Merge "Spline: Fix monotonicity constraint" 2017-02-17 14:53:29 +00:00
TreeHugger Robot
df31649933 Merge "Backup service APIs not available on parent profile instance" 2017-02-17 12:06:33 +00:00
Esteban Talavera
5b7f2d0858 Backup service APIs not available on parent profile instance
Bug: 35432611
Test:  cts-tradefed run cts-dev --module DevicePolicyManager --test  com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled
Change-Id: Ia1621183dee17dcd183a668f1714b563f79e5b17
2017-02-17 09:45:24 +00:00
TreeHugger Robot
5dd1308bbc Merge "Fix duplicate calls of IMS#doStartInput()" 2017-02-17 08:24:47 +00:00
Dmitry Dementyev
06f32e0abd Update AccountManager getAccountVisibility method to better handle default cases.
Test: cts, manual
Change-Id: Ic0f8fef9f928fefa6cc32a91c471969f7d5a4e45
2017-02-16 20:31:05 -08:00
Santos Cordon
bd9dd552e4 Back up VR screen brightness setting.
'adb help backup' to see how to do backup/restore to a file.

Verified value did not backup prior to change and that it did afterward.

Bug: 34437367
Testing: Set to 30%, do backup, set to 100%, do restore, should be 30%.

Change-Id: I43ce31bf50bc4608e8ce9b87ea0bdb83bac52e61
2017-02-17 03:11:19 +00:00
TreeHugger Robot
d2bd42e736 Merge "Add Secure setting for the assist gesture." 2017-02-17 02:12:58 +00:00
Hugo Benichi
01432b306d resolve merge conflicts of 9355bce0c3 to master
Test: none
Change-Id: Iac65e01d07edf79ec97e7d996f8cfee6f811606b
2017-02-17 10:47:58 +09:00
Andrii Kulian
b047b8bd7e Report move to display for activities that handle config changes
When activity that is moved between displays handles all configuration
changes, it won't be restarted. This CL adds a callback to the client
to notify it about display change. Usually it will be followed by
onConfigurationChanged, except when configuration didn't actually change.
When activity is recreated, it won't receive onMovedToDisplay.

Bug: 34862802
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testOnMovedToDisplayCallback
Change-Id: I9a9501cab788623ada15a31efb53e4b2378639fe
2017-02-16 17:33:59 -08:00
Yohei Yukawa
4e28668a15 Fix duplicate calls of IMS#doStartInput()
This is another follow up CL to my previous CL [1], which had a bug
that InputMethodService#doStartInput() is now always called back twice.

There was a careless mistake when rebasing the CL [1] onto the previous
CL [2], which ended up with dispatching startInput() twice in
IInputMethodWrapper.

In short, InputMethod#dispatchStartInputWithToken() is the new way to
dispatch startInput()/restartInput(). We do not need to call both of
them.

 [1]: I9921b381e02106dbffff5e0b3d13f0a1245ce807
      6db3bfe33d
 [2]: I476d0cf8cbb0a0134941854f9337d9ad15e66a71
      f7526b5896

Test: Set true to InputMethodService#DEBUG and make sure startInput()
      and restartInput() are called in the following scenario.
      1. Complete the setup wizard.
      2. adb shell am start -a android.app.action.SET_NEW_PASSWORD
      3. Proceed to "Choose your password" page
      4. Make sure startInput() gets called only once.
      5. Type "aaaa" then hit "CONTINUE" button.
      6. Make sure restartInput() gets called only once.
Bug: 35079353
Fixes: 35442939
Change-Id: Ifde16c3fad5b787d4c9a11bd886943dfe96f9eb9
2017-02-16 17:19:00 -08:00
Hugo Benichi
9355bce0c3 Merge "IP connectivity metrics: delete obsolete logger service" am: 37e3f22c2e am: c54962a4bd
am: 9c2b6afa2f

Change-Id: I5f8cd508812d9532778c2f1f019308a4b8d8ee33
2017-02-17 00:18:35 +00:00
Hugo Benichi
9c2b6afa2f Merge "IP connectivity metrics: delete obsolete logger service" am: 37e3f22c2e
am: c54962a4bd

Change-Id: Iccc3ee97bd2ac267b312c6c7d9269ac02a2bd68e
2017-02-17 00:09:11 +00:00
Hugo Benichi
c54962a4bd Merge "IP connectivity metrics: delete obsolete logger service"
am: 37e3f22c2e

Change-Id: Ib335bc5e19c2c703d23267bf2835fc89fcf5a957
2017-02-17 00:00:14 +00:00
Hugo Benichi
37e3f22c2e Merge "IP connectivity metrics: delete obsolete logger service" 2017-02-16 23:52:13 +00:00
Leonard Mosescu
de021d8162 Merge "Adding "attach-agent" to ActivityManagerShellCommand" am: 05dfd10254 am: db0803b4e8
am: 7bf598cbd9

Change-Id: If7b73860cc8249b997d5e9a7a4d149732b08449b
2017-02-16 23:37:48 +00:00
Leonard Mosescu
7bf598cbd9 Merge "Adding "attach-agent" to ActivityManagerShellCommand" am: 05dfd10254
am: db0803b4e8

Change-Id: I4493e6b3bd2cf8447e8c3043878ad0f531c0e677
2017-02-16 23:29:16 +00:00
Leonard Mosescu
db0803b4e8 Merge "Adding "attach-agent" to ActivityManagerShellCommand"
am: 05dfd10254

Change-Id: I3623f617319f03bad87f65b61959ec2ce822ac7e
2017-02-16 23:24:32 +00:00
Leonard Mosescu
05dfd10254 Merge "Adding "attach-agent" to ActivityManagerShellCommand" 2017-02-16 23:12:26 +00:00
TreeHugger Robot
1001478242 Merge "Do not return cryptic strings from ClipData.Item.coerceToText" 2017-02-16 22:22:31 +00:00
TreeHugger Robot
fc8139d086 Merge "Handle SecurityException in ClipData.Item.coerceToText" 2017-02-16 22:22:05 +00:00
Eino-Ville Talvala
6f57065bd4 Merge "camera case fail for testSceneModes" am: b59cd66e93 am: a22c40839e am: a494d7287f
am: 6bd164bcd3

Change-Id: I7c3afdccda0b6105f8ef740ea0dc95528fdae91d
2017-02-16 21:57:34 +00:00
Eino-Ville Talvala
6bd164bcd3 Merge "camera case fail for testSceneModes" am: b59cd66e93 am: a22c40839e
am: a494d7287f

Change-Id: I8e7c31b71e1ccfb77d5cb46949e438c2f1e1ef4c
2017-02-16 21:53:23 +00:00
Eino-Ville Talvala
a494d7287f Merge "camera case fail for testSceneModes" am: b59cd66e93
am: a22c40839e

Change-Id: I52fca667fcd8b8ff501bb145ee49934ba47f92a3
2017-02-16 21:48:53 +00:00
Eino-Ville Talvala
a22c40839e Merge "camera case fail for testSceneModes"
am: b59cd66e93

Change-Id: I509c87e5b69e4bd26dc97e86063f7a24860e8b3b
2017-02-16 21:44:56 +00:00
Eino-Ville Talvala
b59cd66e93 Merge "camera case fail for testSceneModes" 2017-02-16 21:35:36 +00:00
Leonard Mosescu
02758a9a80 Adding "attach-agent" to ActivityManagerShellCommand
This new command is used to attach runtime agents to a running application:

attach-agent <PROCESS> <FILE>
   Attach an agent to the specified <PROCESS>,
   which may be either a process name or a PID.

Test: m test-art-host, manual testing:
    . invalid syntax, missing arguments
    . invalid syntax, extra arguments
    . invalid numeric PID
    . invalid process name
    . valid process, not debuggable
    . valid process, missing agent
    . valid process, valid agent

Bug: 31682382

Change-Id: I61cc8bf20addb1702acc8e7aae65b2f9ed7c5ca0
Merged-In: Ife88dbf23991dde7945d9208e54cd014bb7ecdc6
2017-02-16 13:19:41 -08:00
TreeHugger Robot
ceb250424a Merge "Resolve pointer icon over FastScroller to arrow." 2017-02-16 21:18:42 +00:00
TreeHugger Robot
ab9b002400 Merge "Clean up DialogInterface lint warnings, docs, ws" 2017-02-16 20:48:02 +00:00
Xiaohui Chen
b69aaf0b35 Merge "ReolverActivity: try auto launching single choice" into nyc-mr2-dev am: daacf547ac
am: 0a804ff49c

Change-Id: I8f378b98f29aea48773804bb65306c5b6760a758
2017-02-16 19:37:17 +00:00
Xiaohui Chen
0a804ff49c Merge "ReolverActivity: try auto launching single choice" into nyc-mr2-dev
am: daacf547ac

Change-Id: I06ca33714f6227f8cf86ecce29e1b87df80add6b
2017-02-16 19:29:18 +00:00
TreeHugger Robot
daacf547ac Merge "ReolverActivity: try auto launching single choice" into nyc-mr2-dev 2017-02-16 19:22:02 +00:00
TreeHugger Robot
209346faa0 Merge "Remove final from View.setTooltipText/getTooltipText" 2017-02-16 18:56:32 +00:00
Esteban Talavera
a5b0963c0c Mark clearDeviceOwnerApp/clearProfileOwner as deprecated
Bug: 33175679
Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest    frameworks-services
Change-Id: I05e10638d838ccf8dc67b7a01b3ffeb7cbea8500
2017-02-16 18:47:06 +00:00
TreeHugger Robot
89863ea4f6 Merge "Suppress a11y shortcut on emergency dialer" 2017-02-16 18:36:39 +00:00
Makoto Onuki
467d4ab03d Merge "Make the DPM account strings system-APIs." 2017-02-16 17:58:02 +00:00
Vladislav Kaznacheev
11372fa466 Resolve pointer icon over FastScroller to arrow.
Currently the icon defined by the host AbsListView is displayed
over the fast scroll area.

Bug: 35424111
Test: manual
Change-Id: Ia9897a44550922f16573b97337841c3f6ae263da
2017-02-16 09:37:56 -08:00
TreeHugger Robot
15c4454970 Merge "Allow setImeWindowStatus with null startInputToken" 2017-02-16 17:29:36 +00:00
Nick Kralevich
d0a2d5edea Merge "system_server: add CAP_SYS_PTRACE" 2017-02-16 17:24:43 +00:00
Felipe Leme
387f45d78f Merge "Add URL on ViewStructure." 2017-02-16 16:04:22 +00:00