112580 Commits

Author SHA1 Message Date
Craig Mautner
66de7f4fa0 Merge "Fixes to handleAppDiedLocked." into klp-dev 2013-10-01 21:44:13 +00:00
Svetoslav Ganov
b1cd745fd2 Merge "Fail print jobs targeted to unavailable services." into klp-dev 2013-10-01 21:30:53 +00:00
Craig Mautner
51277a8521 Fixes to handleAppDiedLocked.
- Call in all circumstances but only set launchHomeTaskNext for
  focused stack. Previous version didn't call handleAppDiedLocked for
  non-focused stack.

- Rearrange logic to run down the top task and make sure that all
  remaining activities belong to the dying app. Previous version just
  looked at the top non-finishing activity and based its behavior on
  that.

Fixes bug 11029560.

Change-Id: Ic3a7c873c4c975577d6b390a8955ff41729bdfde
2013-10-01 14:28:23 -07:00
Eric Laurent
0bc0f109df Merge "audioservice: always acquire wake lock as AudioService" into klp-dev 2013-10-01 21:00:10 +00:00
Christopher Tate
5088fc858c Merge "Specialized prompting when 'home' has become ambiguous" into klp-dev 2013-10-01 20:39:05 +00:00
Craig Mautner
3c98926bf2 Merge "Add a timeout for removing starting windows." into klp-dev 2013-10-01 20:35:01 +00:00
Christopher Tate
b72b363c97 Specialized prompting when 'home' has become ambiguous
Bug 9958444

Change-Id: I050ae425e570cfc8ffd473587fb2a6127c36eeec
2013-10-01 13:32:13 -07:00
Eric Laurent
a4dfbdc54d audioservice: always acquire wake lock as AudioService
When a wake lock is aquired while executing a binder call and released
in the message handler, AppOps complains about the uid mismatch.

Clear the binder identity before acquiring the wake lock.

Bug: 10627124.
Change-Id: Ibd5babc1ae699bffde1a659562089eb091879106
2013-10-01 12:02:10 -07:00
Alan Viverette
f079a6d07f Merge "Set live region property on AccessibilityNodeInfo" into klp-dev 2013-10-01 18:33:12 +00:00
Alan Viverette
3320ef95de Merge "Add findFocus API for AccessibilityNodeProvider" into klp-dev 2013-10-01 18:32:48 +00:00
Craig Mautner
68cc241e8d Add a timeout for removing starting windows.
If two activities are started at the same time the first activity can
add a starting window but never start. In that case there is no event
that will clear the starting window. This change adds a 10 second
timeout for the starting window to be cleared after which it will
clear the starting window automatically.

Fixes bug 10797865.

Change-Id: I1d59c3058c63367ff688d426474e8a6f006b2e0d
2013-10-01 10:39:43 -07:00
Jeff Sharkey
364fc14f54 Merge "Detect wedged ContentProviders, treat as ANR." into klp-dev 2013-10-01 17:29:16 +00:00
Jeff Sharkey
7aa7601c09 Detect wedged ContentProviders, treat as ANR.
All ContentProvider calls are currently blocking, making it hard for
an app to recover when a remote provider is wedged.  This change adds
hidden support to ContentProviderClient to timeout remote calls,
treating them as ANRs.  This behavior is disabled by default.

Update DocumentsUI to use a 20 second timeout whenever interacting
with a storage provider.

Bug: 10993301, 10819461, 10852518
Change-Id: I10fa3c425c6a7225fff9cb7a0a07659028230cd3
2013-10-01 09:50:41 -07:00
Lajos Molnar
fcd61bb587 Merge "Fix MediaTimeProvider seek & time drift recovery issue" into klp-dev 2013-10-01 16:37:06 +00:00
Svetoslav Ganov
db85ad56ad Fail print jobs targeted to unavailable services.
It is possible that a print job is scheduled for handling, i.e. it is
queued, after the target print service is uninstalled or disabled.
In case like this we fail the print job with an appropriate error
message. Now the user can cancel the job when he/she sees the notification
or the status in the print settings. Trying to restart such a job will
end up failing it again with the same error message. So the user will
just have to canel the print job.

This apporach quarantees that the user is informed for the failure and
also is much simpler than trying to update the UI when print job's
target serivce is uninstalled. For example, the settings UI has to
be updated as well as the notifications. Also due to the async nature
of the system this we cannot completely avoid having a restart option
for a print job whose target service is gone. This scenario is very
unlikely but still we have to handle it.

bug:11012251

Change-Id: Id8c8c3cff75e0b6325552676b130ff1406edc069
2013-10-01 07:49:06 -07:00
Daniel Sandler
7eb5ce03d9 Merge "Update date format in panel on locale change." into klp-dev 2013-10-01 02:57:45 +00:00
Baligh Uddin
48cc1dc470 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-01 02:44:01 +00:00
Baligh Uddin
ab70526870 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-01 02:43:38 +00:00
Baligh Uddin
bf83288b5a Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-01 02:42:38 +00:00
Baligh Uddin
8e1a481368 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-01 02:40:41 +00:00
Baligh Uddin
71dfe63fce Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-01 02:40:00 +00:00
Igor Murashkin
1b1cb30d8e Merge "camera2: Fix CameraMetadata#getKeys" into klp-dev 2013-10-01 02:10:17 +00:00
Michael Wright
02cefe27f3 Merge "Move slide to unlock circle up" into klp-dev 2013-10-01 01:46:53 +00:00
Michael Wright
f40ec0f00f Move slide to unlock circle up
Because HH is such a tall device, we need to move the circle up in
order to put it in the correct physical location.

Bug: 10900855
Change-Id: Idf90839e19f89784a96d110dd897bdacb58cb616
2013-09-30 18:38:36 -07:00
Igor Murashkin
03fdb14ba8 camera2: Fix CameraMetadata#getKeys
Bug: 11007040
Change-Id: I08755bf45ae60ff00736af3672a9f6091f460496
2013-09-30 17:38:54 -07:00
Svetoslav
95b1bbfe6c Merge "Fix the build" into klp-dev 2013-10-01 00:36:56 +00:00
Svetoslav
f43e851f96 Fix the build
Change-Id: I2d701199808b1a0d482b9593c8b0730a408c3e8e
2013-09-30 17:33:05 -07:00
Jeff Brown
5e65adaf41 Merge "Reset insets when inset computer is removed." into klp-dev 2013-10-01 00:15:25 +00:00
Alan Viverette
f877ed96b7 Set live region property on AccessibilityNodeInfo
BUG: 11012854
Change-Id: I2c88468be597eb3694fe3d0eb2f2d86981ea9829
2013-09-30 17:11:46 -07:00
Dianne Hackborn
b9edb3a22b Merge "Fix issue #10971287: Make ACCESS_BATTERY_STATS permission system or signature." into klp-dev 2013-09-30 23:38:19 +00:00
Jean-Michel Trivi
b4c6b241fb Merge "Cache RemoteController artwork bitmap size, use it in registration" into klp-dev 2013-09-30 23:24:01 +00:00
Jean-Michel Trivi
60e7f8191e Merge "Improve RemoteControlDisplay registration" into klp-dev 2013-09-30 23:22:58 +00:00
John Reck
288180c244 Merge "Avoid accidentally using software layers" into klp-dev 2013-09-30 23:10:49 +00:00
Jeff Brown
2e05ec3235 Reset insets when inset computer is removed.
When an inset computer is registered with the view tree observer,
we report content insets to the window manager.  When an inset computer
is subsequently unregistered, we must take care to clear these insets.

This patch remembers whether the previously computed insets were
non-empty so that it can force insets to be reset when needed.

Bug: 10840662
Change-Id: I4cce5ba64cc5234b98363b025ac4bb42e64349f1
2013-09-30 15:57:43 -07:00
Lajos Molnar
d58b122208 Fix MediaTimeProvider seek & time drift recovery issue
Handle MEDIA_SKIPPED event

Prevent notifyTimedEvent events (REFRESH_AND_/NOTIFY_TIME)
to eclipse NOTIFY_SEEK events.

Add automatic seek when time drifts too much.  This should
not happen under normal circumstances, but is there to recover
from any unannounced media time discontinuity.

Change-Id: I8d7fdac2b0b6a9e62d2860461e6a25788e77fef8
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10954008
2013-09-30 15:50:31 -07:00
John Reck
0a4079ec0c Avoid accidentally using software layers
Bug: 10918599
 Shaves ~1-2MB of transient memory usage from setting a hardware layer
 on a view that's not hardware accelerated, resulting in it falling
 back to a software layer which allocates a bitmap
 Also a bit of dejanking as a result of not hitting GC_FOR_ALLOC

Change-Id: Iff00d383fca710147a48f31c7eee2b728b8412dc
2013-09-30 15:41:49 -07:00
Matthew Williams
508a57f58f Merge "Remove blocking from SM before boot completed." into klp-dev 2013-09-30 21:46:59 +00:00
Alan Viverette
6f07cc8424 Merge "Rebind transient state views when available" into klp-dev 2013-09-30 21:33:22 +00:00
Amith Yamasani
f55cf7fcd9 Merge "Adjust padding for keyguard pin entry keys" into klp-dev 2013-09-30 21:31:54 +00:00
Robert Greenwalt
bad5d694c7 Merge "Use a build-specific wifi country code" into klp-dev 2013-09-30 21:13:24 +00:00
Alan Viverette
2e1e081146 Add findFocus API for AccessibilityNodeProvider
BUG: 9372171
Change-Id: Iea46ce5a4bf25baaabe5c07cd7d0c58bb31f23d9
2013-09-30 13:45:55 -07:00
Jim Miller
8b3bc51c8f Merge "Disable keyguard widgets on low memory devices" into klp-dev 2013-09-30 20:38:21 +00:00
Amith Yamasani
e64318bda0 Adjust padding for keyguard pin entry keys
Increase padding on the left to more visually center the text within the touch target

Bug: 10074982
Change-Id: I2c622b0edd427a4b15f2f3b25a0a124853ed2367
2013-09-30 13:38:14 -07:00
Adam Powell
81517c86a1 Merge "Make toast frames a little more opaque" into klp-dev 2013-09-30 20:24:17 +00:00
Alan Viverette
f9736d3b9a Rebind transient state views when available
If a view is obtained, it is guaranteed to represent the same data.

BUG: 10901462
Change-Id: Ice2b3508ae8cf444f006c084e6b7a3e79373723b
2013-09-30 12:44:54 -07:00
Daniel Sandler
b478a71625 Update date format in panel on locale change.
The logic that updated the locale was only running at times
the DateView should have been updating its display, namely,
when the view was visible on-screen.

The new version trades a small amount of efficiency (the
broadcast receiver is now active at all times, and the date
is re-formatted each TIME_TICK) in exchange for simplicity
and correctness.

Bug: 10725912
Change-Id: I2f0988ed478374ed0eb0c76c3d8caed6c86eb8df
2013-09-30 15:33:36 -04:00
Matthew Xie
0e772b2268 Merge "Unhide setPin, setPin, setPairingConfirmation, and relevant intent fields" into klp-dev 2013-09-30 18:56:39 +00:00
Adam Powell
40c4a6d427 Make toast frames a little more opaque
Bug 10994053

Change-Id: I719c8e4a44621b8c838b0897e6c486884e735357
2013-09-30 11:23:50 -07:00
Matthew Williams
8704fc3dae Remove blocking from SM before boot completed.
Bug: 10916655
Add a stash where the SyncHandler can copy and place
msgs rather than run them. After boot is complete
we iterate through the stash in order and send the
messages off.

Change-Id: I9c175ee79fe60952346003a29225b8687979b44e
2013-09-30 11:20:53 -07:00
Craig Mautner
312ab4bd29 Merge "Don't display hidden activities over home screen." into klp-dev 2013-09-30 18:20:48 +00:00