87587 Commits

Author SHA1 Message Date
Jeff Brown
074b8b7cf1 Eliminate potential reentrance from unregisterInputChannel.
Ensure that all callbacks into the window manager policy occur
on the input dispatcher thread in the right place.  This fixes
a potential deadlock that may occur if the window manager
unregisters an input channel while holding its own lock.

The change is simply to defer running asynchronous commands
(usually callbacks into the policy) until the next iteration
of the dispatch looper thread.

Bug: 7382388
Change-Id: I90095580d717fcddb2209ef332df56400f837a34
2012-10-31 19:01:31 -07:00
Jim Miller
11952e73af Merge "Adding a button for expanding the clock screen challenge." into jb-mr1-lockscreen-dev 2012-10-31 18:54:38 -07:00
Svetoslav Ganov
74bdd21629 Adding a button for expanding the clock screen challenge.
Change-Id: Ia39303012251cf7cc4dadac030d1aa471ceff776
2012-10-31 18:25:16 -07:00
Brian Colonna
a6314da24e Merge "FUL being unsuppressed when screen turns off fixes b/7453702" into jb-mr1-lockscreen-dev 2012-10-31 18:15:36 -07:00
Svetoslav Ganov
c4842c1193 Accessibility support for the lockscreen - phone.
Change-Id: Idc99f1322a1d635dd07e1f5efa1665a4676267c2
2012-10-31 17:49:10 -07:00
Adam Cohen
8f697d8580 Stripping dead API related to keyguard widgets
Change-Id: Ieb6c57ef736712b3266de08027f9626104cdf1bb
2012-10-31 17:42:26 -07:00
Michael Jurka
c8dc8eb327 Merge "Use new keyguard appwidget picker" into jb-mr1-lockscreen-dev 2012-10-31 17:10:11 -07:00
Xia Wang
b2a2096903 Fix WiFi stress test
- Disable lock screen after screen is turned on.
   Without disabling lock screen, device will screen off automatically after around 10 seconds

 - Add a longer timer for ping test when the data traffic is stalled.
   For a short ping test, it is hard to tell whether it is a transient issue or a real issue.

   bug# 7426823

Change-Id: If1a560e11dcdff519562bb2a22651d1fd523b5a2
2012-10-31 17:03:23 -07:00
Brian Colonna
078f5919a9 FUL being unsuppressed when screen turns off fixes b/7453702
We suppress FUL when the device first boots because with all of the
things happening at boot, we don't want to interact with the camera.
We also suppress it immediately after a user switch for the same
reasons.  However, once the user turns the screen off, we want to
show FUL when they turn it back on.  Prior to this fix it was only
being unsuppressed on login.

Note that this CL also removes the isFirstBoot flag.  It was only
being set/checked when the suppress flag was set/checked, so it was
redundant.

This also addresses bug b/7450665, which is regarding the
user-switch case.

Change-Id: I2b39e85e21c08ef7629398521ab1159f5a6c7547
2012-10-31 20:03:18 -04:00
Adam Powell
077105bae3 Merge "Fix some drag behavior bugs in keyguard" into jb-mr1-lockscreen-dev 2012-10-31 17:01:32 -07:00
Adam Powell
fa668cc930 Fix some drag behavior bugs in keyguard
Integrate from proto app

Make sure you can drag back up immediately without the delay of extra
offset on the challenge view.

There are still a few further tweaks to make here that will be
dependent on another upcoming patch.

Change-Id: I6af599e43d6be6da7b431dca5b87e39c157a54df
2012-10-31 17:01:38 -07:00
Michael Jurka
fc753c0cf6 Use new keyguard appwidget picker
Also, remove ability to filter widgets by feature
in appwidget picker in anticipation of api change

Change-Id: I325de0b98f03d3a250758d504229ea27794b5330
2012-10-31 16:53:04 -07:00
Chet Haase
4f721f101d am fe28ff0d: Merge "Fix for regression in WindowManager orientation changes" into jb-mr1-dev
* commit 'fe28ff0d063818762dd585a67fcffd61cabd5a2f':
  Fix for regression in WindowManager orientation changes
2012-10-31 16:51:45 -07:00
Chet Haase
fe28ff0d06 Merge "Fix for regression in WindowManager orientation changes" into jb-mr1-dev 2012-10-31 16:49:12 -07:00
Jeff Brown
409c89c358 am c1c53e56: Merge "Fix dream/keyguard infinite layout loop." into jb-mr1-dev
* commit 'c1c53e56fb5222bfdd17f0a9f735efe5c1b8cb70':
  Fix dream/keyguard infinite layout loop.
2012-10-31 16:45:01 -07:00
Jeff Brown
c1c53e56fb Merge "Fix dream/keyguard infinite layout loop." into jb-mr1-dev 2012-10-31 16:42:26 -07:00
Raph Levien
688d038173 am c01d1045: Merge "Fix for bug 7400445 regression in background drawable" into jb-mr1-dev
* commit 'c01d1045ef6c79000afc6f07a74ee7963a2092ac':
  Fix for bug 7400445 regression in background drawable
2012-10-31 16:27:48 -07:00
Baligh Uddin
4bce83ee05 am 9e3a900c: Merge "Revert "Removed symbol causing compile breakage."" into jb-mr1-dev
* commit '9e3a900c35d6af749d0c363dadf627384eed687a':
  Revert "Removed symbol causing compile breakage."
2012-10-31 16:27:45 -07:00
Baligh Uddin
13d02d0427 am 83e9187d: (-s ours) Merge "Revert "Import translations. DO NOT MERGE"" into jb-mr1-dev
* commit '83e9187d158b891459afc182c675dca56c7dcd93':
  Revert "Import translations. DO NOT MERGE"
2012-10-31 16:27:40 -07:00
Baligh Uddin
47f52d754a am a68aa4e3: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'a68aa4e34357eccd7af4d7e29e574b6bc9c61d66':
  Import translations. DO NOT MERGE
2012-10-31 16:27:36 -07:00
Baligh Uddin
6697c682fa am dd733251: Merge "Removed symbol causing compile breakage." into jb-mr1-dev
* commit 'dd73325106c4d52c734647d65530e46eb70f4749':
  Removed symbol causing compile breakage.
2012-10-31 16:27:32 -07:00
Raph Levien
c01d1045ef Merge "Fix for bug 7400445 regression in background drawable" into jb-mr1-dev 2012-10-31 16:18:46 -07:00
Baligh Uddin
9e3a900c35 Merge "Revert "Removed symbol causing compile breakage."" into jb-mr1-dev 2012-10-31 16:18:13 -07:00
Baligh Uddin
2a2734f242 Revert "Removed symbol causing compile breakage."
breaks build.

This reverts commit d8a5792ae760a22aed4aa4ffd2caa5161d61baad

Change-Id: Ib92e9eee7f581bd9c508a735ef8a770316565d25
2012-10-31 16:16:22 -07:00
Baligh Uddin
83e9187d15 Merge "Revert "Import translations. DO NOT MERGE"" into jb-mr1-dev 2012-10-31 16:14:44 -07:00
Baligh Uddin
1fefef1cb3 Revert "Import translations. DO NOT MERGE"
breaks build.

This reverts commit a7cd483e4d7f097487ca9babc27316c11f2e4afb

Change-Id: I5690d3c9048f70b33a3e9610b821873a335a8357
2012-10-31 16:13:57 -07:00
Chet Haase
d5d11af3d3 Fix for regression in WindowManager orientation changes
A fix yesterday for #7428221 caused a regression where new orientations would
sometimes cause a flash through black on the way to seeing the real static wallpaper.
There is a fundamental problem in WindowManagerService where we show a window before
it has all of the layout/sizing information it needs, which is the cause of the black
flash. The regression yesterday was that we are now less aggressive about layout out
hidden windows, so we won't layout the window until after the window is shown with the
incorrect sizing info.

The fix/workaround is to back off the layout logic specifically for the wallpaper,
ensuring that we will lay it out on orientation changes, even when hidden. This means that
when we finally do show it, it will already have been drawn in the correct orientation/size.

Issue #7444971 Home jank regression

Change-Id: Ib20fdabc43ece9720b261bf04b272c5511e2d902
2012-10-31 15:40:54 -07:00
Baligh Uddin
a68aa4e343 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-31 15:31:34 -07:00
Baligh Uddin
dd73325106 Merge "Removed symbol causing compile breakage." into jb-mr1-dev 2012-10-31 15:28:44 -07:00
Svetoslav Ganov
cdb80888b7 Merge "Fix keypad accessibility." into jb-mr1-lockscreen-dev 2012-10-31 15:06:32 -07:00
Baligh Uddin
d8a5792ae7 Removed symbol causing compile breakage.
Seems like this string was removed in
  https://googleplex-android-review.googlesource.com/#/c/247477

Change-Id: I2cc96143980d326cfdbc1db3b2a3c9766963ef03
2012-10-31 15:05:47 -07:00
Baligh Uddin
0e06223ca3 am 6bd881bd: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '6bd881bd328835f9b042d859cb496ed6f612c17b':
  Import translations. DO NOT MERGE
2012-10-31 15:05:15 -07:00
Baligh Uddin
6bd881bd32 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-31 15:02:31 -07:00
Svetoslav Ganov
51cfc540b5 Merge "Accessibility of the lock screen - strings" into jb-mr1-lockscreen-dev 2012-10-31 14:34:24 -07:00
Svetoslav Ganov
562afa97c2 Accessibility of the lock screen - strings
Change-Id: I573a65e5de4c258831bd14f4d54ab3eabf67b8e1
2012-10-31 14:32:08 -07:00
Raph Levien
39824f685c Fix for bug 7400445 regression in background drawable
The opacity calculation for a gradient drawable of shape must take
rounded corners into account - if the corner radius is nonzero, then the
shape is translucent rather than opaque. Previously the code always
assumed that such rectangles were fully opaque, which led to the
background (visible behind the rectangle) not getting drawn.

This patch simply checks for corner radius in addition to shape and
computes opacity as translucent in the nonzero case.

Change-Id: Iaf4d24abc6ecf49f85c82972b8f998700c83295e
2012-10-31 13:59:02 -07:00
Amith Yamasani
7f5bade111 am 03f7ebfe: Merge "Relax permission requirements for posting notifications across users" into jb-mr1-dev
* commit '03f7ebfeaadb3f03c9a9a6405276fb702ad11fe1':
  Relax permission requirements for posting notifications across users
2012-10-31 13:09:21 -07:00
Amith Yamasani
03f7ebfeaa Merge "Relax permission requirements for posting notifications across users" into jb-mr1-dev 2012-10-31 13:06:56 -07:00
Jim Miller
170c8d930e Merge "Remove extra KeyguardViewStateManager construction" into jb-mr1-lockscreen-dev 2012-10-31 12:37:54 -07:00
Jim Miller
03633d28db Remove extra KeyguardViewStateManager construction
Change-Id: I0f64569876d923c2b4b7ac3918f3a0458a56b16c
2012-10-31 12:35:45 -07:00
Chris Wren
f778bfdfa7 Merge "Update bouncer behavior on tablets." into jb-mr1-lockscreen-dev 2012-10-31 12:34:50 -07:00
Chris Wren
c345146a3a Update bouncer behavior on tablets.
Bug: 7411293
Change-Id: I1000987b9b5d481d04e095c4f8eb9eda44a81021
Proto:Id: I81fcf3541a81812b212963a5c4b379424506bc5a
2012-10-31 15:31:20 -04:00
Baligh Uddin
5b0398448b Merge "Revert "Import translations. DO NOT MERGE"" into jb-mr1-lockscreen-dev 2012-10-31 10:37:04 -07:00
Baligh Uddin
8029f74fb8 Revert "Import translations. DO NOT MERGE"
Broken Build:
frameworks/base/core/res/res/values/symbols.xml:558: error: Symbol 'keyguard_accessibility_widget_changed' declared with <java-symbol> not defined
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1


This reverts commit 30a3eeaa4bc8d654b6ff3beb109b6af3f347b135

Change-Id: I505c6c1f3444c80519fbee50d7dda656f5c9b76e
2012-10-31 10:35:22 -07:00
Baligh Uddin
e8b0c0e702 Merge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev 2012-10-31 10:22:14 -07:00
Baligh Uddin
02dfd644c9 Merge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev 2012-10-31 10:13:00 -07:00
Dave Burke
1b33342b00 am 86e1b966: Fix ordering bug
* commit '86e1b96666af3693ec1bf220272fbc90d73d3cde':
  Fix ordering bug
2012-10-30 21:51:11 -07:00
Dave Burke
86e1b96666 Fix ordering bug
Bug: 7445381
Change-Id: I585b8cdd528b05db0737eab815c4172760aece14
2012-10-30 21:45:12 -07:00
Adam Powell
e74fcc0eb1 Merge "Fix keyguard bugs" into jb-mr1-lockscreen-dev 2012-10-30 21:00:40 -07:00
Adam Powell
cdf8b48745 Fix keyguard bugs
Integrate from proto app

Get some layout/alignment right between security views, bouncer,
etc. Expand the space available for the more cramped security views
when not in the bouncer.

Fix bug 7434391 - don't allow widget swiping in bouncer mode. Fix a
few other bouncer-related state tracking problems as well.

Use layers when moving the security view around.

Change-Id: Ied14bab8bb5c3d997c734a3ae657b766c427253f
2012-10-30 20:57:10 -07:00