112599 Commits

Author SHA1 Message Date
Craig Mautner
c7b8a10040 Make DimLayer size dependent on stack layout.
Only use the stack bounds for the DimLayer bounds if there is more
than one stack on a layer. Otherwise cover the entire screen (and
more) with the DimLayer. This way there are no exposed regions when
rotating.

Fixes bug 10428085.

Change-Id: I7bfff12b69d59e86610621c498dab35cf0db8eb5
2013-10-02 16:49:52 -07:00
Svetoslav
cbf3f2cde5 Merge "Adding an empty state UI for the printer search activity in the spooler." into klp-dev 2013-10-02 02:21:29 +00:00
Adam Lesinski
42e9b63100 Merge "Make room for new public flags" into klp-dev 2013-10-02 01:55:09 +00:00
Adam Lesinski
6a591f5859 Make room for new public flags
Moved two hidden flags to private

bug:11033280
Change-Id: Icca867b073aff643eefdaf84df68de86bb6b05ac
2013-10-01 18:48:20 -07:00
Jeff Brown
42544cf843 Merge "Track wireless charger detector timeout explicitly." into klp-dev 2013-10-02 01:47:55 +00:00
Jeff Sharkey
16326f7085 Merge "Fix animations, padding in RTL mode." into klp-dev 2013-10-02 01:43:12 +00:00
Chet Haase
6e4ee9d50f Merge "Make onClickHandler in KeyguardHostView a weak reference" into klp-dev 2013-10-01 23:44:35 +00:00
Jeff Brown
dbcc8a22de Track wireless charger detector timeout explicitly.
Previously we relied on having a continue stream of sensor
events from which to detect whether the device is moving or
at rest.  However, if the sensor HAL is broken in some way
then we might not receive enough sensor events to actually
finish the detection process.  When this happens, we'll
just sit there holding a wakelock indefinitely.

Instead of relying on the sensor event stream, post a delayed
message to explicitly finish detection.

Bug: 10769163
Change-Id: Ia2ed66fe5e7c41a8832df76da9104c13554e1398
2013-10-01 16:42:16 -07:00
Chet Haase
7fc27ea451 Make onClickHandler in KeyguardHostView a weak reference
The strong reference OnClickHandler caused bitmaps in keyguard to be
referenced when keyguard was not visible. This change makes the click
handler a static class with a weak reference to the hostView instance,
allowing those bitmaps to get collected and shaving ~845k off of the
heap size when the keyguard isn't showing.

Issue #10918599 SystemUI should have a round of Svelting

Change-Id: I69de8659ac14c1a4723d082dd3cd394d8b6097f1
2013-10-01 16:37:17 -07:00
Amith Yamasani
86519dd5bb Merge "Use correct method for sparsearray lookup" into klp-dev 2013-10-01 23:35:21 +00:00
Jeff Sharkey
ee3e1603fd Fix animations, padding in RTL mode.
Show directory animations coming in from left-side when in RTL
language.  Also fix NinePatchDrawable to correctly mirror its padding
when auto-mirrored, and fix InsetDrawable to propagate the layout
direction to the wrapped Drawable.

Bug: 10987190, 11030793
Change-Id: I1213802a07d0c4ced93438df1e6ddf5aed3df677
2013-10-01 16:03:00 -07:00
Zhijun He
654314eedf Merge "Camera2: return device list with the only supported device" into klp-dev 2013-10-01 22:40:11 +00:00
Svetoslav
976b4e6312 Adding an empty state UI for the printer search activity in the spooler.
The user can select all printers from the print dropdown to get to
a search for printers activity where one can filter out the list
of a available printers. We did not have an empty state UI for the
case when the query yields no printers.

bug:11009053

Change-Id: I6b45517b8a7b319992019a1bf65858319a19a0de
2013-10-01 15:32:57 -07:00
John Reck
607463788a Merge "Remove old animation" into klp-dev 2013-10-01 22:29:08 +00:00
John Reck
da7af95d81 Remove old animation
Bug: 10918599
 Shaves ~1.5MB off of Keyguard creation from usage of an
 old-style Alpha animator that would create a draw cache
 The animation is unseen due to screen timings, so simply remove it
 Also adds a bit of de-jank to the non-svelte case by avoiding
 a potential GC_FOR_ALLOC

Change-Id: Id49742d95988f670a44305e4033e7a850d20e675
2013-10-01 14:52:03 -07:00
Mindy Pereira
d1e01cb46c Merge "Update checkbox assets" into klp-dev 2013-10-01 21:48:23 +00:00
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
Zhijun He
18fe0ae08d Camera2: return device list with the only supported device
Bug: 10360518
Change-Id: I823f0b6965728ddefc9b70f3df0f50259919cce5
2013-10-01 14:26:40 -07:00
Eric Laurent
0bc0f109df Merge "audioservice: always acquire wake lock as AudioService" into klp-dev 2013-10-01 21:00:10 +00:00
Amith Yamasani
540b659304 Use correct method for sparsearray lookup
Should fix the array index out of bounds. valueAt() is when we have the
index, not the key.

Bug: 11014210
Change-Id: Icb53fe763782befbd5de1b3df6630b87cda72e84
2013-10-01 13:45:58 -07: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