228365 Commits

Author SHA1 Message Date
Jason Monk
d2be14a16a Merge "Color transforms for the tuner" 2015-12-21 15:13:52 +00:00
Geoff Mendal
c3bf82250b Import translations. DO NOT MERGE am: fd87e92a42 -s ours am: bb107a854d -s ours
am: 82bb06c8f7  -s ours

* commit '82bb06c8f774bcdebdf0fc0de953f78c3b475b11':
  Import translations. DO NOT MERGE
2015-12-21 07:05:35 -08:00
Geoff Mendal
cdcc188bfa Import translations. DO NOT MERGE am: 72675c67d0 -s ours
am: 254df7ab5f  -s ours

* commit '254df7ab5f938dd5bdd67bf10234df68d5b5d4a6':
  Import translations. DO NOT MERGE
2015-12-21 15:01:38 +00:00
Geoff Mendal
82bb06c8f7 Import translations. DO NOT MERGE am: fd87e92a42 -s ours
am: bb107a854d  -s ours

* commit 'bb107a854d64b5c7ed4d8d93fc4c836e9e21c4c1':
  Import translations. DO NOT MERGE
2015-12-21 15:01:38 +00:00
Geoff Mendal
254df7ab5f Import translations. DO NOT MERGE
am: 72675c67d0  -s ours

* commit '72675c67d052b69dbac3a01faf631de90533a1dd':
  Import translations. DO NOT MERGE
2015-12-21 14:57:31 +00:00
Geoff Mendal
bb107a854d Import translations. DO NOT MERGE
am: fd87e92a42  -s ours

* commit 'fd87e92a42b659be5b120c59d9413d41e94b6753':
  Import translations. DO NOT MERGE
2015-12-21 14:57:29 +00:00
Geoff Mendal
72675c67d0 Import translations. DO NOT MERGE
Change-Id: I5348b439170faa76b7d85ce1ab04cebeb0a17c69
Auto-generated-cl: translation import
2015-12-21 06:53:38 -08:00
Geoff Mendal
fd87e92a42 Import translations. DO NOT MERGE
Change-Id: If00b01a244af6221a01d0c060c58da7389fd1b35
Auto-generated-cl: translation import
2015-12-21 06:50:08 -08:00
Jason Monk
d40328e687 Color transforms for the tuner
Change-Id: I615be65e2b020acd5520f93c04f426c4006221c5
2015-12-21 09:37:00 -05:00
Geoff Mendal
f0cc2f4a6e Merge "Import translations. DO NOT MERGE" 2015-12-21 14:13:44 +00:00
Geoff Mendal
3e1a73e157 Merge "Import translations. DO NOT MERGE" 2015-12-21 14:09:13 +00:00
Geoff Mendal
6bf18ecec1 Merge "Import translations. DO NOT MERGE" 2015-12-21 14:06:57 +00:00
Geoff Mendal
3f760fc7a1 Import translations. DO NOT MERGE
Change-Id: I172a76921ba1c4825f3f1c550c713800e8ea2fc6
Auto-generated-cl: translation import
2015-12-21 06:00:28 -08:00
Geoff Mendal
5fb407dd86 Import translations. DO NOT MERGE
Change-Id: I868223c518e04d0b20a17a3aef29499312edeabb
Auto-generated-cl: translation import
2015-12-21 05:57:13 -08:00
Geoff Mendal
ff51290be5 Import translations. DO NOT MERGE
Change-Id: Iffacfe8c3bebd254f8fbddd71c2c3eab85d1628a
Auto-generated-cl: translation import
2015-12-21 05:45:54 -08:00
Geoff Mendal
ee49fb5089 Import translations. DO NOT MERGE
Change-Id: Ie9892490fa6ef1d6d531cafc34e8edc816b38a2f
Auto-generated-cl: translation import
2015-12-21 05:39:40 -08:00
Narayan Kamath
160aa406c5 Merge "Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362." 2015-12-21 10:59:20 +00:00
Calin Juravle
fda25dad28 Merge "Pass app\'s code paths to the runtime" am: db73912471
am: 7d7ab7ad3b

* commit '7d7ab7ad3b096d28b274024705b3171e42bebdcd':
  Pass app's code paths to the runtime
2015-12-21 01:57:12 -08:00
Calin Juravle
7d7ab7ad3b Merge "Pass app\'s code paths to the runtime"
am: db73912471

* commit 'db73912471df39aa527971f2884f37295616d3a9':
  Pass app's code paths to the runtime
2015-12-21 09:52:40 +00:00
Calin Juravle
db73912471 Merge "Pass app's code paths to the runtime" 2015-12-21 09:43:34 +00:00
Tomasz Mikolajewski
b9ffa3f26b Merge "Add support for archives to ExternalStorageProvider." 2015-12-21 06:03:39 +00:00
Daichi Hirono
492253fb89 Merge "Fix compiler error on com_android_mtp_AppFuse.cpp." 2015-12-21 04:32:36 +00:00
Daichi Hirono
01cf378e04 Fix compiler error on com_android_mtp_AppFuse.cpp.
The CL adds explicit assigning for reply_size to prevent 'unused'
compiler error.

Change-Id: I307758debb23b5bf56ddf71d54813b8cd81d8f49
2015-12-21 13:13:57 +09:00
Daichi Hirono
6348654ab0 Merge "Add AppFuse class and its JNI module." 2015-12-21 03:10:37 +00:00
Daichi Hirono
bee50c0543 Add AppFuse class and its JNI module.
BUG=25756145

Change-Id: I10597e3377cf860412e006a118cd979b6f108af3
2015-12-21 12:07:13 +09:00
Jae Seo
224bb73f9f Merge "Add a class Javadoc for MediaBrowser.MediaItem" 2015-12-21 01:00:06 +00:00
Tomasz Mikolajewski
68dec40633 Add support for archives to ExternalStorageProvider.
Bug: 20176812
Change-Id: If27cf7d6198d0abcd4458bfbfd27f870ad6d8f30
2015-12-21 09:22:38 +09:00
Jeff Sharkey
1e033d0679 Merge "Make JobSchedulerService encryption aware." 2015-12-20 22:40:43 +00:00
Jeff Sharkey
5217cacbd9 Make JobSchedulerService encryption aware.
When a user is started, but a persisted job component doesn't appear
in the normal resolution list, we avoid enqueuing the job.  Later
when the user is unlocked, we take another pass over the pending
jobs to see if they became available.

Load keyboard layouts from XML metadata regardless of crypto status,
since we don't need to spin up any remote code.

Add MATCH_SYSTEM_ONLY to make system logic easier to write when
looking for trusted components.

Sprinkle more annotations on ArrayUtils methods.

Bug: 26279465
Change-Id: Iec28e0bb46862b07d740b12a79f6360de68dab0f
2015-12-20 15:36:29 -07:00
Narayan Kamath
c55d9e767a Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362.
Unhide Pattern.UNICODE_CHARACTER_CLASS.

Change-Id: I5734a3bbe69c825b2563739c953bbf6d98627ab3
2015-12-20 20:17:40 +00:00
Selim Cinek
3a2c4b9d52 Fixed the maximum number of lines for the bigtext view
Since the summary is now in the header, we can allow one
more line in bigtext. Also made it look nicer if the
bigtext was empty, in case we always want to use bigtext
by default.

Change-Id: I13679de084757ef174b3bf53e75837a4d95ddc99
2015-12-19 16:23:04 -08:00
Selim Cinek
98be3f375b Fixed that the expandButton was sometimes visible when it shouldnt
This happened when the collapsed height had the same height as the
expanded one.

Bug: 26185377
Change-Id: I9c37a8239cc87bf2192f48bc008700faf4afb5d9
2015-12-19 16:23:03 -08:00
Selim Cinek
28387895ab Made the layout consistent for the bigText style
When using BigText style with only 1 line the layout was inconsistent
leading to jumps in the layout.

Change-Id: I86234d4d4732183df738c387d2f9d5dd311b70f3
2015-12-19 16:23:02 -08:00
Selim Cinek
860b6dac96 Measuring the notifications at wrap_content height now
The notifications are now measured at wrap_content such
that the layout still looks good even if the text
was ommited instead of arbitrarily making it bigger.
This also fixes some small rounding issues where the
expanded notification was just a pixel bigger than
the collapsed version.

Bug: 26185377
Change-Id: Ie3339ff75680ab512446605055304576e058f588
2015-12-19 16:22:52 -08:00
Selim Cinek
b55386d64a Fixed the minimum height of groups on the lockscreen
Also caching the notification minheight in the algorithm
far less agressively, because it led to bugs.

Change-Id: I57155103bf2700be2e98e686fdd0077ce8e8405b
2015-12-19 16:07:54 -08:00
Selim Cinek
af0dc31892 Reusing the notification algorithm now when rotating
The notification algorithm had some state which was simply
dropped on rotation and therefore weird things could happen.
This is now fixed.

Change-Id: Ibb3d007b3298f745743bd3a5889bccebebf8105a
2015-12-19 16:07:53 -08:00
Selim Cinek
d84a5930cc Fixed the redacted layout for groups
Also fixed a bug where the guts didn't have the
right size and in general cleaned up the intrinsic
height. The guts also animate nicely and the position
of their animation starts on the finger.

Change-Id: I62447dd77ace36161740dfdf3d18103524e2eb21
2015-12-19 16:07:51 -08:00
Selim Cinek
624c02db7f Fixed the public notifications views on the lockscreen
The views were based on a legacy systemUI notification.
We are now creating it in Notification.java in order to
always have the latest visuals and avoiding duplicate work.

Change-Id: I3f544cad069a8eab34d4464404d020e06d7f6626
2015-12-19 16:07:43 -08:00
Selim Cinek
a69f2a6449 Fixed a measuring bug with the notification children container
The notification children didn't respect the given dimensions
when measuring and was simply measuring itself as high as desired.
This lead to a bug where the parent could crash when a layer was
set on it.
We are now measuring the container at most with the height of
the given size and let children draw over our view bounds.
In oder to still allow touch in those regions we also
override the touch rect.
This also simplifies the rest of the touch handling.

Bug: 26159274
Change-Id: I728553a6386455e6632e2511be8a3e7cb447e89b
2015-12-19 15:46:34 -08:00
Selim Cinek
496126aa81 Fixed a hole in the shade that could exist with heads up
Change-Id: Ia7c36c717287e1c63218c105da83b41f0a40bc4b
2015-12-19 15:13:26 -08:00
Jeff Sharkey
7d6407d520 Merge "Better named encryption flags, start triaging." 2015-12-19 22:04:48 +00:00
Jeff Sharkey
2a9e3f8e68 Better named encryption flags, start triaging.
Create distinct flags for encryption aware, unaware, and both, and
name them like the other MATCH_ flags.

Start adding logic to help triage all system internal callers to
verify that they've done their homework and thought about how to
handle apps while locked.  Call sites in the system should either
ask for explicit matching behavior, or explicitly use the DEFAULT
match flag to indicate that they've been triaged to use the
default state-based matching.

Bug: 26250295
Change-Id: I86214e5c4f71a6dc72f06930800388713aecd107
2015-12-19 15:00:09 -07:00
Nick Kralevich
4a6a40b06c Merge "common_time_server.cpp: more O_CLOEXEC" am: 78d5f90d98
am: a87b9287a4

* commit 'a87b9287a4801ce39f30dbd84c3eac2f66c99992':
  common_time_server.cpp: more O_CLOEXEC
2015-12-19 07:13:21 +00:00
Nick Kralevich
a87b9287a4 Merge "common_time_server.cpp: more O_CLOEXEC"
am: 78d5f90d98

* commit '78d5f90d98365987937b680862c4d88f3beaa4a3':
  common_time_server.cpp: more O_CLOEXEC
2015-12-19 07:08:22 +00:00
Nick Kralevich
78d5f90d98 Merge "common_time_server.cpp: more O_CLOEXEC" 2015-12-19 06:58:58 +00:00
Jae Seo
082e873999 Add a class Javadoc for MediaBrowser.MediaItem
Also fixed a typo in MediaBrowserService.

Bug: 26181781, Bug: 26182458
Change-Id: I1f672f8111a70ad9c16e9969d0fad0e504fefb8a
2015-12-19 14:38:48 +09:00
Nick Kralevich
a0468e3361 common_time_server.cpp: more O_CLOEXEC
Change-Id: I2185a462d72e11f5a015c525d2d37c52ecc3e430
2015-12-18 20:47:02 -08:00
Jeff Sharkey
09736053ba Merge "Point "unlocked" logic at lower level." 2015-12-19 02:19:02 +00:00
Jeff Sharkey
5b0e5207e1 Point "unlocked" logic at lower level.
There is a race when starting a non-encryption-aware launcher before
we've gone through the user lifecycle to enter the "running unlocked"
state.  This can cause the launcher to choke when it's denied access
to widgets that are still considered locked.

For now, relax the notion of a user being unlocked to reflect the
on-disk state, instead of looking at the user lifecycle.

Also add logging of encryption commands.

Bug: 26267450
Change-Id: Ie330d07418cf10413e0b4380f6d6781684f01952
2015-12-18 19:06:54 -07:00
Dimitry Ivanov
20e082c7dd Merge "Use shared namespace for bundled app classloader" 2015-12-19 00:49:08 +00:00