Commit Graph

308842 Commits

Author SHA1 Message Date
Winson Chung
47f2bf605f Fix PiP being out of bounds when launched into forced orientation
- Ensure that we use the right bounds when calculating the post-rotation
  bounds (it should always be the target bounds)
- Ensure that we update the controller when the task stack bounds change

Bug: 35402420
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testEnterPipToOtherOrientation
Change-Id: Ie0e3fc6a93b4eb6250c60584e80afb029b3c599a
2017-02-27 10:09:02 -08:00
TreeHugger Robot
eba6e6c7dc Merge "Move the lock item for the QS WifiPicker." 2017-02-27 18:04:06 +00:00
Bryce Lee
6d4d9b8038 Merge "Remove activity from task if not set properly." 2017-02-27 17:51:05 +00:00
Andrei Stingaceanu
81926e39f0 Merge "AutoSize TextView (part 11) - fix final APIs" 2017-02-27 17:42:19 +00:00
TreeHugger Robot
956545b07f Merge "Exit touch mode on mouse/stylus click" 2017-02-27 17:40:03 +00:00
TreeHugger Robot
592637dc69 Merge "Implicitly cast views obtained via View.findView methods" 2017-02-27 17:33:37 +00:00
TreeHugger Robot
5c54947355 Merge "Fix build using ANDROID_COMPILE_WITH_JACK=false" 2017-02-27 17:31:24 +00:00
Winson Chung
a629d524e7 Merge "Fixing regression when going to fullscreen from PiP." 2017-02-27 17:23:47 +00:00
TreeHugger Robot
d41189339b Merge "Make Half look like and behave like a boxed instance" 2017-02-27 17:19:10 +00:00
Paul Lawrence
3a93605b74 Merge "Revert "Move seccomp policy logic to bionic"" am: 4ebce43b37 am: a853184575
am: 8084e15ad6

Change-Id: I1bd484bad3b6c51f60a12e6d8568b8928ef643e0
2017-02-27 16:55:43 +00:00
Paul Lawrence
8084e15ad6 Merge "Revert "Move seccomp policy logic to bionic"" am: 4ebce43b37
am: a853184575

Change-Id: I311f326743a9945eec04aebafaadbf6b64e06fe3
2017-02-27 16:51:06 +00:00
Jerome Gaillard
50e9c0914a Merge "Add stroke width property used by animated vector drawables" 2017-02-27 16:48:39 +00:00
Paul Lawrence
a853184575 Merge "Revert "Move seccomp policy logic to bionic""
am: 4ebce43b37

Change-Id: I276412507fcb3ef577931e7406964fd7040615c7
2017-02-27 16:47:12 +00:00
TreeHugger Robot
8732003f69 Merge "Make IKeyChainAliasCallback oneway" 2017-02-27 16:39:56 +00:00
Paul Lawrence
4ebce43b37 Merge "Revert "Move seccomp policy logic to bionic"" 2017-02-27 16:39:12 +00:00
Paul Lawrence
be0d6a6890 Revert "Move seccomp policy logic to bionic"
This reverts commit 48c30ef529.

Reverting build-breaking change

Change-Id: Iad6270e51cb1ead0efbd52c2dfcc6d2118931e4e
2017-02-27 16:35:53 +00:00
Paul Lawrence
37c9cce732 Merge "Move seccomp policy logic to bionic" am: 7ed4ca9032 am: d97791e74f
am: 1a6a6f0277

Change-Id: I7b7398efd1479b6b5ecdaf81e9760a09e0ee9b55
2017-02-27 16:28:22 +00:00
Paul Lawrence
1a6a6f0277 Merge "Move seccomp policy logic to bionic" am: 7ed4ca9032
am: d97791e74f

Change-Id: I12c1efaa13d3998fc9fb22ec08df4a12bf29c3c8
2017-02-27 16:22:11 +00:00
Paul Lawrence
d97791e74f Merge "Move seccomp policy logic to bionic"
am: 7ed4ca9032

Change-Id: I744d6c4545edd9d221deb79bbbeea83d459e3161
2017-02-27 16:15:38 +00:00
Paul Lawrence
7ed4ca9032 Merge "Move seccomp policy logic to bionic" 2017-02-27 16:09:39 +00:00
Alan Viverette
8e1a729645 Implicitly cast views obtained via View.findView methods
Removes all explicit casts from android.widget classes. Also @removes
methods on ListView that were overriding @hidden methods and should
never have been exposed as public API.

Bug: 24137209
Test: make
Change-Id: I89f0e51258560987b3942251fd249210f825ac2a
2017-02-27 11:06:20 -05:00
Justin Klaassen
52577dbc0c Fix build using ANDROID_COMPILE_WITH_JACK=false
services/core/.../wm/WindowManagerService.java:5175:
error: cannot find symbol
    final class H extends Handler {

Bug: 32709235
Test: lunch aosp_x86-eng && make -j32 ANDROID_COMPILE_WITH_JACK=false
Change-Id: I8c5990cf5a244cc2cc784673225397f9d1a74923
2017-02-27 07:57:09 -08:00
Bryce Lee
0f9bde84a1 Remove activity from task if not set properly.
We do not start an activity in the case of a lock task mode
violation. However, the activity is still associated with the task
and therefore participates in future interactions, such as
visibility checks.

This changelist addresses this issue by removing the assocation in
the case of failures.

Change-Id: I77692465cb1082478528771fd6fd844fab62f697
Fixes: 35034729
Fixes: 35035258
Fixes: 34179495
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_deviceOwnerUser
2017-02-27 07:26:30 -08:00
Andrei Stingaceanu
ab18567419 AutoSize TextView (part 11) - fix final APIs
* public attr "autoSizeText" becomes "autoSizeTextType"
  (inlined with all other methods and naming)
* documentation for autoSizetextType "uniform" re-worked:
  "The TextView scales text size both horizontally and
  vertically to fit  within the container"
* converted comments into Javadoc for
  TextView#AUTO_SIZE_TEXT_TYPE_NONE and
  TextView#AUTO_SIZE_TEXT_TYPE_UNIFORM
* better documented attr "autoSizePresetSizes" to specify
  it is a resource array of dimensions
* various small fixes in comments

Bug: 35755149
Bug: 35763485
Bug: 35764658
Bug: 32221168
Test: run cts-dev -m CtsWidgetTestCases -t \
      android.widget.cts.TextViewTest

Change-Id: I36afd399e005521b6e85922aa9e1e4418bb960e1
2017-02-27 15:17:46 +00:00
Jerome Gaillard
434968aa2f Add stroke width property used by animated vector drawables
This is for example used in displaying a checked radio button.

Test: Modified widget render test to include a checked radio button
Change-Id: I43074ce038f69f28c0cf5fb396d393722b02b142
2017-02-27 14:44:46 +00:00
Jorim Jaggi
035ecae4bb Merge "Fix sharing bugreports from lockscreen" 2017-02-27 14:22:30 +00:00
Seigo Nonaka
194f375979 Merge "Follow Minikin's signature changes." 2017-02-27 04:30:31 +00:00
Tyler Gunn
a955c9df90 Merge "Fix videoStateToString for audio/paused state." am: 89e7a888be am: 2f96f34373
am: 9b59cc7bad

Change-Id: Idee131069636fc8a4ea086a3d41bce4c1dfcbda6
2017-02-27 03:10:57 +00:00
Tyler Gunn
6680508946 Merge "Format Japanese numbers using national format when in Japan." am: 050e5ddb4f am: 8ac499fbe6
am: a84292c9d7

Change-Id: I770af0bba538268797295f59c8675191a6ef41a6
2017-02-27 03:05:28 +00:00
Tyler Gunn
9b59cc7bad Merge "Fix videoStateToString for audio/paused state." am: 89e7a888be
am: 2f96f34373

Change-Id: Ia14b054be24acc2a767707b72a12902460cd11e7
2017-02-27 03:05:21 +00:00
Tyler Gunn
2f96f34373 Merge "Fix videoStateToString for audio/paused state."
am: 89e7a888be

Change-Id: I04fe4d5b61c548f3b5f012af343c4e08334933e0
2017-02-27 03:01:08 +00:00
Tyler Gunn
a84292c9d7 Merge "Format Japanese numbers using national format when in Japan." am: 050e5ddb4f
am: 8ac499fbe6

Change-Id: Ied615fbaf689a931a2b93785d944f2a8bd7f49dd
2017-02-27 02:59:21 +00:00
Tyler Gunn
89e7a888be Merge "Fix videoStateToString for audio/paused state." 2017-02-27 02:55:25 +00:00
Tyler Gunn
8ac499fbe6 Merge "Format Japanese numbers using national format when in Japan."
am: 050e5ddb4f

Change-Id: I996a79c2b3158e1fd6999330e0b0b21f8e4c8b4b
2017-02-27 02:54:49 +00:00
Tyler Gunn
050e5ddb4f Merge "Format Japanese numbers using national format when in Japan." 2017-02-27 02:48:11 +00:00
Seigo Nonaka
c7064146f9 Follow Minikin's signature changes.
Minikin now uses shared_ptr instead of MinikinRefCounted.

Bug: 28119474
Test: manually tested
Test: hwui_unit_tests passed.
Change-Id: Ie0564851a8a798af112679e15f7a07db000a977e
2017-02-27 11:15:19 +09:00
Jeff Sharkey
4190575960 Merge "Delete @removed APIs that never shipped." 2017-02-27 01:45:44 +00:00
Romain Guy
95b52fd187 Make Half look like and behave like a boxed instance
Bug: 35765416
Test: HalfTest
Change-Id: I7ef52428f8b4e2c05b91d7eb37cc4cb5ecc5c6b9
2017-02-26 09:37:52 -08:00
Andy Hung
adcab8234a Merge changes I21b77905,Ia98ec539
* changes:
  VolumeShaper: Use VolumeAutomation interface and unhide
  VolumeShaper: Remove PlayerProxy constructor
2017-02-26 07:04:41 +00:00
TreeHugger Robot
d627294d83 Merge "Catch all exceptions thrown by the interfaces." 2017-02-26 04:39:13 +00:00
Jack Yu
1399ad76fb resolve merge conflicts of e091985bb5 to stage-aosp-master am: 82c46d11f6
am: 9080d6708d  -s ours

Change-Id: I112682c76b21e0cc646026e6ec2f3b883023427c
2017-02-25 06:16:51 +00:00
Jack Yu
9080d6708d resolve merge conflicts of e091985bb5 to stage-aosp-master
am: 82c46d11f6

Change-Id: I2b6b5f698d03c86957fdaf4f73e26dfe36758924
2017-02-25 04:58:12 +00:00
TreeHugger Robot
68b41c9a1b Merge "Strip out some logics from ESP to FSP that DSP can use." 2017-02-25 04:17:33 +00:00
TreeHugger Robot
313fd5f345 Merge "Do not set tooltips on items in list-based menus." 2017-02-25 03:41:17 +00:00
Andy Hung
fef734cec1 VolumeShaper: Use VolumeAutomation interface and unhide
Test: Ducking and CTS
Bug: 31015569
Change-Id: I21b77905e86bf336c05aad5378f33ff36a92b3b5
2017-02-24 19:12:50 -08:00
Andy Hung
7da0e98219 VolumeShaper: Remove PlayerProxy constructor
Use of the VolumeShaper through PlayerProxy requires system ids,
which is different enough from PlayerBase that we don't allow
direct construction.

Test: Ducking
Bug: 31015569
Change-Id: Ia98ec5396047ae39e78237bb7e485d07f2eb1efd
2017-02-24 19:12:35 -08:00
TreeHugger Robot
d77ae2b0ac Merge "Implement reset to original selection." 2017-02-25 02:57:55 +00:00
Jack Yu
82c46d11f6 resolve merge conflicts of e091985bb5 to stage-aosp-master
Test: Manual
Change-Id: Icaf4663abd3ad233afa3e31ff1939dbb7c07a2a5
2017-02-24 18:47:01 -08:00
TreeHugger Robot
bcf55c19ed Merge "Add CIECAT02 chromatic adaptation transform" 2017-02-25 02:45:55 +00:00
TreeHugger Robot
7548ad9ed0 Merge "Process the NetworkInfo before updating AccessPoints." 2017-02-25 02:31:47 +00:00