59855 Commits

Author SHA1 Message Date
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
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
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
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
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
Peter Ng
f129988a1a Merge "Bullet points updated and permission colors are not orange" into ics-mr0 2011-10-17 17:24:32 -07:00
Justin Ho
e95a1190ff Merge "Update unlock halo asset" into ics-mr0 2011-10-17 17:21:47 -07:00
Justin Ho
0f86772ad7 Merge "Update text select handles" into ics-mr0 2011-10-17 17:21:30 -07:00
Justin Ho
c598fcf4d2 Merge "Update stat_sys icons with different resize method" into ics-mr0 2011-10-17 17:21:22 -07:00
Justin Ho
49317b77fd Merge "Update spinner assets" into ics-mr0 2011-10-17 17:21:15 -07:00
Justin Ho
0c7020dd52 Merge "Update scrubber assets" into ics-mr0 2011-10-17 17:21:06 -07:00
Justin Ho
d864a503c0 Merge "Update rating stars" into ics-mr0 2011-10-17 17:20:57 -07:00
Justin Ho
488eddca0f Merge "Update lockscreen assets" into ics-mr0 2011-10-17 17:20:49 -07:00
Justin Ho
e93f09d668 Merge "Update lockscreen assets" into ics-mr0 2011-10-17 17:20:40 -07:00
Justin Ho
2076de1b43 Merge "Update fastscroll assets" into ics-mr0 2011-10-17 17:20:32 -07:00
Justin Ho
8ffa137161 Merge "Update checkboxes" into ics-mr0 2011-10-17 17:20:22 -07:00
Justin Ho
68bb87b9f9 Merge "Update stars" into ics-mr0 2011-10-17 17:17:31 -07:00
Justin Ho
704ac73322 Update unlock halo asset
Change-Id: I16915602d56012c8fa5ec1581742402b68613076
2011-10-17 17:14:08 -07:00
Justin Ho
2dbe759c48 Update text select handles
Change-Id: Ifa902e38fc1e56d8dddf94585fa7557ddfb3809d
2011-10-17 17:11:14 -07:00