OSDN Git Service
Vinit Deshapnde [Thu, 3 Oct 2013 21:19:52 +0000 (21:19 +0000)]
Merge "Fix EAP-TLS reconnect after reboot issue" into klp-dev
Marco Nelissen [Thu, 3 Oct 2013 20:51:36 +0000 (20:51 +0000)]
Merge "Fix layoutlib build" into klp-dev
Marco Nelissen [Thu, 3 Oct 2013 20:40:46 +0000 (13:40 -0700)]
Fix layoutlib build
Change-Id: Ica9f506ae06311d9bcd98bc11e64a8699d4f88cb
Alan Viverette [Thu, 3 Oct 2013 20:33:56 +0000 (20:33 +0000)]
Merge "Add importantForAccessibility mode to block entire hierarchy" into klp-dev
Dianne Hackborn [Thu, 3 Oct 2013 19:19:10 +0000 (19:19 +0000)]
Merge "KLP/KitKat is now API 19." into klp-dev
Dianne Hackborn [Thu, 3 Oct 2013 18:05:14 +0000 (11:05 -0700)]
KLP/KitKat is now API 19.
Bug:
10348975
Change-Id: I19bf1a56064deda2e59085520960aac8ce3a825b
Jonathan Dixon [Thu, 3 Oct 2013 18:52:56 +0000 (18:52 +0000)]
Merge "Decouple construction of WebView, CookieSyncManager, WebViewDatabase" into klp-dev
Eino-Ville Talvala [Thu, 3 Oct 2013 18:33:54 +0000 (18:33 +0000)]
Merge "Camera2: Implement idle callbacks" into klp-dev
Dianne Hackborn [Thu, 3 Oct 2013 17:45:42 +0000 (17:45 +0000)]
Merge "Implement issue #
11050739: Show swapped out RAM" into klp-dev
Dianne Hackborn [Thu, 3 Oct 2013 17:44:38 +0000 (17:44 +0000)]
Merge "Fix issue #
10378741: configupdater needs to be explicit when it calls startService()" into klp-dev
Dianne Hackborn [Thu, 3 Oct 2013 17:44:18 +0000 (17:44 +0000)]
Merge "Fix issue #
11044267: AppOpsManager.startWatchingMode should take a String" into klp-dev
Dianne Hackborn [Thu, 3 Oct 2013 17:42:26 +0000 (10:42 -0700)]
Fix issue #
10378741: configupdater needs to be explicit when it calls startService()
Not enough time to fix everything, so instead we'll make it a warning
in this release and finish up turning it into a target-SDK based
exception in the next release.
Change-Id: I5aae64a1225a145f03ba4162238b53d5e401aba2
Dianne Hackborn [Thu, 3 Oct 2013 17:23:04 +0000 (17:23 +0000)]
Merge "Fix issue #
10921903: CTS: android.os.cts.ParcelTest#testReadBundle..." into klp-dev
Daniel Sandler [Thu, 3 Oct 2013 17:20:21 +0000 (17:20 +0000)]
Merge "Goo goo ga joob." into klp-dev
Dianne Hackborn [Thu, 3 Oct 2013 17:19:20 +0000 (10:19 -0700)]
Fix issue #
10921903: CTS: android.os.cts.ParcelTest#testReadBundle...
...fails from KRS84 across all platforms
My fix for issue #
10807048 was wrong, wrong, wrong. The problem was
actually just a stupid mistake in ArrayMap.erase(). This makes it
all right.
Change-Id: I762f7a2d5100bceb86a091ab3d6368edc21b4266
Jeff Sharkey [Thu, 3 Oct 2013 17:18:38 +0000 (17:18 +0000)]
Merge "Fix mount path prefix checking." into klp-dev
Jonathan Dixon [Thu, 3 Oct 2013 10:03:31 +0000 (11:03 +0100)]
Decouple construction of WebView, CookieSyncManager, WebViewDatabase
Bug
10932261
Most of this flow exists purely to get the Context from
CookieSyncManager.createInstance over to WebViewDatabaseClassic. Make
that depenency more explicit (with a TODO to remove it) and this allows
a much simpler CookieSyncManager implementation for the normal case.
Note after this patch, CookieSyncManager.getInstance() is technically fine
to call without a prior call to createInstance, but retaining the
ordering requirement as a convenience for anyone developing on new OS
but still supporting the older versions.
(Note that CookieSyncManager instance is not required for correct
operation of either existing webview, so these changes only impact
the public API contract of object lifetimes, not the underlying
implementation)
Change-Id: I51fdd6622704f1c749277fee6df2f84ac4c704d2
Marco Nelissen [Thu, 3 Oct 2013 16:34:57 +0000 (16:34 +0000)]
Merge "Add PowerManager method to assign blame to a single uid" into klp-dev
Jeff Sharkey [Wed, 2 Oct 2013 19:50:34 +0000 (12:50 -0700)]
Fix mount path prefix checking.
Uncovered as part of writing CTS tests.
Bug:
10577541
Change-Id: I7832bcd551bedeea0b2ee5d6926aba6ac9bd0fd2
Marco Nelissen [Thu, 3 Oct 2013 15:49:36 +0000 (08:49 -0700)]
Add PowerManager method to assign blame to a single uid
Currently used by audioflinger to account for recording wakelocks.
b/
10985160
Change-Id: I18fc8487f2a197bf02b5269a4bcae9e75b6c2207
John Spurlock [Thu, 3 Oct 2013 15:46:06 +0000 (11:46 -0400)]
Window decor rect should not include the nav bar if hidden.
Bug:
11059726
Change-Id: Ia445af030ac34da8e361d909978caa3f2793cfda
Eino-Ville Talvala [Thu, 5 Sep 2013 16:04:08 +0000 (09:04 -0700)]
Camera2: Implement idle callbacks
- Rework camera callback binder interface
- Connect up idle, disconnect callbacks
- A few unit tests for shutter firing and idle use
Bug:
10549462
Change-Id: I8455a8a0561e366b7edeef6b101682be2ec44d79
Daniel Sandler [Thu, 3 Oct 2013 04:12:11 +0000 (00:12 -0400)]
Goo goo ga joob.
Bug:
10240151
Change-Id: I7b702c397cb9f5ac3294ae27ffc6185df6a64678
Baligh Uddin [Thu, 3 Oct 2013 03:42:35 +0000 (03:42 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 3 Oct 2013 03:41:47 +0000 (03:41 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 3 Oct 2013 03:41:26 +0000 (03:41 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 3 Oct 2013 03:41:12 +0000 (03:41 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 3 Oct 2013 03:40:55 +0000 (03:40 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
John Spurlock [Thu, 3 Oct 2013 02:54:48 +0000 (02:54 +0000)]
Merge "Replace linear GradientDrawable with asset-based approach." into klp-dev
Craig Mautner [Thu, 3 Oct 2013 02:49:30 +0000 (02:49 +0000)]
Merge "Make DimLayer size dependent on stack layout." into klp-dev
John Spurlock [Thu, 3 Oct 2013 02:28:58 +0000 (02:28 +0000)]
Merge "Store decor rects per window for transition cropping." into klp-dev
John Spurlock [Wed, 2 Oct 2013 14:00:37 +0000 (10:00 -0400)]
Replace linear GradientDrawable with asset-based approach.
And disallow fully transparent nav bar when vertical.
Bug:
10967264
Change-Id: I42adf6de1eeb91e1b1a24dc6c7a64c8d86017b2d
John Reck [Thu, 3 Oct 2013 02:00:37 +0000 (02:00 +0000)]
Merge "Update liblayout" into klp-dev
John Reck [Thu, 3 Oct 2013 01:28:33 +0000 (18:28 -0700)]
Update liblayout
Fix build
Change-Id: I6c9223205874f7709fcf9e69a7779c54f52ba48b
Christopher Tate [Thu, 3 Oct 2013 01:58:47 +0000 (01:58 +0000)]
Merge "Fix cross-process race in initial files/cache dir creation" into klp-dev
Adam Lesinski [Thu, 3 Oct 2013 01:52:18 +0000 (01:52 +0000)]
Merge "Private flags are masked in correct variable" into klp-dev
Svetoslav [Thu, 3 Oct 2013 01:17:10 +0000 (01:17 +0000)]
Merge "Fix screen magnifier scaling due to ScaleGestureDetector changes." into klp-dev
Christopher Tate [Thu, 3 Oct 2013 01:11:01 +0000 (18:11 -0700)]
Fix cross-process race in initial files/cache dir creation
Apps that run components in separate processes, especially that
host providers in separate processes, can hit a race condition
where two processes simultaneously discover that the files/cache
dir must be created, then each calls mkdirs(). One of these will
fail not because the dir couldn't be created, but because it lost
the race and mkdirs() returned false to signal that it already
existed -- and this was assumed to be a hard failure.
We now recheck existence after a mkdirs() failure to discern this
case and proceed appropriately.
Bug
10515463
Change-Id: I13fbdd838921223f75ab11faa47291c82b21c650
John Reck [Thu, 3 Oct 2013 01:13:58 +0000 (01:13 +0000)]
Merge "Reduce max recents on lowram" into klp-dev
Svetoslav [Thu, 3 Oct 2013 00:52:51 +0000 (17:52 -0700)]
Fix screen magnifier scaling due to ScaleGestureDetector changes.
The scale gesture detector has a new behavior to make onScale
callbacks during swipe after a double tap. The screen magnification
is triggered after a trippe tap so if the user trippe taps and
holds to do a temporary magnification and tries to change the
zoom level with another finger, erroneous results are obtained.
The ScaleGestureDetector uses an APIs level check for the new
behavior but the ScreenMagnifier is a platform feature. We now
explicitly ask for the old behavior.
bug:
11033376
Change-Id: I0dfb14dd3abcaa34ad1f40447c631b4203797378
John Reck [Wed, 2 Oct 2013 23:55:16 +0000 (16:55 -0700)]
Reduce max recents on lowram
Bug:
10918599
Reduce the number of recent tasks to 10 on lowram devices
Use RGB_565 on low ram devices for thumbnails instead of ARGB_8888
Combined this saves ~9MB across system_process and systemui
Change-Id: Ieddcb512c7341a90097bc7cbc72d7355a775b416
Alan Viverette [Thu, 3 Oct 2013 00:41:15 +0000 (17:41 -0700)]
Add importantForAccessibility mode to block entire hierarchy
Since older versions of the platform will crash if the mode is
set to 3, this CL adds an extra bit and uses 4 as the mode. This
will also cleanly default the mode to AUTO on unsupported
platforms.
BUG:
11031947
Change-Id: I48035abbf35523d65cead6f27be10f8087973ceb
Dianne Hackborn [Wed, 2 Oct 2013 23:58:06 +0000 (16:58 -0700)]
Implement issue #
11050739: Show swapped out RAM
Add "swapped out" field to mem info everywhere.
Change-Id: I89abe8eb0e91fa5c193da93815dc592593c8a3c8
Vinit Deshapnde [Thu, 3 Oct 2013 00:26:05 +0000 (17:26 -0700)]
Fix EAP-TLS reconnect after reboot issue
After a reboot, KeyStore is locked, and certificates encrypted with user
PIN are not accessible. So statemachines are not able to connect to
EAP-TLS networks. This change makes the problem less severe by
1. Not signing certificates with user PIN on devices with hardware backed
KeyStore.
2. Issuing a reconnect upon first USER_PRESENT event.
This means HH (which has a hardware backed keystore) can connect to
EAP-TLS networks without requiring user intervention and other devices
will automatically connect to those networks after user punches PIN.
Bug:
10325089
Change-Id: I023d60e58d8214152f051bd9ec84b85b702d829a
Craig Mautner [Wed, 2 Oct 2013 23:49:52 +0000 (16:49 -0700)]
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
Scott Main [Wed, 2 Oct 2013 23:39:14 +0000 (16:39 -0700)]
am
ff757598: am
542ddc4c: am
f5468f6d: update dashboard stats for 10/2/13
* commit '
ff7575985a8bfc80adbf405ffb40f77b2c227268':
update dashboard stats for 10/2/13
Scott Main [Wed, 2 Oct 2013 23:36:07 +0000 (16:36 -0700)]
am
542ddc4c: am
f5468f6d: update dashboard stats for 10/2/13
* commit '
542ddc4c3b415cc1502e69c15c48595f9c7e402d':
update dashboard stats for 10/2/13
Scott Main [Wed, 2 Oct 2013 23:33:37 +0000 (16:33 -0700)]
am
f5468f6d: update dashboard stats for 10/2/13
* commit '
f5468f6d42ad7bbc2f0ce8cb557330905914c3ec':
update dashboard stats for 10/2/13
Scott Main [Wed, 2 Oct 2013 23:21:42 +0000 (16:21 -0700)]
update dashboard stats for 10/2/13
Change-Id: I7d87142c6ed6b582582435933f5dbb2fcd0f2cac
Adam Lesinski [Wed, 2 Oct 2013 17:13:27 +0000 (10:13 -0700)]
Private flags are masked in correct variable
Newly added private flags were being masked in the public flag variable
as opposed to the correct privateFlags variable.
bug:
11033280
bug:
11043194
Change-Id: Idda3a70a083457f3f1b7d4b46d231f4a7e704cf0
Craig Mautner [Wed, 2 Oct 2013 22:19:19 +0000 (22:19 +0000)]
Merge "Don't reorder windows on non-default display." into klp-dev
Craig Mautner [Wed, 2 Oct 2013 21:52:13 +0000 (14:52 -0700)]
Don't reorder windows on non-default display.
At least not until we add tasks to those displays.
Fixes bug
10264736.
Change-Id: I3baed4bf324c4a11bbf5b07755218c2992f5af39
John Spurlock [Tue, 1 Oct 2013 02:32:42 +0000 (22:32 -0400)]
Store decor rects per window for transition cropping.
Instead of keeping a single global system decor rect around
in WindowManagerService, calculate and store policy-defined
system-decor frame for each window.
The per-window decor rect is useful for smooth transitions, since it
determines window cropping during transition animations.
Bug:
10938001
Change-Id: Ice6652aa5946027c45c0b7ab4e46473a0f8e3f90
Svetoslav [Wed, 2 Oct 2013 22:00:50 +0000 (22:00 +0000)]
Merge "IndexOutOfBoundsException in the PrintSpoolerService dump." into klp-dev
Alan Viverette [Wed, 2 Oct 2013 20:51:10 +0000 (20:51 +0000)]
Merge "Clear accessibility focus from recycled views when needed" into klp-dev
Svetoslav [Wed, 2 Oct 2013 19:40:14 +0000 (12:40 -0700)]
IndexOutOfBoundsException in the PrintSpoolerService dump.
The dump code in PrintSpoolerService was relying on being
called only as a result of "adb shell dumpsys print" which
is apparently wrong. As a result the code was making wrong
assumption about the input arguments.
bug:
11046234
Change-Id: Ie38f3cc5f17cac98b808fef6d6bbeaca22a62ef0
Baligh Uddin [Wed, 2 Oct 2013 19:28:22 +0000 (12:28 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ibc6ea940342fcfa81edfed6efc2d8f50d3106398
Auto-generated-cl: translation import
Vinit Deshapnde [Wed, 2 Oct 2013 19:23:22 +0000 (19:23 +0000)]
Merge "Fix incorrect VPN time" into klp-dev
Svetoslav [Wed, 2 Oct 2013 19:15:10 +0000 (19:15 +0000)]
Merge "Sometimes printer selection from all printers activity does not work." into klp-dev
Baligh Uddin [Wed, 2 Oct 2013 19:03:19 +0000 (12:03 -0700)]
Import translations. DO NOT MERGE
Change-Id: I6630568359b173cd95d9b76743f682c6e92c7371
Auto-generated-cl: translation import
Vinit Deshapnde [Wed, 2 Oct 2013 18:50:39 +0000 (11:50 -0700)]
Fix incorrect VPN time
First, startTime's default value is -1 and not 0, so use it to test
if the startTime is set. Also, startTime isn't being set when connecting
legacy VPN; this change fixes that too.
Bug:
10985174
Change-Id: Ibf52b8f489b18c96efba501b76aa73e9a9e0e3e8
Baligh Uddin [Wed, 2 Oct 2013 18:28:23 +0000 (11:28 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ie64b4500b01903f9c0ad88b607d610d8a76b17a3
Auto-generated-cl: translation import
Baligh Uddin [Wed, 2 Oct 2013 18:16:48 +0000 (11:16 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ibd657855a970ecb2055f7adf4ca57c0d4825a8ee
Auto-generated-cl: translation import
Baligh Uddin [Wed, 2 Oct 2013 18:12:53 +0000 (11:12 -0700)]
Import translations. DO NOT MERGE
Change-Id: I4aa7e1ed8ccce520518231a116608bc8e013bb4c
Auto-generated-cl: translation import
Craig Mautner [Wed, 2 Oct 2013 17:45:46 +0000 (17:45 +0000)]
Merge "Create new window-side task on demand." into klp-dev
Jeff Sharkey [Wed, 2 Oct 2013 17:39:18 +0000 (17:39 +0000)]
Merge "Docs change: annotate media intent actions." into klp-dev
Dianne Hackborn [Wed, 2 Oct 2013 17:34:02 +0000 (10:34 -0700)]
Fix issue #
11044267: AppOpsManager.startWatchingMode should take a String
Change-Id: I193a738f2e4ef147c22fb46cfa34ec14ad95d192
Craig Mautner [Wed, 2 Oct 2013 17:04:13 +0000 (10:04 -0700)]
Create new window-side task on demand.
The activity manager can create a new task under certain
circumstances in resetTargetTaskIfNeededLocked(). In that case the
window manager was not told to create a new task. This fix creates the
task in window manager when it recognizes that there is a new task
required.
Fixes bug
10412588.
Change-Id: Ife9ecfeb7f53f9df5950322c9359c836adc258a2
Mindy DelliCarpini [Wed, 2 Oct 2013 17:26:47 +0000 (17:26 +0000)]
Merge "New, less blue overscroll assets with tuned constants in EdgeEffect class." into klp-dev
Jeff Sharkey [Wed, 2 Oct 2013 17:11:22 +0000 (10:11 -0700)]
Docs change: annotate media intent actions.
Bug:
11043141
Change-Id: I66777c5ce25014d8e64da5b4ce3f70334befb0b7
Jeff Sharkey [Wed, 2 Oct 2013 16:42:50 +0000 (16:42 +0000)]
Merge "Isolate calls to each remote DocumentsProvider." into klp-dev
Jeff Sharkey [Wed, 2 Oct 2013 00:57:41 +0000 (17:57 -0700)]
Isolate calls to each remote DocumentsProvider.
All background work is going through AsyncTasks, which uses a shared
thread pool. Even with the new ContentProviderClient logic to detect
ANRs, the UI can still appear to be unresponsive for 20 seconds, even
if the user attempted to switch to a different backend. In the worst
case, a backlog of thumbnail requests would end up wedging Loaders
for a long time, since they all share the same THREAD_POOL_EXECUTOR.
This change isolates calls to each provider onto their own thread,
which they're free to wedge and recover from over time.
It also means we no longer need a dedicated thread pool for recents
loading, and can use a simpler Semaphore instead.
Disables thumbnails in recents on svelte devices.
Bug:
10993301,
11014856
Change-Id: I7f8a5bbb5f64437e006cb2c48b7e854136d5c38c
Mike Lockwood [Wed, 2 Oct 2013 14:56:46 +0000 (07:56 -0700)]
Revert "Allow L2CAP sockets"
This reverts commit
34b0f926135b4697f091b3b39bfca8c70512af6c.
Craig Mautner [Wed, 2 Oct 2013 05:04:07 +0000 (05:04 +0000)]
Merge "Add debuggging for
10858941." into klp-dev
Craig Mautner [Wed, 2 Oct 2013 04:16:22 +0000 (21:16 -0700)]
Add debuggging for
10858941.
Change-Id: I0517ccd9a83ef19a9002d61dbebf36d0120e1f63
Dianne Hackborn [Wed, 2 Oct 2013 02:10:13 +0000 (19:10 -0700)]
Fix issue #
11005453: [SUW] G+ profile creation for new user broken
The main problem here was a mistake when turning a single process
structure to a multi-package-process structure with a common
process. When we cloned the original process state, if there were
any services already created for the process for that package, they
would be left with their process pointer still referencing the
original now common process instead of the package-specific process,
allowing the active counts to get bad. Now we switch any of those
processes over to the new package-specific process.
There was also another smaller issue with how ServiceRecord is
associated with a ServiceState -- we could be waiting for an
old ServiceRecord to be destroyed while at the same time creating
a new ServiceRecord for that same service class. These would share
the same ServiceState, so when the old record finally finished
destroying itself it would trample over whatever the new service
is doing.
This is fixed by changing the model to instead of using an "active"
reference count, we have an object identifying the current owner
of the ServiceState. Then when the old ServiceRecord is cleaning
up, we know if it is still the owner at that point.
Also some other small things along the way -- new Log.wtfStack()
method that is convenient, new suite of Slog.wtf methods, fixed
some services to use Slog.wtf when catching exceptions being
returned to the caller so that we actually know about them.
Change-Id: I75674ce38050b6423fd3c6f43d1be172b470741f
Svetoslav [Wed, 2 Oct 2013 02:21:29 +0000 (02:21 +0000)]
Merge "Adding an empty state UI for the printer search activity in the spooler." into klp-dev
Svetoslav [Wed, 2 Oct 2013 00:53:17 +0000 (17:53 -0700)]
Sometimes printer selection from all printers activity does not work.
1. Sometimes selecting a printer from the full printer list does not
work if the selected printer was not in the initial drop down list
of the print dialog.
The reason was that there is a race. We use loaders in the print
dialog activity and the all printers one. When these loaders are
stopped we stop printer discovery since we do not want to keep this
potentially expensive process on going if the activity is paused
because say the user decide to press home and start playing his
favorite game while the printers dialog is up. As a result the
loader does not get printer updates until it is started.
The loader of the print dialog activity is stopped while the user is
selecting a printer from the all printers activity whose loader is
getting discovered recent printers. Now when the user selects a printer
the loader of the print dialog activity is started but may not get
the latest printers by the time onActivityResult is called with the
selected printer. Now we cache the selected printer id and if the
loader reports it we select that printer.
2. In the print dialog we show only a few of the discovered printers.
If the user selects a printer from the all printers activity that
is not in the initial list we shuffle the adapter data to make sure
the selected printer is in the shown subset. Now if the printers
change, i.e. the printers loader reports new result we were not
respecting the reshuffling made before so the short list of
printers changes yet again.
bug:
11034216
Change-Id: I54fe3619e3328b65839d9f4b02309699eae7f8eb
Adam Lesinski [Wed, 2 Oct 2013 01:55:09 +0000 (01:55 +0000)]
Merge "Make room for new public flags" into klp-dev
Adam Lesinski [Wed, 2 Oct 2013 01:11:17 +0000 (18:11 -0700)]
Make room for new public flags
Moved two hidden flags to private
bug:
11033280
Change-Id: Icca867b073aff643eefdaf84df68de86bb6b05ac
Jeff Brown [Wed, 2 Oct 2013 01:47:55 +0000 (01:47 +0000)]
Merge "Track wireless charger detector timeout explicitly." into klp-dev
Jeff Sharkey [Wed, 2 Oct 2013 01:43:12 +0000 (01:43 +0000)]
Merge "Fix animations, padding in RTL mode." into klp-dev
Chet Haase [Tue, 1 Oct 2013 23:44:35 +0000 (23:44 +0000)]
Merge "Make onClickHandler in KeyguardHostView a weak reference" into klp-dev
Jeff Brown [Tue, 1 Oct 2013 23:16:44 +0000 (16:16 -0700)]
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
Chet Haase [Tue, 1 Oct 2013 22:34:22 +0000 (15:34 -0700)]
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
Amith Yamasani [Tue, 1 Oct 2013 23:35:21 +0000 (23:35 +0000)]
Merge "Use correct method for sparsearray lookup" into klp-dev
Jeff Sharkey [Tue, 1 Oct 2013 22:32:13 +0000 (15:32 -0700)]
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
Zhijun He [Tue, 1 Oct 2013 22:40:11 +0000 (22:40 +0000)]
Merge "Camera2: return device list with the only supported device" into klp-dev
Svetoslav [Tue, 1 Oct 2013 00:44:27 +0000 (17:44 -0700)]
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
John Reck [Tue, 1 Oct 2013 22:29:08 +0000 (22:29 +0000)]
Merge "Remove old animation" into klp-dev
John Reck [Tue, 1 Oct 2013 21:45:01 +0000 (14:45 -0700)]
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
Mindy Pereira [Tue, 1 Oct 2013 21:48:23 +0000 (21:48 +0000)]
Merge "Update checkbox assets" into klp-dev
Craig Mautner [Tue, 1 Oct 2013 21:44:13 +0000 (21:44 +0000)]
Merge "Fixes to handleAppDiedLocked." into klp-dev
Svetoslav Ganov [Tue, 1 Oct 2013 21:30:53 +0000 (21:30 +0000)]
Merge "Fail print jobs targeted to unavailable services." into klp-dev
Craig Mautner [Tue, 1 Oct 2013 21:28:23 +0000 (14:28 -0700)]
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
Zhijun He [Tue, 1 Oct 2013 18:09:28 +0000 (11:09 -0700)]
Camera2: return device list with the only supported device
Bug:
10360518
Change-Id: I823f0b6965728ddefc9b70f3df0f50259919cce5
Eric Laurent [Tue, 1 Oct 2013 21:00:08 +0000 (21:00 +0000)]
Merge "audioservice: always acquire wake lock as AudioService" into klp-dev
Amith Yamasani [Tue, 1 Oct 2013 20:02:52 +0000 (13:02 -0700)]
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
Christopher Tate [Tue, 1 Oct 2013 20:39:04 +0000 (20:39 +0000)]
Merge "Specialized prompting when 'home' has become ambiguous" into klp-dev
Craig Mautner [Tue, 1 Oct 2013 20:35:01 +0000 (20:35 +0000)]
Merge "Add a timeout for removing starting windows." into klp-dev