76141 Commits

Author SHA1 Message Date
Kenny Root
208d341bbd Handle addition of system apps during OTA
If there were apps already installed that were added in a later system
OTA, bad things would happen.

If the previously installed application is an older version, simply
delete the installed application. If the system app is older than the
previously installed one, mark it as a disabled system app and use the
previoulsy installed application.

Additionally, the application will now have the correct granted
permissions.

Bug: 6251602
Change-Id: Iea444b6acac460fca1e08d4e2cbf68a258214ca6
2012-05-08 15:57:44 -07:00
Svetoslav Ganov
59f3f5853c Merge "Add performAccessibilityAction to AccessibilityDelegate." into jb-dev 2012-05-08 12:52:57 -07:00
Kenny Root
8a2fe26873 Merge "Prune hidden system apps when removed via OTA" into jb-dev 2012-05-08 12:50:07 -07:00
Colin Cross
fdb7412af3 Merge "Don't call into power HAL if it isn't loaded." into jb-dev 2012-05-08 12:25:45 -07:00
Colin Cross
c814c16b7f Don't call into power HAL if it isn't loaded.
The patch to call into libsuspend accidentally dropped the
test for sPowerModule == NULL.  Put it back, and fix some
tabs too.

Change-Id: I1f934a41540f3b7be01d6399512482d87acceb94
2012-05-08 12:18:38 -07:00
Andreas Huber
c2182c67d6 Merge "Clarification of MediaCodec behaviour when codec specific data is included" into jb-dev 2012-05-08 12:00:39 -07:00
Andreas Huber
8aa735f71e Clarification of MediaCodec behaviour when codec specific data is included
in the format passed to configure().

Change-Id: I150f52e8092c0f7d897891f02ba6b1d89b6230f4
related-to-bug: 6364139
2012-05-08 11:33:12 -07:00
Svetoslav Ganov
6704c23339 Merge "AccessibilityNodeInfo for visible views should reported." into jb-dev 2012-05-08 11:32:20 -07:00
Svetoslav Ganov
cdbbecf357 Merge "Accessibility focus on temporary detached view not cleared." into jb-dev 2012-05-08 11:29:37 -07:00
Adam Powell
1705b2a5da Merge "Fix some oddities in ResolverActivity" into jb-dev 2012-05-08 11:27:27 -07:00
Adam Powell
9bee4664f8 Fix some oddities in ResolverActivity
* Fix layout for small-screen devices in landscape.

* Properly re-enable buttons after restoring instance state.

* Scroll to the currently selected item after restoring instance
  state.

* Smooth scroll to the currently selected item if the user changes
  selection to an item slightly out of view.

* Place grid scroll bar outside the grid's padding.

* Make the current text read a bit more naturally.

Bug 6460135

Change-Id: Ic60330365cdd815e7517f01b36bcdc9d1c857f30
2012-05-08 11:20:27 -07:00
Fabrice Di Meglio
92d7f9ff1c Merge "Fix bug #6408393 Character corruption is caused when locale is changed" into jb-dev 2012-05-08 10:54:41 -07:00
Jeff Brown
947f1c8db0 Merge "Move CancellationSignal to android.os package." into jb-dev 2012-05-08 10:51:12 -07:00
Elliott Hughes
6d6d186cd1 Merge "The 'localize' tool is dead." into jb-dev 2012-05-08 10:45:38 -07:00
Dianne Hackborn
4a337ec99e Merge "New preference for multi-selection check boxes." into jb-dev 2012-05-08 10:38:10 -07:00
Amith Yamasani
369d78f128 Merge "Switch 7 inch tablets to single-pane preferences, like phones." into jb-dev 2012-05-08 10:30:01 -07:00
Nick Pelly
c4eb11db04 Merge "Increase interval threshold below which we just leave the GPS on." into jb-dev 2012-05-08 10:27:22 -07:00
Amith Yamasani
1aba409f2f Switch 7 inch tablets to single-pane preferences, like phones.
Move a bunch of dimensions around so that 7" tablets use phone-style
UI but with different margins to reduce the width.

24dp margin for portrait and 48dp margin for landscape.
Existing sw600dp values moved to sw720dp.
New sw600dp values created.

Bug: 6445803
Change-Id: I835c8f4b0423b295dd453161f4e32406e6267515
2012-05-08 10:21:24 -07:00
Adam Powell
ef31e7cab5 Fix for toggling menu item visibility outside of create/prepare menu
Allow applications to transition from 0=>1+ visible menu items outside
of onCreatePanelMenu/onPreparePanel. Previously, having 0 visible items
at this point would require an invalidation of the options menu.

Bug 6452605

Change-Id: I6cbfc46d0e5ec42b8d78ee516e9b57fdeaf1a890
2012-05-08 10:01:35 -07:00
Svetoslav Ganov
961bf0e9b4 Accessibility focus on temporary detached view not cleared.
1. When a view that has accessibility focus is temporary detached
   we try to draw the focus highlight and crash. Since the detached
   view will be modified and then either attached or detached from
   the window we should not keep accessibility focus on a temporary
   detached view. Otherwise, we may have a scenario where the user
   thinks he is in one item scroll acound and being in completely
   different item because of the view being recycled but the user
   has no clue.

2. Clearing accessibility focus when the view is removed from the
   parent as opposed as when it is detached from the window. Since
   we may have transitioning views for removal we do not want
   accessibility focus on such views during the anumation.

bug:6457339

Change-Id: I62287a089ec6850fb1d691ae26dea54e1da39c94
2012-05-08 09:50:28 -07:00
Teng-Hui Zhu
87156c96f5 Merge "Replace tree observer with a JNI call at draw time" into jb-dev 2012-05-08 09:26:46 -07:00
John Reck
7c38077edf Merge "Fix inval issue" into jb-dev 2012-05-08 09:14:50 -07:00
John Reck
0bb0198d5b Fix inval issue
Bug: 6323847

Change-Id: Ibe9fc46af597cd97ae76339533faacfaa6d952fc
2012-05-08 09:08:50 -07:00
John Reck
975b9b787a Merge "Delay creating Java objects for WebHistoryItem" into jb-dev 2012-05-08 08:49:39 -07:00
Chris Wren
89139d74b2 Allow more kinds of two-finger gestures to open and close notificaitons.
Also make sure glow always animates to zero when set to zero.

Bug: 6430737
Bug: 6423826
Change-Id: I1ebeb6c0012ac17a942901bfd22e579393348584
2012-05-08 08:10:37 -07:00
Daniel Sandler
28612b29f0 Merge "Visual refresh of notification panel header." into jb-dev 2012-05-08 07:34:17 -07:00
Chris Wren
195ba5047c Merge "Clear out any existing buttons before adding the set of requested actions." into jb-dev 2012-05-08 07:34:12 -07:00
Chris Wren
407f2fdcfe Merge "Don't allow actions to intrude into the notification area." into jb-dev 2012-05-08 07:33:59 -07:00
Chris Wren
2c22eb0a49 Clear out any existing buttons before adding the set of requested actions.
Bug: 6459557
Change-Id: Id19050e7280208d4f98c1aabe8087c6fe6c8d72a
2012-05-08 09:49:13 -04:00
Chris Wren
92c6247962 Don't allow actions to intrude into the notification area.
Bug: 6411597
Change-Id: I7331f378463efe136c2bcb517ca8b4263a04556c
2012-05-08 09:35:16 -04:00
satok
05f5236f60 Merge "Make InputMethodSubtype thread safe" into jb-dev 2012-05-08 00:04:16 -07:00
Kenny Root
c52d6fd043 Prune hidden system apps when removed via OTA
System applications which had an update applied to them at some point
were in a semi-broken state when removed via an OTA. The
"updated-package" setting would stay around forever and permissions
wouldn't be revoked.

Change-Id: I908e813b5de59c0f777d9b051253b28255a1c694
2012-05-07 23:07:49 -07:00
satok
e52eb4e289 Make InputMethodSubtype thread safe
Bug: 6327800
Change-Id: I549d1ec377793e918800d919b39fd8f4b6f0db41
2012-05-08 14:45:09 +09:00
Fabrice Di Meglio
30ca5cd11a Fix bug #6408393 Character corruption is caused when locale is changed
- free the TextLayoutCache on Locale change

- also free TextLayoutCache when memory is low

Change-Id: I39a37ac8ec3c292cfb1c0eea4bb41ff71897d089
2012-05-07 20:17:38 -07:00
Mathias Agopian
faf5b16ae8 Merge "better error handling in SensorManager" into jb-dev 2012-05-07 20:09:26 -07:00
Jeff Brown
a7771df369 Move CancellationSignal to android.os package.
Bug: 6427830
Change-Id: I39451bb1e1d4a8d976ed1c671234f0c8c61658dd
2012-05-07 20:06:46 -07:00
Jeff Brown
9cc5e7678d Merge "Hide SET_KEYBOARD_LAYOUT permissions." into jb-dev 2012-05-07 19:29:55 -07:00
Dianne Hackborn
7746f91065 New preference for multi-selection check boxes.
This will be used for a new settings preference.

Change-Id: Ia748cd3e0e8b80ff40942fe2978bd27ce929499a
2012-05-07 19:17:58 -07:00
Jeff Brown
507f5586fb Hide SET_KEYBOARD_LAYOUT permissions.
Bug: 6427036
Change-Id: Idbb442ad8071b2ca4acf247b135c7aba0830cf70
2012-05-07 19:06:06 -07:00
Svetoslav Ganov
775bcac6bc Updating the documentation of share action provider.
1. Added some clarification how a developer can use the
   same provide with different historical files in a
   context dependent manner.

Change-Id: I2a3390ade7e4b8b1170d381668e1439e52c17b7e
2012-05-07 19:05:50 -07:00
James Dong
6e24d0c693 Merge "Fix an issue where the message queue fails to queue in the looper threads because they are not created." into jb-dev 2012-05-07 19:00:05 -07:00
Jeff Brown
41a4704b09 Merge "Small tweaks to orientation." into jb-dev 2012-05-07 18:55:20 -07:00
alanv
8eeefefc84 Add performAccessibilityAction to AccessibilityDelegate.
Change-Id: I43dff2ced959af5d8a9ce9ed18858a6e74cb35c6
2012-05-07 18:42:31 -07:00
Adam Powell
69de7e1a4e Fix a bug in ActivityManagerService#navigateUpTo
Deliver new intents to an existing parent from the calling uid obtained from
the applicationInfo instead of the process record, since the process record
might be dead.

Stoopid monkeys.

Bug 6328725

Change-Id: I4371a5705ccd7004f0dfe11da7c48d1563fb8dac
2012-05-07 18:42:24 -07:00
Kenny Root
29bb27ef90 Merge "Add encryption parameters to package installation" into jb-dev 2012-05-07 18:41:27 -07:00
Svetoslav Ganov
d57521c674 Fix the build.
Change-Id: I9b9e26e22a6be27341f4b0b95cb8edd1629fa812
2012-05-07 18:39:07 -07:00
Jeff Brown
daf5d894ef Small tweaks to orientation.
Improved threshold for detecting external acceleration.

Bug: 5976859
Change-Id: Iaf2298fba8eda72d1cacbb2f3aea72f460a9262f
2012-05-07 18:30:18 -07:00
Svetoslav Ganov
911b0c0b15 Merge "Accessibility focus actinos incorectly set on accessibility node info." into jb-dev 2012-05-07 18:29:09 -07:00
Mathias Agopian
0b6d77bdeb better error handling in SensorManager
Change-Id: Id0498e950f1407a10e3b2d88e63c2141ac95d103
2012-05-07 18:27:06 -07:00
Adam Powell
ae9c72d9a8 Merge "AbsListView: Toss transient state views once they no longer have transient state." into jb-dev 2012-05-07 18:24:09 -07:00