43804 Commits

Author SHA1 Message Date
Adam Lesinski
ff7cba54fc am 42e9b631: Merge "Make room for new public flags" into klp-dev
* commit '42e9b63100edfef7a9cbee735ee3574fb1b94349':
  Make room for new public flags
2013-10-01 18:57:43 -07: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
Zhijun He
a5761bd1f5 am 654314ee: Merge "Camera2: return device list with the only supported device" into klp-dev
* commit '654314eedf642c01ea034a16d452272d9e4aab24':
  Camera2: return device list with the only supported device
2013-10-01 15:42:54 -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
John Reck
2c862e68f0 am 60746378: Merge "Remove old animation" into klp-dev
* commit '607463788abd6168fa5f0133cf225600833268ae':
  Remove old animation
2013-10-01 15:39:22 -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
646e0ac093 am d1e01cb4: Merge "Update checkbox assets" into klp-dev
* commit 'd1e01cb46c251f8416361efc75888ed708788a25':
  Update checkbox assets
2013-10-01 14:51:27 -07:00
Mindy Pereira
d1e01cb46c Merge "Update checkbox assets" into klp-dev 2013-10-01 21:48:23 +00:00
Svetoslav Ganov
fddc4bfed5 am b1cd745f: Merge "Fail print jobs targeted to unavailable services." into klp-dev
* commit 'b1cd745fd23cd0514a338bb07abcd031db10db7c':
  Fail print jobs targeted to unavailable services.
2013-10-01 14:35:12 -07:00
Svetoslav Ganov
b1cd745fd2 Merge "Fail print jobs targeted to unavailable services." into klp-dev 2013-10-01 21:30:53 +00: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
Christopher Tate
e40b303342 am 5088fc85: Merge "Specialized prompting when \'home\' has become ambiguous" into klp-dev
* commit '5088fc858c5a7f234310b51c0fa87a9a617eef7d':
  Specialized prompting when 'home' has become ambiguous
2013-10-01 13:40:56 -07:00
Christopher Tate
5088fc858c Merge "Specialized prompting when 'home' has become ambiguous" into klp-dev 2013-10-01 20:39:05 +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
Alan Viverette
6320305a60 am f079a6d0: Merge "Set live region property on AccessibilityNodeInfo" into klp-dev
* commit 'f079a6d07f64045526a094077a1e9f4ceb40da76':
  Set live region property on AccessibilityNodeInfo
2013-10-01 11:35:36 -07:00
Alan Viverette
c379752a32 am 3320ef95: Merge "Add findFocus API for AccessibilityNodeProvider" into klp-dev
* commit '3320ef95de1775cfdb2bdc0c31cf6ba54d8e8900':
  Add findFocus API for AccessibilityNodeProvider
2013-10-01 11:35:32 -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
Jeff Sharkey
666b998b67 am 364fc14f: Merge "Detect wedged ContentProviders, treat as ANR." into klp-dev
* commit '364fc14f544712a2d32cc0f32e84dfe4127376a6':
  Detect wedged ContentProviders, treat as ANR.
2013-10-01 10:31:47 -07: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
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
Baligh Uddin
bf83288b5a Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-01 02:42:38 +00:00
Igor Murashkin
1b1cb30d8e Merge "camera2: Fix CameraMetadata#getKeys" into klp-dev 2013-10-01 02:10:17 +00: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
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
Alan Viverette
6f07cc8424 Merge "Rebind transient state views when available" into klp-dev 2013-09-30 21:33:22 +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
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
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
Dianne Hackborn
3714141d28 Fix issue #10971287: Make ACCESS_BATTERY_STATS permission system or signature.
Change-Id: I432a2ddbd2fe1d095bb3895c5c122acf465d0c9b
2013-09-30 10:16:10 -07:00
Baligh Uddin
f1facac803 Import translations. DO NOT MERGE
Change-Id: Ia72602b06a1df0f7d19e4b3aaf201b5a95f88944
Auto-generated-cl: translation import
2013-09-30 09:45:00 -07:00
Dianne Hackborn
57d96f0e92 Merge "Fix issue #10948509: Crash in procstats when there is no data" into klp-dev 2013-09-30 00:21:48 +00:00
Dianne Hackborn
cb4285537b Fix issue #10948509: Crash in procstats when there is no data
Not dealing with the case where there is a null list.

Also fixed some bugs I found while looking at this:

- When resetting the stats, we would use a newly computed time stamp
  for the total durations rather than the one we used to reset the
  proc/service entries.  This would result in them being able to be
  slightly > 100%.
- There was a bug in how we split a single process state into its
  per-package representation, where we would but the cloned process
  state into the new package's entry (instead of properly for its
  own package entry), to be immediately overwritten by the new
  process state we make for that package.  This could result in
  bad data for processes that have multiple packages.
- There was a bug in resetting service stats, where we wouldn't
  update the overall run timestamp, allowing that time to sometimes
  be > 100%.
- There was a bug in computing pss data for processes with multiple
  packages, where the pss data was not distributed across all of the
  activity per-package process states.
- There was a bug in computing the zram information that would cause
  it to compute the wrong value, and then never be displayed.

Finally a little code refactoring so that ProcessState and ServiceState
can now share a common implementation for the table of duration values.

Change-Id: I5e0f4e9107829b81f395dad9419c33257b4f8902
2013-09-29 17:14:15 -07:00
Mindy Pereira
1fbc1a2b69 Update checkbox assets
Fixes b/10894001 Pressed checkbox asset slightly offset from normal version

Change-Id: I73c1b58675405adf3550b7d498cf6535e4b1cee0
2013-09-29 16:51:56 -07:00
Robert Greenwalt
c33cd23c17 Use a build-specific wifi country code
This ignores any previous setting and instead uses
a value set at build time.  This does not preclude
us from using some other signal to determine country
for wifi channel limits.

bug:10513734
Change-Id: Ib82c07285af70fbd82eb0466b7391979ebc8be10
2013-09-29 15:45:47 -07:00
Matthew Xie
091fc2ba7a Unhide setPin, setPin, setPairingConfirmation, and relevant intent fields
bug 9987787

Change-Id: Id1c149964137e35703310e2f2893c8830aacddea
2013-09-29 13:17:56 -07:00
Svetoslav Ganov
cfab2457f2 Printers in the list of printers change position.
While the logic was correct the array map that holds the list of pritners
does not keep the position of the items constant. Switched to linked hash
map which gives this guarantee.

bug:10955751

Change-Id: Idbbe14d753e6a1ad1002f2289b10cb62d7f9f040
2013-09-28 12:09:29 -07:00
Svetoslav
d8dbc13b47 Ignore historical printer records for installed services
When loading historical records for previously used printers we
now ignore the ones whose target print service is not installed.

bug:10955652

Change-Id: Ib295e7d88ed3c308ef6d8a11bdc1792ebbb6d526
2013-09-27 18:46:24 -07:00
Jim Miller
fb2e3c8d47 Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev 2013-09-28 01:18:17 +00:00
Svetoslav Ganov
b415525a16 Merge "Print job files and print job records not always cleaned up." into klp-dev 2013-09-28 01:06:51 +00:00