86319 Commits

Author SHA1 Message Date
Jeff Brown
016ff14f12 Stop dreaming if the battery not charging effectively.
If the user activity timeout expired and the battery appears
to be draining faster than it is charging then stop dreaming
and go to sleep.

Bug: 7312455
Change-Id: I1b9d89e5b2647c72c455d2792e3778a2fe6a4e34
2012-10-15 16:56:20 -07:00
Jeff Brown
ab887a09ad Cleanup some internal documentation.
Bug: 7312455
Change-Id: Idefd71f2e9d1abe1b2671dac9702edf7f5fbc118
2012-10-15 16:01:37 -07:00
Jeff Brown
ee4f029ff4 Update wifi display device name when renamed.
Bug: 7340725
Change-Id: Ia3835a37fa3800371920f863b82f992efe764664
2012-10-15 15:31:59 -07:00
Robert Greenwalt
a30d969401 Merge "Monitor the right interface re VPN" into jb-mr1-dev 2012-10-15 11:34:13 -07:00
Irfan Sheriff
d86a532c52 Merge "Fix handling of lost device" into jb-mr1-dev 2012-10-15 10:23:23 -07:00
Marco Nelissen
48df149196 Merge "Rewind buffer before copying into it." into jb-mr1-dev 2012-10-15 10:00:16 -07:00
Chris Wren
4a01f2b5dc Merge "delay onDreamingStarted() to work around asynchrony." into jb-mr1-dev 2012-10-15 09:06:37 -07:00
Jim Miller
87d57952af Minor layout tweaks and bug fix in keyguard
- fix wrong string in SIM PUK unlock
- use buttonBar style for "emergency" and "forgot pattern" buttons

Bug 7341237

Change-Id: Id5593b54c345e3f869b6febc8554da01e7cb319e
2012-10-15 02:10:57 -07:00
Jim Miller
14bb25a386 Merge "Fixing issues with pattern recovery / account view (issue 7341237):" into jb-mr1-dev 2012-10-15 00:57:49 -07:00
Irfan Sheriff
e6e810048e Merge "Cleanup on async disconnect and finalize" into jb-mr1-dev 2012-10-14 22:58:49 -07:00
Irfan Sheriff
41de240465 Fix handling of lost device
We did not update a lost device notice to apps properly. This causes incorrect
connection initiation without a discovery which leads to failed invitation
requests to supplicant.

Bug: 7328758
Change-Id: If4b594c737d639d0f553188309319fba4e3ee7b7
2012-10-14 22:41:30 -07:00
Adam Cohen
6f131416ba Fixing issues with pattern recovery / account view (issue 7341237):
-> Recovery button should only appear if account present
-> Recovery button should appear at bottom
-> Account view should have emergency call button
-> Account view should not show the clock / status area

Change-Id: Id12e8219f3fc6ecb14e82c5ec6ea4b3e28ed772d
2012-10-14 21:25:08 -07:00
Adam Cohen
6dbf8610e9 Fix for NPE with pattern recovery (issue 7341237)
-> Dealt with this NPE, and guarded against all related NPEs (which probably
   can't happen, but given the stakes of a system crash, this is safer).

Change-Id: I3c207839ae0279033b6f3dad791d710b19415439
2012-10-14 17:26:31 -07:00
Jim Miller
66e9307645 Merge "Disable security view transitions in keyguard" into jb-mr1-dev 2012-10-14 12:08:45 -07:00
Craig Mautner
27c0773c34 Merge "Fix wallpaper not updating on initial boot." into jb-mr1-dev 2012-10-14 11:25:23 -07:00
Jim Miller
68c2489457 Disable security view transitions in keyguard
Now that we have a single stage unlock, there's no need for the transition. This
was causing unnecessary flickering to happen in views where we add the security view
just after inflation, which triggers the animation.

Fixes bug 7343632

Change-Id: I5bb8e37df66e4d96f00719e318424d46bf0e2e5a
2012-10-14 05:07:14 -07:00
Adam Cohen
3b9f9bceea Merge "Fix inability to start pattern outside view bounds (issue 7344325)" into jb-mr1-dev 2012-10-13 20:40:33 -07:00
Adam Cohen
258d9fc6c6 Fix inability to start pattern outside view bounds (issue 7344325)
-> At the same time, disabling the abilit to page the widget region
   and see the overscroll effect

Change-Id: Icd9d9e253404bfbfc411d8958f7c634ca4e37279
2012-10-13 20:24:26 -07:00
Adam Cohen
c4c562223b Merge "Fix blank clock (issue 7344512)" into jb-mr1-dev 2012-10-13 19:34:45 -07:00
Adam Cohen
33387b1bee Merge "Fix edge case with status message (issue 7343848)" into jb-mr1-dev 2012-10-13 19:23:49 -07:00
Adam Cohen
7e39410f95 Fix blank clock (issue 7344512)
Change-Id: Iad23f049fcc31ad8f08c99e7c3088e1523de1d45
2012-10-13 19:10:56 -07:00
Craig Mautner
c92f150af0 Fix wallpaper not updating on initial boot.
Update the wallpaper and redraw it unconditionally when the surface
changes. Previously we were not updating the wallpaper when the
surface changed which meant that it remained at the original surface
dimensions. Also, the indication that it was visible comes in too
late to display it cleanly without jank.

Bug: 7310334 fixed.
Change-Id: Ic2ae95ea0b0704183053da1d7a906818651c62c9
2012-10-13 17:55:26 -07:00
Adam Cohen
61ccc162a0 Fix edge case with status message (issue 7343848)
-> When an unimportant message is set, we need to clear the security string
   so that battery / owner info takes precedence at that point.

Change-Id: I3f86b0c2cc8fb2fb0023fce77a7725d8ada96d9e
2012-10-13 17:04:44 -07:00
Adam Cohen
32f9e8ffdd Merge "Only showing important security messages in status area (issue 7341795)" into jb-mr1-dev 2012-10-13 16:38:48 -07:00
Adam Cohen
0a4f900463 Only showing important security messages in status area (issue 7341795)
Change-Id: Ie2fcd4dd7130b4684223d0442f50e76435f61768
2012-10-13 16:33:27 -07:00
Daniel Sandler
e111ad300d No, that's German for "The Quick Settings, The".
Bug: ???????
Change-Id: I24ffb21b1566d98c9df6db48c4062390757cd8bc
2012-10-13 17:23:47 -04:00
Adam Powell
85341a7667 Merge "Fix keyguard dimensions; IME state for password view; layouts" into jb-mr1-dev 2012-10-13 01:44:13 -07:00
Adam Powell
70bc9f24ce Fix keyguard dimensions; IME state for password view; layouts
Fix a bug where ordering during inflation caused us not to set a
keyguard callback early enough to properly modify window flags. Add a
gross hack to work around this for now.

Fix status layouts to scale a bit more gracefully in the presence of
an IME.

Fix password layouts to scale more gracefully in the presence of an
IME

Bug 7343312
Bug 7341795
Bug 7342963
Bug 7343089

Change-Id: Ifb2c06defef11e8f7f9d0e09855632ed491bb31c
2012-10-13 01:25:51 -07:00
Jim Miller
211a18e2d6 Merge "Partial fix for blank widget page" into jb-mr1-dev 2012-10-13 01:16:32 -07:00
Jim Miller
28dc64b86b Merge "Disable loading widgets in single-stage keyguard" into jb-mr1-dev 2012-10-13 00:29:16 -07:00
Adam Powell
308b1a66b2 Merge "Fix offsets for glowpad on keyguard" into jb-mr1-dev 2012-10-12 19:57:15 -07:00
Adam Powell
f8b93b5503 Fix offsets for glowpad on keyguard
Bug 7342491

Change-Id: Id9733070c28a85c47ac8b982768e47a4254bd825
2012-10-12 19:33:49 -07:00
Jason Sams
5675419356 Merge "Fix cycle detection for SGs." into jb-mr1-dev 2012-10-12 19:02:56 -07:00
Jason Sams
10542ec336 Merge "Port ImageProcessing to Filterscript." into jb-mr1-dev 2012-10-12 19:01:38 -07:00
Jason Sams
73db36e6d8 Merge "Fix crash in ImageProcessing blend test" into jb-mr1-dev 2012-10-12 19:00:21 -07:00
Victoria Lease
f402fa4625 Merge "Simplify fused location provider." into jb-mr1-dev 2012-10-12 18:58:37 -07:00
Fabrice Di Meglio
f9307c5c00 Merge "Fix bug #7334966 Padding is still broken in RTL languages" into jb-mr1-dev 2012-10-12 18:25:55 -07:00
Jim Miller
ea06c3ed6f Disable loading widgets in single-stage keyguard
Change-Id: I8975c3a8e6ba060987fda2d0d4b9fc8dc0686d06
2012-10-12 17:55:07 -07:00
Dianne Hackborn
59cb2cf15c Merge "Revert fix to issue #6880627: PendingIntent.getService() returns..." into jb-mr1-dev 2012-10-12 17:43:46 -07:00
Robert Greenwalt
53c04bdd35 Monitor the right interface re VPN
Must remember the outer interface - undoes a change from a
couple months ago that broke things.

bug:7336302
Change-Id: Ia4f60862c60f3078853e151980e09cbf22a57222
2012-10-12 17:02:45 -07:00
Michael Jurka
f15005ee39 Merge "Use black bg in recents if using live wallpaper" into jb-mr1-dev 2012-10-12 16:41:48 -07:00
Guang Zhu
d4805af616 Merge "use BufferedInputStream in readTextFile" into jb-mr1-dev 2012-10-12 16:30:34 -07:00
Michael Jurka
071316e561 Use black bg in recents if using live wallpaper
Bug: 7282784

Change-Id: I686f8f0e36e3414ad30d23de80cbbfb2868069d4
2012-10-13 01:02:09 +02:00
Fabrice Di Meglio
84ebb35f39 Fix bug #7334966 Padding is still broken in RTL languages
- do correct resolution and reset propagation for all RTL properties (padding and drawables included)
- fix CheckedTextView padding too

Change-Id: Ie603683a2324b2a6ef2c03633d01d5726c883b90
2012-10-12 15:54:10 -07:00
Guang Zhu
90619816d9 use BufferedInputStream in readTextFile
With FileInputStream, using assumption of bytes read (as
returned by read function) not matching buffer size as EOF is
not correct, we hit this when reading from /proc in some cases.

BufferedInputStream's behavior matches that assumption due to
its implementation.

Bug: 7342759
Change-Id: Ibb06dbe1fbe33f6f880524f7555ff5542889ea50
2012-10-12 15:50:44 -07:00
Chris Wren
f434d23a16 delay onDreamingStarted() to work around asynchrony.
Bug: 7328682
Change-Id: I86144b0b34eade332543244bb3aff5f9695ff7f7
2012-10-12 18:37:02 -04:00
John Spurlock
0c63d78a0f Merge "Keep QS brightness slider icon in sync." into jb-mr1-dev 2012-10-12 15:30:34 -07:00
Dianne Hackborn
861a3b2d4f Revert fix to issue #6880627: PendingIntent.getService() returns...
...stale intent of force stopped app

Fixing this caused other problems elsewhere that we don't have time
to address at this point.

Fixes issue #7338275: Tapping clock home screen widget doesn't open
alarms anymore

Change-Id: Iedc1fae5f62b6ead28d1895d709591358e5d6634
2012-10-12 15:25:20 -07:00
Victoria Lease
0fdfa6b49e Simplify fused location provider.
The previous location fusion algorithm produced very poor results
outdoors, where stale-but-accurate network locations had too much
influence over the final fused location.

I swapped the previous fusion algorithm out with an algorithm
that has been well-tested elsewhere and should produce superior
results.

Bug: 7341419
Change-Id: Iba71950a07907cbf26429c4e377b5e2ed91ba302
2012-10-12 15:19:41 -07:00
Adam Powell
8dd3aaddba Merge "Align carrier info for glowpad keyguard screen" into jb-mr1-dev 2012-10-12 15:11:51 -07:00