308614 Commits

Author SHA1 Message Date
Matt Sarett
327c7207a0 BitmapFactory: Remove legacy premultiply hacks
Skia now has a mode that will perform color correction,
but still do the premultiply on gamma encoded bytes.

Test: Flashed device, ran cts.

Change-Id: Ib1d1ea1074b5e6d1a49ecfc45e25552643dc04bc
2017-02-22 17:38:28 -05:00
Amin Shaikh
bc9a8e6f5b Add "Use open Wi-Fi automatically" setting.
- Add constant in NetworkScoreManager for the meta-data key required
for NetworkRecommendationProviders to specify which package provides
this feature.
- Add Setting to specify which package is enabled for providing this
feature.

Bug: 34773276
Test: make
Change-Id: I3f8209c21b8b219c242650f97ba407b5985a5250
2017-02-22 14:23:50 -08:00
Sudheer Shanka
c9d9407e8e Revert "Ensure network connectivity on app start."
This reverts commit 27e693158398059d00ff20e60640cb105e255625.

Change-Id: I4c41ce7c1839d3b91931bc8a8f117f32bf6cd381
2017-02-22 22:13:55 +00:00
Sudheer Shanka
9a53d03104 Merge "Revert "Notify NPMS when uid becomes active or idle."" 2017-02-22 22:10:47 +00:00
Sudheer Shanka
ed208456ef Merge "Revert "Set default wait-for-network timeout to 0."" 2017-02-22 22:07:20 +00:00
TreeHugger Robot
56eef4433f Merge "AAPT2: Rename strip phase to optimize" 2017-02-22 21:15:30 +00:00
TreeHugger Robot
8f1a1dd0fc Merge "Don't show the percentage twice when charging." 2017-02-22 21:11:34 +00:00
Sudheer Shanka
4eee99977b Revert "Notify NPMS when uid becomes active or idle."
This reverts commit ac0a61bad30e5a2ff45a85aaa6cf910e08911a2b.

Change-Id: I87d239cef51fc00567054644efceeca1ad2b463d
2017-02-22 21:03:53 +00:00
Sudheer Shanka
769ba4918a Revert "Set default wait-for-network timeout to 0."
This reverts commit d4f081cca4aa2b3b0fd1065839aedc1587dac94a.

Change-Id: Id55a08d00119c048c3d738b9f6f2cc5626df9bbf
2017-02-22 21:03:43 +00:00
TreeHugger Robot
d43b676fcc Merge "AAPT2: Shared library support" 2017-02-22 21:03:14 +00:00
Phil Weaver
7c01afdd18 Remove abstract from AccessibilityService methods
Two methods on AccessibilityService were declared abstract, but
there doesn't seem to be a good reason for them to be abstract, as
it's possible to write an accessibility service that doesn't do
anything useful with the methods. Removing the abstract qualifier
to reduce boilerplate for service developers.

Bug: 31705365
Test: Trivial change, so I just verified that it builds.
Change-Id: I2af39848c8ab343d562361fdc1c3f8ca3ecb5f00
2017-02-22 12:54:40 -08:00
TreeHugger Robot
ab7bc7afd7 Merge "Updated some internal apps to use TYPE_APPLICATION_OVERLAY" 2017-02-22 20:53:33 +00:00
TreeHugger Robot
3ebd2b6bca Merge "Ensure that we tint PiP actions to be consistent." 2017-02-22 20:52:54 +00:00
TreeHugger Robot
555edd9503 Merge "VRManager: Set initial sleep state to 'AWAKE'" 2017-02-22 20:47:28 +00:00
Winson Chung
55893331fb Ensure we use the fullscreen stack bounds when expanding PiP.
- When in split screen, the PiP needs to animate to the fullscreen stack
  bounds when expanding.
- Created PinnedStackWindowController to house pinned-stack specific
  logic.

Bug: 35396882
Test: Expand PiP activity while split

Change-Id: If7397843743ce11b676f5566eba90e3442289fec
Signed-off-by: Winson Chung <winsonc@google.com>
2017-02-22 12:46:53 -08:00
Jeff Sharkey
3aa3a007f8 Merge "Split cache clearing into two phases." 2017-02-22 20:25:17 +00:00
TreeHugger Robot
54eb1d4910 Merge "Create am no-home-screen command." 2017-02-22 20:16:22 +00:00
TreeHugger Robot
a38649b19b Merge "Fix bug in auto launching with one entry." 2017-02-22 20:12:48 +00:00
TreeHugger Robot
120f971679 Merge "Disable settings nav drawer entirely." 2017-02-22 20:08:37 +00:00
Jean-Michel Trivi
0f49f82e97 VideoView: option for audio focus, support for AudioAttributes
Add API for VideoView to select whether it uses audio focus during
  playback, and how.
Add support for AudioAttributes

Test: cts-tradefed run cts -m CtsWidgetTestCases -t android.widget.cts.VideoViewTest
Bug 30955183
Bug 30258418

Change-Id: I581d32c79c78b8197ded2319e0d5bfdc35b93c5e
2017-02-22 12:04:24 -08:00
Leon Scroggins
11eb33214e Merge "underline is now only tracked by android" 2017-02-22 20:02:12 +00:00
Felipe Leme
0257c8a5d2 Fixed missing auto-fill save callbacks on TextView.
It was accidentally broken during a previous commit where the CTS test
failure was ignored by a known issue being fixed in another change -
this change fixes both problems.

Bug: 33550221
Bug: 3380254
Test: CtsAutoFillServiceTestCases pass (for real now :-)
Change-Id: I5b2aa6060995ca255e51d85aa6ec93a886fa522f
2017-02-22 11:57:53 -08:00
Hyunyoung Song
9ac142a61f Merge "Default android app icon should use <adaptive-icon> Test: install apk without application icon. manually check on default launcher." 2017-02-22 19:52:42 +00:00
TreeHugger Robot
873dd2ccff Merge "Fix issues with assistant stack visibility." 2017-02-22 19:50:43 +00:00
Julia Reynolds
31b2baac8d Add missing sound to important channels.
Test: runtest systemui-notification
Change-Id: I7b091d312220e3830f2cd613b7ac08f75c5f0a8c
2017-02-22 14:49:23 -05:00
TreeHugger Robot
9857ab99e4 Merge "Unhide root MIME type." 2017-02-22 19:45:48 +00:00
Abodunrinwa Toki
5e8092a118 Merge "FloatingToolbar: Menu items with icon + text." 2017-02-22 19:45:39 +00:00
Adam Lesinski
d48944a745 AAPT2: Rename strip phase to optimize
- Allow resource deduping, version collapsing, and sparse resource
  encoding.

Test: manual
Change-Id: Ia4aa892ab5b06ba1d5ea4a6efb51b00bc3a980c4
2017-02-22 11:41:55 -08:00
TreeHugger Robot
1f58d0b83c Merge "AOD: readd AOD settings on debuggable builds" 2017-02-22 19:39:46 +00:00
TreeHugger Robot
f5da23114d Merge "Improved documentation and added @CallSuper on onProvideAutoFillStructure()." 2017-02-22 19:39:18 +00:00
TreeHugger Robot
e08856454f Merge "Rename CameraService to CameraServiceProxy" 2017-02-22 19:36:58 +00:00
TreeHugger Robot
78e63bd64a Merge "Import translations. DO NOT MERGE" 2017-02-22 19:36:41 +00:00
Julia Reynolds
7d4d8e2dd3 Merge "Grant notification listener access to overlay pkgs" 2017-02-22 19:35:15 +00:00
TreeHugger Robot
b6eb3ebf26 Merge "Import translations. DO NOT MERGE" 2017-02-22 19:34:01 +00:00
Siyamed Sinir
e09e529085 Merge "Revert "Don't copy NoCopySpans in SpannableStringInternal"" 2017-02-22 19:28:07 +00:00
TreeHugger Robot
db82159669 Merge "Import translations. DO NOT MERGE" 2017-02-22 19:27:07 +00:00
Daniel Nishi
0f703e64e3 Add a flag to enable/disable the cache quota calc.
Bug: 34770259
Test: ServicesTests
Change-Id: I74155203c4802b1a3b89117859002bf40b1ca435
2017-02-22 11:24:10 -08:00
Adam Lesinski
ceb9b2f80f AAPT2: Shared library support
Test: make aapt2_tests
Change-Id: I98dddf1367e6c0ac425bb20be46e6ff05f4f2f45
2017-02-22 11:16:13 -08:00
Philip P. Moltmann
576a847e03 Don't trigger auto-fill request if mode is manual
Also improve descriptions of the attributes, constants and methods.

Test: Ran updated ViewAttributesTest
Bug: 34077687
Change-Id: I532f1b26b97ba113f316eed6fc68dae2ed33ea6a
2017-02-22 11:05:46 -08:00
Winson Chung
56fe8833c7 Ensure that we tint PiP actions to be consistent.
Test: Launch PiP with actions, ensure they are white
Bug: 34281934
Change-Id: I3d301928af80a14ee6d161492c55a62b720d3cca
2017-02-22 11:05:11 -08:00
Hall Liu
52084367c0 Merge "Introduce APIs for RTT calls (part 1)" am: 27ad05169e am: d83b06cd31
am: ba6c607728

Change-Id: I02e7291091d2452cb7cdb7351c8744606b340e76
2017-02-22 19:05:03 +00:00
Hall Liu
ba6c607728 Merge "Introduce APIs for RTT calls (part 1)" am: 27ad05169e
am: d83b06cd31

Change-Id: Id3608cf918d829ed785d7b75dffa6b6ce6990f34
2017-02-22 19:00:55 +00:00
TreeHugger Robot
1e14b5bb6a Merge "Import translations. DO NOT MERGE" 2017-02-22 19:00:30 +00:00
TreeHugger Robot
7843f0a799 Merge "Added auto-fill listeners for RadioGroup and CompoundButton." 2017-02-22 18:58:54 +00:00
Hall Liu
d83b06cd31 Merge "Introduce APIs for RTT calls (part 1)"
am: 27ad05169e

Change-Id: I3fb3cb89b467e5df808967dcd478964a84e2e61f
2017-02-22 18:56:48 +00:00
TreeHugger Robot
00a3c9358b Merge "Fixes dragging divider up in splitscreen puts the docked stack behind" 2017-02-22 18:53:13 +00:00
Hall Liu
27ad05169e Merge "Introduce APIs for RTT calls (part 1)" 2017-02-22 18:48:53 +00:00
Wale Ogunwale
791a887701 Updated some internal apps to use TYPE_APPLICATION_OVERLAY
TYPE_SYSTEM_ALERT is deprecated as of O.

Test: builds
Change-Id: Ic335ff0aa2f0356737c2e67debe8e71ea9eb2f41
2017-02-22 10:47:26 -08:00
Jeff Sharkey
458428ea66 Split cache clearing into two phases.
Use newly defined "V2_DEFY_QUOTA" flag to split cache clearing into
two phases: clearing data for apps above their quotas, and then
pushing deeper by clearing data for apps below their quotas.

Add placeholder comments for other data types that we're planning to
add shortly.  Route all clearing behavior through this new method,
which remains guarded behind a flag for now.

Test: builds, boots
Bug: 34692014
Change-Id: I678d7b4e2bf6c837dd8a9adbc36a53015907f75f
2017-02-22 11:47:17 -07:00
Lei Yu
b0833461e4 Merge "Make precentage calculation round up by 0.5%" 2017-02-22 18:44:38 +00:00