309070 Commits

Author SHA1 Message Date
Hangyu Kuang
cd923a219f media: Add new key for latency support
Test: NONE
Bug: 34221970
Change-Id: Id2d64f9be6bffaff1897079b5132388046882334
2017-02-27 18:10:17 +00:00
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
Hakan Seyalioglu
58fc95dc57 Push chooser targets to the shortcut manager.
More info at go/direct-share-push

Test: Some basic testing currently in, more to be added.

Change-Id: I069f9779988c3eca2c4d8b83ec62501983854355
2017-02-27 09:39:10 -08:00
Paul Lawrence
08b93c1e97 Move seccomp policy logic to bionic
Test: Make sure builds, runs, seccomp policy still applied
Bug: 35720753
Change-Id: Ieb09dd88cf070d4b4f1277d1a88d0ce250bb05b4
2017-02-27 09:35:18 -08: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
Dave Schaefer
9853743705 AccessPoint - Add Builder; Add unit tests for compareTo()
Add a Builder class to make testing easy and clean.
Add unit tests to enforce the sorting order that we want.
Refactor some compareTo() internals to use existing methods rather than
duplicating functionality.
Refactor isReachable() functionality to a new method.
Update tests to use Truth assertion library.

Test: Run local AccessPoint unit tests:

adb shell am instrument -w -e class
com.android.settingslib.wifi.AccessPointTest
com.android.settingslib/android.support.test.runner.AndroidJUnitRunner

Bug: 35042429
Change-Id: I7c8a1ca69800f62e1fb13141e58b4e52b2bc3d70
2017-02-27 08:52:01 -08: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 48c30ef529543c9bbd1b55f9e05c666b3ffeb7c6.

Reverting build-breaking change

Change-Id: Iad6270e51cb1ead0efbd52c2dfcc6d2118931e4e
2017-02-27 16:35:53 +00:00
Roozbeh Pournader
19b05500b7 Document future removal or move of fonts.xml
Users are referred to alternative ways to find the data.

Test: not needed
Change-Id: I399b3aed8d04b0eecf163f61faba8fd5babc74de
2017-02-27 08:32:41 -08: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
Todd Kennedy
2fc7c3f7e0 don't call settings provider with pkg mgr lock
Bug: 34739922
Test: manual
Change-Id: I8bd5ad76d1db5125d75c086b7f0aa24b7ac3919a
2017-02-27 07:34:35 -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
Jorim Jaggi
f75aac6239 Update paint filer when updating thumbnail
Test: Enable task snapshots, go to recents, scroll, make sure no
jump in darkness of thumbnail

Change-Id: I5448192bd87259eb8a4e1e7b7c55c1aa82693d2e
2017-02-27 16:04:24 +01: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
Jason Monk
bd9836496c Provide some compatibility story for devs in the past
They should be providing themes when resolving certain resources,
but they aren't anyway, so try to provide it free of charge, when
possible. Also, nothing is ever free.

Test: Open app that uses old/bad resource methods
Change-Id: Icd57aadf1202ddffb1dd73ab45119fae7e5d6130
Fixes: 35656110
2017-02-27 09:21:53 -05: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 e091985bb5b5 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 e091985bb5b5 to stage-aosp-master
am: 82c46d11f6

Change-Id: I2b6b5f698d03c86957fdaf4f73e26dfe36758924
2017-02-25 04:58:12 +00:00