149079 Commits

Author SHA1 Message Date
Tim Murray
bdd5a8f9b9 am 29d35997: am cb16b55b: am 2a866f07: Update RenderScript docs.
* commit '29d35997a39faf0a9dfb3bcdd4aac3594ba10ad6':
  Update RenderScript docs.
2014-08-27 06:11:57 +00:00
Jungshik Jang
c94ac5cffc Add more debug message to HdmiControlService
Bug: 17291374
Change-Id: I9568dd12b0e5864c50f81bacc2729b82242187c4
2014-08-27 15:09:27 +09:00
Dianne Hackborn
5232271a41 Fix issue #17146552: system anr
Add a safe path for Slog.wtf that doesn't acquire an activity manager
lock or block in any way.

Change-Id: I8fef8251a0cb85081442cae55d85063944248d15
2014-08-26 22:55:47 -07:00
Raph Levien
531dab6d3a Fix incorrect return value on missing glyph
The GetGlyph function returns a boolean indicating whether the glyph
exists in the font. However, we were testing the pointer, so the test
would always succeed even if the glyph was missing. This interfered with
fallback algorithms for rendering compatibility characters.

Bug: 15816880
Bug: 16856221
Change-Id: I95cd45bb8f5e8ddf74cf23e6e624fbf30172e00a
2014-08-26 22:19:29 -07:00
Dianne Hackborn
80e29b66c5 Merge "Fix issue #17179314: Make recents limits consistent" into lmp-dev 2014-08-27 04:31:26 +00:00
Dianne Hackborn
852975d537 Fix issue #17179314: Make recents limits consistent
The max limit is now 100 (or 50 on svelte devices), and that is
what everyone used.

Re-arranged things so we have a big expensive "fix the world!"
function for recents that we go in to at only select points:
when first initializing the system, when external storage comes
and goes, and if we detect something wrong with the recents
structure.

With that, now getRecentTasks() and addRecentTaskLocked() are
generally much simpler, doing very little work in most cases.
This will help a lot with scaling up to many more recents
entries.

Change-Id: I7b5ae89edc06568f68c8af54a4420aff7635581c
2014-08-26 21:24:42 -07:00
Michael Wright
869a67c0b1 Allow voice assist to function in a non-interactive state
Currently the InputDispatcher blocks the VOICE_ASSIST key from being
sent to the window manager when the system is in a non-interactive
state.  Move the key handling to interceptKeyBeforeQueueing to avoid
this but also push off the behavior to a handler to avoid any
potential blocking of the input queue as we call into other system
services.

Bug: 16292420
Change-Id: I5bbe3455f2af5249151127dede2204cf1f12a19f
2014-08-26 20:18:24 -07:00
Jim Miller
d22a667731 Merge "Limit grantTrust() duration to DevicePolicy-imposed limit." into lmp-dev 2014-08-27 03:08:02 +00:00
Jim Miller
bde3d18dd5 Change name of confirm credentials method after API review
Changed from getConfirmDeviceCredentialIntent to createConfirmDeviceCredentialIntent

Fixes bug 17288988

Change-Id: Iae9a997d9ea49ce23bdbbe38ad7b0763779b8f59
2014-08-26 19:53:17 -07:00
Raph Levien
117cbebe81 New weight-aware font config
Parse new fonts.xml config file, and resolve weight selection based on
the base weight of the font (as defined by a weight alias specified in
the config file) and the requested bold flag. This change improves the
appearance of bold spans for alternate weights of Roboto.

In addition, this patch enables weight selection for fallback fonts.
For example, if an additional font with a weight of 100 is added to the
Hebrew font family in the fallback list, then requesting
"sans-serif-thin" would select that font for Hebrew text.

Bug: 14538154
Change-Id: I99a04fad4f7bf01c75726e760d42735dd9003496
2014-08-26 19:37:45 -07:00
Jae Seo
6c79454cfc Merge "TIF: Remove the registered callback when the client process has died" into lmp-dev 2014-08-27 02:12:56 +00:00
Jinsuk Kim
f34e6075cb Merge "Fix a bug that the HdmiCecLocalDeviceTv sends <User Control Released> message for unsupported keys" into lmp-dev 2014-08-27 01:59:40 +00:00
Jae Seo
fea8dd45f4 TIF: Remove the registered callback when the client process has died
Also make error messages more consistent

Bug: 17276418
Change-Id: Ib87e13e1383db4ff623de2e9b68ae9ff4309360a
2014-08-26 18:37:39 -07:00
Christopher Tate
915f1dc785 Remember having done full-data as well as key/value app backups
The "what have we ever succesfully backed up?" log is used to determine
whether we can do an install-time restore from the currently-live dataset
rather than go back to the ancestral dataset (if any).  We now track
apps that have gotten a successful full-data backup through the transport,
not just key/value backups.

Bug 17263823

Change-Id: If21350a8dd8aaa4ed02fb74101617e935920e4ae
2014-08-26 18:32:55 -07:00
Adam Powell
4902a89103 Merge "Adjust toolbar/action bar title handling" into lmp-dev 2014-08-27 01:31:18 +00:00
Adam Powell
af2d85973e Adjust toolbar/action bar title handling
Treat activity title changes as window title changes when propagating
to action bars. This gives it lower priority if a "hard" title has
been set. Fix some lifecycle handling around this that previously
resulted in multiple calls.

Automatically detect the starting display options for a
ToolbarWidgetWrapper if we're not grabbing them from styles. This
prevents setTitle and friends from going totally out to lunch if
constructed around a Toolbar with no starting title.

Bug 17138048

Change-Id: I9f58a3d222546745c8aa873e996b8f0d52a0ad21
2014-08-26 18:28:17 -07:00
Dongil Seo
b64c2ba05b Fix a bug that the HdmiCecLocalDeviceTv sends <User Control Released> message for unsupported keys
Bug: 17170954

Change-Id: I0ad624eb3a1301b24865228164d8dd5a97452329
2014-08-27 10:21:20 +09:00
Svetoslav
86b1df2343 Print services setting changes not handled for managed profiles.
We keep per user settings for enabled print services which are
observed to update the print manager service state. We were listening
to all user changes but the handling code was not updating the state
of the user whose settings changed, rather the current user.

Added hidden APIs in content observer to know which user changed
and now the print manager serivce handles content changes for the
correct user.

bug:16977006

Change-Id: I71ec88c8f3f38cb405844c13ab83695c2029eb79
2014-08-26 18:19:13 -07:00
Dongwon Kang
70613dbff7 Merge "TIF: clean up pending createSession requests when a package is removed." into lmp-dev 2014-08-27 01:17:06 +00:00
Alan Viverette
ec7725c875 Merge "Update list preference layout to more closely match Material spec" into lmp-dev 2014-08-27 01:16:25 +00:00
Chris Craik
9ed43d6514 Merge "Crash instead of leaking layers/textures between GL contexts" into lmp-dev 2014-08-27 01:13:14 +00:00
Dongwon Kang
426c9a4008 TIF: clean up pending createSession requests when a package is removed.
Pending createSession request for the package removed led to the tune request
with invalid channel URI. This change prevents crash from invalid URI by cleaning
up the pending requests on the package removal.

Bug: 17214114
Change-Id: I26fdf9eb45a5fec9032926a1c2994831c07b4fbe
2014-08-27 10:11:20 +09:00
Jae Seo
5d0ec89d55 Merge "Revert "TIF: Temporarily disable permission check for parental controls"" into lmp-dev 2014-08-27 01:08:18 +00:00
Svetoslav
ab94674c70 Merge "Fix a crash in PrintSpooler." into lmp-dev 2014-08-27 01:01:55 +00:00
Craig Mautner
7dbfbc7d6b Merge "Show IME over keyguard if IME target is showing" into lmp-dev 2014-08-27 00:59:44 +00:00
Christopher Tate
1871b9352e Merge "Briefly log wallpaper restore outcomes" into lmp-dev 2014-08-27 00:56:19 +00:00
Yorke Lee
5edb638eed Merge "API changes for ContactsContract" into lmp-dev 2014-08-27 00:51:07 +00:00
Jae Seo
fc836f6684 Revert "TIF: Temporarily disable permission check for parental controls"
This reverts commit 9d197941afcef7853578fcd2d704d6f97dde0902.

Change-Id: Ib376f3d4deddf72b94a5195f7aeafafd3ed189e8
2014-08-27 00:47:56 +00:00
Jungshik Jang
2b8e9504df Merge "Add null-check for system audio mode change event." into lmp-dev 2014-08-27 00:43:19 +00:00
Christofer Åkersten
1e1b820539 Merge "Ensure system apps can be granted MODIFY_PARENTAL_CONTROLS" into lmp-dev 2014-08-27 00:37:11 +00:00
Alan Viverette
000b1abca8 Update list preference layout to more closely match Material spec
Expects icons to have 4dp of padding baked in, which is consistent with
existing icons.

BUG: 17235037
Change-Id: Ic855664e85454be5e0de030070eb6ab1594e2448
2014-08-26 17:34:34 -07:00
Chris Craik
1d47742333 Crash instead of leaking layers/textures between GL contexts
bug:17208461
Change-Id: I4d58f301cf0f5e8145e808a5d6ade4de7801970b
2014-08-26 17:30:15 -07:00
Yorke Lee
b31c8abdc4 API changes for ContactsContract
* Hide NAME_VERIFIED
* Add PinnedPositions.pin

Bug: 17253963
Change-Id: I887fb291fa4de8db6859655956a80898d1ee618c
2014-08-26 17:13:02 -07:00
Craig Mautner
99b69286f1 Show IME over keyguard if IME target is showing
IME was being hidden by keyguard even if the window it was attached
to was showing. This change shows the IME if the window it is
attached to is hiding the keyguard.

Also fix an NPE that was crashing systemui.

Fixes bug 16457525.

Change-Id: If587eefa7b1e0ae26713906a76c0766ebaae69a6
2014-08-26 17:10:39 -07:00
Alan Viverette
40e38d4367 Fix NPE in RippleDrawable
Invalidate was called while we were busy clearing the list of
animating ripples, which led to an inconsistency between the
ripple count and actual state of the ripple list.

BUG: 17136636
BUG: 17281011
Change-Id: Ifb7be7eb334ad9a44cc3a1e6f55ad1e35218989a
2014-08-26 17:08:21 -07:00
Christopher Tate
8ab0865156 Briefly log wallpaper restore outcomes
Bug 17112780

Change-Id: I3e9a23d28c9df4f708eb24b4688322c21a8c8382
2014-08-26 17:08:04 -07:00
Paul Jensen
e30735c7dc Merge "Fix to allow removing sign-in notification when network removed." into lmp-dev 2014-08-26 23:58:40 +00:00
Jeff Hao
0dedb722e6 Merge "Add sample profiling option to am." into lmp-dev 2014-08-26 22:59:36 +00:00
Jeff Hao
1b012d302b Add sample profiling option to am.
Also bundles all profiling options into a class.

Bug: 17040932
Change-Id: I85d675ee1494bdc7308caffdf94145d27c996e9d
2014-08-26 15:54:25 -07:00
Alan Viverette
22d8a776cd Merge "Use bounds in screen for better A11y backwards compatibility" into lmp-dev 2014-08-26 22:52:47 +00:00
Alan Viverette
f3542fd63f Merge "Make shadow alpha properties public, add lighting values for TV" into lmp-dev 2014-08-26 22:52:32 +00:00
Alan Viverette
03740d74ca Merge "Update date and time picker styling" into lmp-dev 2014-08-26 22:51:50 +00:00
vandwalle
780617faa2 Merge "remove call to passpoint service start" into lmp-dev 2014-08-26 22:47:47 +00:00
Ricardo Cervera
69e9fcbffc docs: Fixed notification background bug. Bug: 16801684
Change-Id: Ibd42a52fd46d324a6f706bab69a23f8521b7b36b
2014-08-26 15:44:32 -07:00
vandwalle
0bbd2aaace remove call to passpoint service start
Change-Id: Ibc6e537544c2228e8b07f734158182d1e4817d17
2014-08-26 15:43:46 -07:00
Svetoslav
9c9888b8c5 Fix a crash in PrintSpooler.
If the user cancels printing we cancel the current
pring operation in the RemotePrintDocument which is
a state machine enforcing valid state transitions.
A valid transition was not allowed: finishing after
canceled.

bug:17182301

Change-Id: Iccf3a78d7dc736a64bf5c44941a8f8064dcd0ec3
2014-08-26 15:19:56 -07:00
Joe Fernandez
987eb97344 am f589d63a: am 17b94b8a: am 2e8d4787: docs: link bug fixes for accessibility testing page
* commit 'f589d63a14e14925253eaf77ca3aa5bd495a015a':
  docs: link bug fixes for accessibility testing page
2014-08-26 22:19:02 +00:00
Calin Juravle
be20ed41f7 Update the handling of the native bridge property.
ro.dalvik.vm.native.bridge is expected to be always be set. A value of
"0" means that the native bridge is disabled and that no value should be
passed to the runtime.

Bug: 17104449
Change-Id: I94e60c68e732abdab18f14f960d3b80f32048a79
2014-08-26 23:15:23 +01:00
Christoph Studer
330459d685 Merge "NoMan: Fix inconsistent notification comparator" into lmp-dev 2014-08-26 22:03:07 +00:00
Jim Miller
e7b6b1aae7 Merge "Hide fingerprint API until new API is ready" into lmp-dev 2014-08-26 22:02:52 +00:00