230575 Commits

Author SHA1 Message Date
Matt Sarett
634ac1e497 Revert "Encode paletted PNGs more efficiently"
This reverts commit 3c7235d3868d4bf554d4c1700ac11fc3d4125c71.

Change-Id: I615827c7f4570467bb85c115c01de8c3b46e4e8a
2016-01-29 23:57:53 +00:00
Matt Sarett
3c7235d386 Encode paletted PNGs more efficiently
Saves about 2 MB of encoded size across affected assets.

Also will enable more efficient decoding.

Specifically, encoded palette values are assumed to be opaque unless
alpha values are provided in a tRNS chunk.  Before this change, we
would wastefully store many opaque alpha values in tRNS chunk.
Additionally, the decoder used to need to premultiply all of these
opaque colors, because the encoded data indicated that they had alpha.

Change-Id: I1d5400f71a0e3cb800fd0fc68a04c8c4069da8ef
2016-01-29 22:56:45 +00:00
Rubin Xu
795c458c89 Merge "Turn off profile by stopping the user." 2016-01-25 17:33:43 +00:00
Svetoslav Ganov
a3a1ea3dbe Merge "Clear binder calling identity before mutating secure settings." 2016-01-25 17:24:02 +00:00
Adrian Roos
4afbe99127 Merge "Improved trust error messaging (1/2)" 2016-01-25 17:20:11 +00:00
Felipe Leme
0f9f67132c Merge "Fixed javadoc so @hide annotations don't show up in the API." 2016-01-25 17:13:51 +00:00
Svet Ganov
81fcf7037b Clear binder calling identity before mutating secure settings.
The accessibility manager service changes secure settings without
clearing binder calling identnty. Luckily it worked for a long
time as the calls resulting in a secure setting change were not
made on a binder thread. Now we clear calling identity before
mutating secure settings - note that we alsways do this after
a security check, hece it is safe.

bug:26766532

Change-Id: Icb188e6de1a134f38de0bdb23c67fa4ff2806ba4
2016-01-25 09:12:44 -08:00
Andres Morales
56efa64d62 Merge "stash FrameStatsObservers when mAttachInfo is null" 2016-01-25 16:51:37 +00:00
Andres Morales
214a137209 Merge "expose hwui frame stats through FrameStatsObserver" 2016-01-25 16:51:14 +00:00
Chris Wren
36c297f426 Merge "a step toward enforcing unique metrics log IDs" 2016-01-25 16:37:55 +00:00
Tom Hudson
241828e8c7 Merge "Replace SkALWAYSBREAK with equivalent Android macros." 2016-01-25 16:33:59 +00:00
Rubin Xu
f13c980169 Turn off profile by stopping the user.
Bug: 22541941
Change-Id: I713ab9b87f3dd1b7bd6206af137562d20a44d76d
2016-01-25 16:29:29 +00:00
Adrian Roos
67a55fdb05 Merge "Prevent crash and ANR dialogs in VR mode" 2016-01-25 16:24:24 +00:00
Chris Wren
77781d3aaa a step toward enforcing unique metrics log IDs
First of several change lists:
1. Add in the new proto (this CL)
2. Migrate the existing code over to the proto.
3. Remove MetricsConstants once it is unused.

Bug: 26442178
Change-Id: Ic24829246af8ec5b202e39a85960aac5cf336c33
2016-01-25 11:24:08 -05:00
Niels Egberts
cac707dc1d Merge "API to listen in on the synthesized audio." 2016-01-25 16:19:10 +00:00
Adrian Roos
c13723f22e Improved trust error messaging (1/2)
Tracks why trust agents are disabled and shows
a generic message on the keyguard. Dedicated strings
in follow-up.

Bug: 22704995
Change-Id: Ibb4fd9c9386c4dc12f0734004502b9a9cc6ded79
2016-01-25 08:04:42 -08:00
Derek Sollenberger
a3f16d4377 Replace SkALWAYSBREAK with equivalent Android macros.
Change-Id: Icb7786c789915375d7d8754fc8536302c1020858
2016-01-25 10:33:01 -05:00
Niels Egberts
c99ba1c3ed API to listen in on the synthesized audio.
Change-Id: Ic943d39a0540f0061ef6f629e4934dc71f69ab6b
2016-01-25 15:20:59 +00:00
Esteban Talavera
fe434a15d6 Merge "Add additional APIs supported work on the parent DPM instance" 2016-01-25 15:19:06 +00:00
Geoff Mendal
313b825fe6 Merge "Import translations. DO NOT MERGE" 2016-01-25 14:05:34 +00:00
Geoff Mendal
70d815eb64 Import translations. DO NOT MERGE
Change-Id: I6198abea42fededfce4ee9be2c7a88523ace87ca
Auto-generated-cl: translation import
2016-01-25 06:04:23 -08:00
Geoff Mendal
867f84774e Merge "Import translations. DO NOT MERGE" 2016-01-25 13:45:14 +00:00
Geoff Mendal
41cc6b5dc0 Merge "Import translations. DO NOT MERGE" 2016-01-25 13:44:26 +00:00
Geoff Mendal
861a25200a Import translations. DO NOT MERGE
Change-Id: Ic795f08684fc10e54499e25b31f4a3db3cbec981
Auto-generated-cl: translation import
2016-01-25 05:43:23 -08:00
Geoff Mendal
93f18cefca Import translations. DO NOT MERGE
Change-Id: Id69e1f05426df237d87764464acd6997ed22cff8
Auto-generated-cl: translation import
2016-01-25 05:40:21 -08:00
Geoff Mendal
edf1597632 Merge "Import translations. DO NOT MERGE" 2016-01-25 13:29:23 +00:00
Geoff Mendal
4ff50f02fd Import translations. DO NOT MERGE
Change-Id: I8f438e455cdd8053c92304766b84d327fd83ee9e
Auto-generated-cl: translation import
2016-01-25 05:20:39 -08:00
Bartosz Fabianowski
4c052f237a Implement user affiliation
A user/profile is considered affiliated if it is managed by the same
entity as the device. This is determined by having the device owner and
profile owners specify a set of opaque affiliation ids each. If the sets
intersect, they must have come from the same source, which means that the
device owner and profile owner are controlled by the same entity.

BUG=25599229

Change-Id: I393fe0de70272307ed3c811aaba4b48a5109c562
2016-01-25 14:18:43 +01:00
Esteban Talavera
6239991850 Add additional APIs supported work on the parent DPM instance
Bug: 22543972
Change-Id: I05061e34d120c64d5c49ca6b7b4014d7dadb68f4
2016-01-25 12:57:12 +00:00
Martijn Coenen
9ef46c26f1 Add new APIs to test-current.txt
Change-Id: I187fe73c9ce47e4f4ed74c1be8ce70cf66bd52cc
2016-01-25 11:33:52 +01:00
Martijn Coenen
f82ab8bea4 Merge "Implementation of HCE for NFC-F." am: e168012ff2
am: cf2f9d0966

* commit 'cf2f9d0966af01eb269b9ce6f2d08870647dd22f':
  Implementation of HCE for NFC-F.
2016-01-25 10:00:32 +00:00
Martijn Coenen
cf2f9d0966 Merge "Implementation of HCE for NFC-F."
am: e168012ff2

* commit 'e168012ff21408f8be85040bb4ac977061519f62':
  Implementation of HCE for NFC-F.
2016-01-25 09:56:20 +00:00
Martijn Coenen
e168012ff2 Merge "Implementation of HCE for NFC-F." 2016-01-25 09:48:43 +00:00
Daichi Hirono
7d1ca068a2 Merge "Update "accessing files" notification resources." 2016-01-25 08:28:23 +00:00
Daichi Hirono
e6bffff9d9 Update "accessing files" notification resources.
* Replace tentative resources with real ones.
 * Show the notification for each device as per request from UX.

BUG=26625702

Change-Id: Ibcfe7075e4827d5aee216ce5c0007f6dd4572efe
2016-01-25 16:27:19 +09:00
Yin-Chia Yeh
e76958297a Merge "ImageReader: fix missing pixel stride" 2016-01-25 02:26:11 +00:00
Daichi Hirono
7ed413524b Merge "Add eventsSupported property to MtpDeviceInfo." 2016-01-25 01:59:27 +00:00
Daichi Hirono
148954a657 Add eventsSupported property to MtpDeviceInfo.
The property provides the set of event code that are supported by
MtpDevice.

BUG=26147375

Change-Id: I54be75e4bb52ddfe9aba8630538ddd32d1a641c8
2016-01-25 10:47:01 +09:00
Tomasz Mikolajewski
c46d891170 Merge "Make ACTION_QUICK_VIEW public." 2016-01-25 01:04:02 +00:00
Zhijun He
aa40596889 Merge "Camera2: add surface set ID" 2016-01-24 17:42:43 +00:00
Casey Burkhardt
86b867fd45 Adds Settings.System.FONT_SCALE observer to ActivityManagerService
Changes to Settings.System.FONT_SCALE were not being handled by any service,
which required a device reboot for any changes to take effect.  Changes to
this field by the Settings app worked as expected only because it is able to
poke ActivityManager with an updated configuration, whereas unbundled
applications cannot.

This also ensures the setting value is backed up and doesn't conflict with
a configured value from accessibility onboarding during restore.

Bug:23033258
Change-Id: I98d4aed2f9f5893d054e6b10c4dfda406de8eba2
2016-01-24 04:21:36 -08:00
Amith Yamasani
0af6fa7015 Voice Interaction from within an Activity
This allows an app to show a voice search button
and invoke a voice interaction session for use
within the activity. Once the activity exits, the
session is stopped.

Test application has a new activity that
demonstrates it with the test voice interaction
service.

This initial version is functional enough for
an integration test, with some more tests
and improvements to come later.

Bug: 22791070
Change-Id: Ib1e5bc8cae1fde40570c999b9cf4bb29efe4916d
2016-01-23 21:25:50 -08:00
Wale Ogunwale
b9dd234a6c Merge "Removed some left over log spam." 2016-01-24 02:16:18 +00:00
Wale Ogunwale
834c236c40 Removed some left over log spam.
Change-Id: Iaac41b7202b7634185bf522dfab36832c4830bba
2016-01-23 18:14:58 -08:00
Yin-Chia Yeh
74fc02bf79 Merge "Camera: add post RAW sensitivity keys" 2016-01-23 23:05:03 +00:00
Sailesh Nepal
9c4b82cf95 Merge "Make missed call action public" 2016-01-23 18:28:31 +00:00
Jorim Jaggi
cbb2382992 Merge "NullPointerException when starting VoiceInteractionManagerService" am: b7fbe1104f
am: 5d6da4eab0

* commit '5d6da4eab024c13afbfef5cfec0f9f2b19168318':
  NullPointerException when starting VoiceInteractionManagerService
2016-01-23 03:47:29 +00:00
Felipe Leme
dc7af96141 Fixed javadoc so @hide annotations don't show up in the API.
BUG: 26082535

Change-Id: Ifb5ddedddc87bc65dc5158286503c64581b5a4f3
2016-01-22 18:48:44 -08:00
Felipe Leme
6f8429757b Merge "Minor fixes on string resources due to translation issues." 2016-01-23 02:43:18 +00:00
Felipe Leme
b5e496d0e4 Minor fixes on string resources due to translation issues.
BUG: 26723186
BUG: 26733350
Change-Id: I17d5f7c6845ad1dea00b1085bf57073d16a3fd44
2016-01-22 18:27:38 -08:00