59969 Commits

Author SHA1 Message Date
Winson Chung
ee5aa0e867 Merge "DO NOT MERGE. Updating screenshot notification strings. (Bug: 5333706)" into ics-mr0 2011-10-18 15:44:04 -07:00
Winson Chung
9beac371dd Merge "Fixing issue where screenshot intent to file path did not show other screenshots. (Bug: 5333706)" into ics-mr0 2011-10-18 15:44:01 -07:00
Eric Laurent
276fa43b98 Limit AudioFlinger log.
AudioFlinger logs a warning when a write to the audio HAL
takes too long to return. The threshold for this warning is
a rule of thumb based on the assumption that the audio HAL will consume
buffers at a regular pace.
The introduction of low power audio mode with larger buffers and writes
occuring in bursts makes that this threshold is often exceeded resulting
in excessive and misleading warnings.

The threshold is raised to remove unwanted warnings but we should reconsider
the usefulness of this warning altogether.

Change-Id: I5ef6898ea28d879cede3e47da542a64092a3cca4
2011-10-18 15:42:27 -07:00
Mathias Agopian
9044ef05d5 Make sure set GL state properly
when taking a screenshot, in particular, we could end up
with stale GL state when drawing LayerDim which resulted
in incortect rendering.

Bug: 5467587
Change-Id: Id9fbed2843481d31063620f3662b364c7e3ac781
2011-10-18 15:32:57 -07:00
Jim Miller
02c4c8a700 Fix 5288804: Make music trasports in lockscreen more closely match design
This fixes three issues;
- Make the background black while the transport is showing.
- Show scrim sandwiched between artwork and overlapping UI.
- Remove gaps in sides of background assets.

Change-Id: I563fc680c4c042d8b25ec37332aeab528cf838ca
2011-10-18 15:21:20 -07:00
Jim Miller
f13313a073 Merge "Fix 5452698: fix broken logic in reportFailedAttempt() in lockscreen" into ics-mr0 2011-10-18 15:10:04 -07:00
Joe Fernandez
3f70aa783c Merge "docs: Camera JavaDoc - added xref to Camera DevGuide" into ics-mr0 2011-10-18 15:02:00 -07:00
Joe Fernandez
6c5c3c392b docs: Camera JavaDoc - added xref to Camera DevGuide
Change-Id: I4b5faa154a63f0830717a9156b617a0199604547
2011-10-18 14:57:05 -07:00
Fred Quintana
6d076a425a Merge "fix bug where the instance saving of the ChooseTypeAndAccountActivity would only work in the case where onSaveInstanceState was called." into ics-mr0 2011-10-18 14:43:06 -07:00
Dianne Hackborn
535f6eacb9 Merge "Fix issue #5461497: Landed on Welcome screen after a tap on 'Next' in Screen 500" into ics-mr0 2011-10-18 14:34:08 -07:00
Robert Greenwalt
dd466152dd Merge "Initialize Hipri correctly." into ics-mr0 2011-10-18 14:29:50 -07:00
Winson Chung
014475f30c DO NOT MERGE. Updating screenshot notification strings. (Bug: 5333706)
Change-Id: I6d6c0fa7c372c887603f055ac8b0588cc2d1a90f
2011-10-18 14:16:00 -07:00
Brian Colonna
9d20405e51 Fix 5433466 - FU out of position during orientation change
If you turn the device from portrait to landscape mode and immediately
invoke the lockscreen, it will come up in landscape mode and switch to
the desired portrait mode within a couple of seconds.  Previously,
Face Unlock would come up in landscape mode, but its position would
not change once lockscreen corrected itself, causing Face Unlock to be
partly off the screen.

This has been fixed by checking if we are already bound to Face Unlock
when the layout is created.  If this is true, then the layout is being
created due to a change in orientation, and we stop Face Unlock, and
restart it at the new position.

This commit also adds a fix where we now use INVISIBLE for the Face
Unlock area when it is not showing instead of using GONE.  The
dimensions of the Face Unlock area is 0-by-0 when set to GONE, and we
want to avoid the possibility for the Face Unlock service being
assigned a zero area.  I'm not sure if this was ever causing problems,
but it certainly is not the intended behavior.

Also cleaned up some comments and logging.

Change-Id: I68deb49cb26dafb5c238167d0c23f0eed2cfb75a
2011-10-18 17:04:21 -04:00
Winson Chung
36c9e29cc6 Fixing issue where screenshot intent to file path did not show other screenshots. (Bug: 5333706)
- Upping the priority of the saving background thread

Change-Id: I274991261f46eece3773ca1f84d2a1cb7b6f4e7b
2011-10-18 13:58:40 -07:00
Chet Haase
87bc53de2a Merge "Make notification panel delete-all animation smoother" into ics-mr0 2011-10-18 13:45:00 -07:00
Dianne Hackborn
98cfebc6e8 Fix issue #5461497: Landed on Welcome screen after a tap on 'Next' in Screen 500
The basic problem was that at some points during setup wizard, this would
happen:

1. The app's process is killed.
2. The app's process is restarted, but not to actually resume the
   setup wizard activity, just to put it in the stopped state.
   When doing this, the saved state is cleared but the app will
   never provide a new one.
3. The app's process is killed again.  At this point, because the
   saved state is cleared, the activity is completely removed.
4. Eventually the entire activity stack becomes empty, and a new
   setup wizard activity needs to be created as the home app.

There is a combination of bad stuff going on here.

First, why is the process being killed?  At this point the setup
wizard is the home app, so it shouldn't be killed.  There were two
reasons why this was happening:

- CryptKeeper still was not completely cleanly going away.  To fix
  this, I removed the check in the activity manager to not allow
  an activity to finish if it is the only activity on the stack and
  maybe-kindof looks like the home app.  This really wasn't necessary
  (we always take care of starting a new home activity if we find the
  stack is empty), and outright dangerous with all of these things
  purporting to be home but not.

- There was an issue in computing the oom_adj where the home app
  would not be marked as "not hidden", and if we had to re-compute
  its oom adj in the current sequence would then give it an
  adjustment as a background process...  and with all the processes
  we spin through during boot, it quickly got down to background
  #16 and killed.

Second, what is going on with the state?  This is easier, the code
in the activity manager to create a new activity but put it in the
stopped state was still clearing the saved state.  The saved state
should only be cleared when going in to the resumed state.  When
going in to the stopped state, we can just keep holding the same
saved state.

Change-Id: I7d21cdcfa082d98ca70c79d9923e29605ee4353e
2011-10-18 13:41:10 -07:00
Wink Saville
07848843b2 Merge "Add DataConnection#isEmergency and use in trySetupData." into ics-mr0 2011-10-18 13:35:43 -07:00
Jim Miller
8e6d75affa Merge "Fix 5473038: workaround for fd leak in lockscreen" into ics-mr0 2011-10-18 13:10:24 -07:00
Chet Haase
2f2022afa1 Make notification panel delete-all animation smoother
Making the notfication delete-all animation smoother by carefully
choreographing the various parts of it. The problem with the previous
animation was that there was simply too much going on at the
same time, causing things like layout and recreating display-lists
in the middle of animations that became choppy as a result. This
approach swipes all items off quickly, then scrolls the shade up to the
top, making both sets of animations smoother as a result.

Fixes #5431207: Notification delete-all should be smoother

Change-Id: Iefe8ab5d661e05adcd10379dab85227d17904450
2011-10-18 13:05:28 -07:00
Jake Hamby
f522e095e6 Merge "Add wrapper method to GsmAlphabet for API compatibility." into ics-mr0 2011-10-18 12:22:39 -07:00
Svetoslav Ganov
601d581730 Merge "TouchExplorer crashes if there is incative pointer while dragging." into ics-mr0 2011-10-18 11:51:29 -07:00
Michael Jurka
6d9d17fdd2 Merge "Visual changes to recent apps" into ics-mr0 2011-10-18 11:49:57 -07:00
Robert Greenwalt
a4bc82aca5 Initialize Hipri correctly.
The old code was dependent on the order of things in config.xml.  This fixes that
so hipri will get the correct dependency-met value at startup.  Good ITS test.

bug:5382518
Change-Id: Ie327ab1abbc5697ffab0ed4d8c9d6de321513adb
2011-10-18 11:49:24 -07:00
Robert Ly
d6462ab547 Merge "docs: fix mistakes" into ics-mr0 2011-10-18 11:30:35 -07:00
Eric Fischer
3c44e8d22c Merge "Import revised translations. DO NOT MERGE" into ics-mr0 2011-10-18 11:29:34 -07:00
Svetoslav Ganov
d8581c7a61 TouchExplorer crashes if there is incative pointer while dragging.
The TouchExplorer was not taking into account the case with incative
pointers while dragging. If one puts a finger down and then perfroms
a dragging gestore the explorer tries to inject UP event for the end
of the gesture upon every of the two dragging pointers going up instead
only for one the first went up.

bug:5476098

Change-Id: I20d2dd7bde7e016b0678a35d14cd068d9ff37023
2011-10-18 11:28:52 -07:00
Scott Main
b22723c3f6 docs: add package summary for spell checker services
Change-Id: Iaac3293f941ec117ec28e031d5e24073e1269851
2011-10-18 11:19:44 -07:00
Robert Ly
412f90c953 docs: fix mistakes
Change-Id: Ie1d7acf45d7c0940c60039cc7beeb134ae950085
2011-10-18 11:18:04 -07:00
Winson Chung
5310a731ea Merge "Updating screenshot animation and behaviour. (Bug: 5333706)" into ics-mr0 2011-10-18 11:17:24 -07:00
Robert Ly
1ff392128d Merge "cherrypick from master - docs: nfc updates Change-Id: Iaa782911f14b11bc896ac9ef06db2c43104d1dac" into ics-mr0 2011-10-18 11:11:05 -07:00
Eric Fischer
21a7408323 Import revised translations. DO NOT MERGE
Change-Id: If2637d835559b2bdfc5b19d74aedf17aa660bdc7
2011-10-18 11:06:56 -07:00
Winson Chung
a63bb84bbe Updating screenshot animation and behaviour. (Bug: 5333706)
- Removing the second ticker text
- Adding a new animation to the status bar
- Adding a large icon to the notification

Change-Id: I8778178519fc72ffc299e8d624069b684475191d
2011-10-18 10:46:48 -07:00
Mangesh Ghiware
2bd3c2f7e8 Merge "Fix null ptr exception in getReadingLevelScale()" into ics-mr0 2011-10-18 10:31:15 -07:00
Ben Komalo
ed48c8b4f5 Fix remote device wipe to not hang.
The DPM seemed to always go through ExternalStorageFormatter to wipe the
device and SD card. For SD cards emulated on a fuse filesystem, this
seems to fail unless the device is wholly encrypted. Bypass
ExternalStorageFormatter in those cases and just wipe as normal.

Bug: 5458396
Change-Id: Iec759ef894c6bd3863cb4e7329f4de4584c60c1a
2011-10-18 10:13:34 -07:00
Robert Greenwalt
dba69061a6 Merge "Send availability info more reliably" into ics-mr0 2011-10-18 09:42:33 -07:00
Mangesh Ghiware
1698d45ef8 Fix null ptr exception in getReadingLevelScale()
Handle the case where WebView settings might be null.

Bug: 5472493
Change-Id: I6b1c2e5e5e56a517910a330ae9d40a4adc99d75a
2011-10-18 09:32:36 -07:00
Justin Ho
a548b5cb82 Merge "Removing Testudo and adding Themos ringtone Bug: 5416299" into ics-mr0 2011-10-18 09:31:01 -07:00
satok
b7ad825335 Merge "Add documents for the spell checker framework and the input method subtype" into ics-mr0 2011-10-18 09:15:48 -07:00
Robert Greenwalt
12e24ae760 Send availability info more reliably
We don't have a monolithic availability state, so the mAvailable variable
must go.

bug:5453318
Change-Id: I82af90907cc7a0173b74d661912f9c28ddc7dcb0
2011-10-18 06:39:59 -07:00
satok
44b7503093 Add documents for the spell checker framework and the input method subtype
Bug: 4973788

Change-Id: I7e650f336ba1bb8949899e8b2355e6d492a2e4b2
2011-10-18 20:28:23 +09:00
Jake Hamby
d8e147ce79 Add wrapper method to GsmAlphabet for API compatibility.
An internal method was changed to add parameters to support a new
feature (7-bit national language tables). Add a compatibility
wrapper for the original method signature, which is used by OEM code.

Bug: 5334032
Change-Id: I1acba369b1c1da52c4a950fd4ae21d693652e9c5
2011-10-18 00:50:40 -07:00
Jim Miller
29aa5dc7de Fix 5452698: fix broken logic in reportFailedAttempt() in lockscreen
This fixes a bug where we were no longer showing the countdown dialog
every 5 attempts or "forgot pattern" button when the user has a fallback
password enabled on the pattern unlock screen.

It now correctly shows the dialog whenever the user hits a multiple of
5 bad attempts on any of the pin/pattern/password screens.

Change-Id: I4eb47b4149958a93572d256a4a70f9d67bc1eb38
2011-10-17 22:00:16 -07:00
Fred Quintana
01df6a8ee2 fix bug where the instance saving of the ChooseTypeAndAccountActivity
would only work in the case where onSaveInstanceState was called.

 - combined mExistingAccounts and mSavedAccounts into one field
 - set this field when starting the addAccount request
 - write this to the instance state if the request state
   is ADDING_ACCOUNT
 - read this field from the instance state, if any,
   when the request state is ADDING_ACCOUNT

Bug: 5459669
Change-Id: I5a7b4943de8e706cc8a21ff9f54fce4258f18b19
2011-10-17 21:06:30 -07:00
Irfan Sheriff
11116b80d8 Merge "Disconnect without CTRL-EVENT-DISCONNECTED" into ics-mr0 2011-10-17 20:31:50 -07:00
Eric Laurent
c0a87dc10c Merge "Fix issue 5462427: Volume should never be 0 ..." into ics-mr0 2011-10-17 19:48:31 -07:00
Chih-Chung Chang
a84e37f37c Merge "Fix 5468644: Use the proper audio stream type to play sound." into ics-mr0 2011-10-17 19:40:12 -07:00
Dave Burke
6f13adb22a Merge "Don't hold onto the lock while reconnecting to the server" into ics-mr0 2011-10-17 18:35:11 -07:00
Jim Miller
9a7e4ce72a Merge "Fix 5466678: use new setSystemUiVisibility() API to enable clock in statusbar" into ics-mr0 2011-10-17 18:03:38 -07:00
John Reck
7788c51d82 Merge "Fix onFirstLayout path for saved pages" into ics-mr0 2011-10-17 17:48:58 -07:00
Jim Miller
a7f3a34313 Fix 5473038: workaround for fd leak in lockscreen
This works around a file descriptor leak in Skia. It also improves
view creation time by avoiding re-loading the font every time a
DigitalClock is created.

Change-Id: I5c46445da36b1e6ba06c8ca340e436835d281180
2011-10-17 17:43:02 -07:00