4478 Commits

Author SHA1 Message Date
satok
ca83021e35 Save input method subtype even if the current IME is not running.
Bug: 3325103
Change-Id: I6dfd19a0d494526cdb4cfb4230a5376ce94ca94a
2011-01-14 17:06:53 +09:00
Jeff Brown
b09abc1dd2 Add volume down as a safe mode key for Stingray.
Fixed a race condition during startup.  We need to wait for the input
devices to actually be ready before trying to detect safe mode.

Fixed a problem during safe mode activation where we would try to add
the overlay window but the display was not initialized.  Now we do it
after the system is ready.

Bug: 3134825
Change-Id: I4c043c142ae6bf0d865c79d266d36154eaf00709
2011-01-13 21:18:16 -08:00
Dianne Hackborn
6260570382 am 002fa80d: am 84543705: Merge "Fix issue #3330037: Unnecessary orientations appear..." into honeycomb
* commit '002fa80d1ab0a85c40d0e1a9b1abaff282c028a1':
  Fix issue #3330037: Unnecessary orientations appear...
2011-01-13 21:17:50 -08:00
Dianne Hackborn
8454370513 Merge "Fix issue #3330037: Unnecessary orientations appear..." into honeycomb 2011-01-13 21:14:12 -08:00
Dianne Hackborn
94cb2ebfc3 Fix issue #3330037: Unnecessary orientations appear...
...when the device's physical orientation is portrait.

We now hold off on computing app token orientation while preparing
to open or close app tokens.

Also clean up a few other little issues.

Change-Id: Iae125a975c7706fb4d068c872fd172e69854ff15
2011-01-13 21:11:09 -08:00
Jeff Brown
e74330f324 am 4f7a2d45: am 370f01bd: Merge "Fix NPE in interceptKeyBeforeDispatching." into honeycomb
* commit '4f7a2d45f47c72a20888719d711f734ee5a90546':
  Fix NPE in interceptKeyBeforeDispatching.
2011-01-13 20:05:18 -08:00
Jeff Brown
00ae87d4fd Fix NPE in interceptKeyBeforeDispatching.
Bug: 3349786
Change-Id: Ic2f969ff8a654fdcfeca06199acca531ae5596d3
2011-01-13 19:58:24 -08:00
Kenny Root
2ab7084f31 am ce2fb189: am 402438bb: Merge "Deep clone settings for system package update" into honeycomb
* commit 'ce2fb1894210aa851946b4586cadffce68125a33':
  Deep clone settings for system package update
2011-01-13 16:59:07 -08:00
Kenny Root
402438bb40 Merge "Deep clone settings for system package update" into honeycomb 2011-01-13 16:55:00 -08:00
Kenny Root
291e78cc9c Deep clone settings for system package update
The copyFrom() method was not written to create a clone of the
PackageSetting, so just create a new constructor that actually does a
clone.

Bug: 3349588
Change-Id: I61864869154340420f005cd5120cad751de30ee8
2011-01-13 16:17:50 -08:00
Dianne Hackborn
f8b9d42f74 am b054b4c8: am 8eca7a1e: Merge "Fix issue #3153930: orphan window left on screen" into honeycomb
* commit 'b054b4c8359992c13cc73d70914bc2b5bdb724de':
  Fix issue #3153930: orphan window left on screen
2011-01-13 15:50:44 -08:00
Dianne Hackborn
8eca7a1e11 Merge "Fix issue #3153930: orphan window left on screen" into honeycomb 2011-01-13 15:45:37 -08:00
Christopher Tate
8c39fc1484 am bab84e85: am 6458202a: Merge "Suppress orientation changes during drag operations" into honeycomb
* commit 'bab84e85860234bf491edd2e64fdf42eb3d57a0a':
  Suppress orientation changes during drag operations
2011-01-13 14:24:43 -08:00
Dianne Hackborn
f99f9c5f92 Fix issue #3153930: orphan window left on screen
The problem is that if a window containing children is removed
before the children are, the children may be lost.  This change
(amongst the huge amount of new debugging code) now ensures at
this point that all children windows are removed when the parent
is.

Note that this results in a bunch of error messages now as the
client app tries to continue to do things with that child window.
This is correct, it shouldn't be doing that, and needs to be
fixed to stop it.  But at least it now can't cause the window
manager to leak surfaces.

Change-Id: I7b80dd89ff9de7cb5af1dc759cfa4b31ac29cddc
2011-01-13 14:24:16 -08:00
Christopher Tate
6458202abe Merge "Suppress orientation changes during drag operations" into honeycomb 2011-01-13 14:20:48 -08:00
Fabrice Di Meglio
242d8a78f8 am aa45d43f: am 27ac243e: Merge "Print currentDestinationString() for each backup transport" into honeycomb
* commit 'aa45d43fcb16684b93e0fad3248ce90ac130f120':
  Print currentDestinationString() for each backup transport
2011-01-13 12:49:00 -08:00
Fabrice Di Meglio
27ac243e2d Merge "Print currentDestinationString() for each backup transport" into honeycomb 2011-01-13 12:45:27 -08:00
Fabrice Di Meglio
8aac3ee086 Print currentDestinationString() for each backup transport
when doing a "adb shell dumpsys backup"

Change-Id: I9a7d080ad50b715f693f3e16cae3d6e5b1189d47
2011-01-13 12:37:44 -08:00
Jason parks
8c3dc00a7d am 4a534fa8: am a3cdaa53: Revert "Remove the APIs for the old encryption scheme."
* commit '4a534fa899e0101e26e5b670383aa357c10483b8':
  Revert "Remove the APIs for the old encryption scheme."
2011-01-13 12:21:10 -08:00
Jason parks
a3cdaa5337 Revert "Remove the APIs for the old encryption scheme."
This reverts commit 1125d780a8b61703b8eb28c5c77dac5f3f0022dd.
2011-01-13 14:15:43 -06:00
Robert Greenwalt
255362b604 am 4b43f944: am 495056ab: Merge "Turn off DUN connection after tethering." into honeycomb
* commit '4b43f94499b6d0c4a34961d48b97d5e48a039f65':
  Turn off DUN connection after tethering.
2011-01-13 10:25:25 -08:00
Robert Greenwalt
495056ab67 Merge "Turn off DUN connection after tethering." into honeycomb 2011-01-13 10:02:29 -08:00
Jason parks
02f9acbdb4 am da6f7dbf: am ca6777b2: Merge "Remove the APIs for the old encryption scheme." into honeycomb
* commit 'da6f7dbf9f8bf90c84147dbc57b885b3ece03e81':
  Remove the APIs for the old encryption scheme.
2011-01-13 07:44:36 -08:00
Jason parks
21f62b9e46 Merge "Add a method enable encryption." into honeycomb 2011-01-13 07:41:53 -08:00
Jason parks
ca6777b23b Merge "Remove the APIs for the old encryption scheme." into honeycomb 2011-01-13 07:40:46 -08:00
Wink Saville
49167d749f am a8aa5fb4: am 5bf6cc01: Merge "Initialize mOtaspMode to OTASP_UNKNOWN." into honeycomb
* commit 'a8aa5fb4ad3b784034cd4972adf127f5e8f86b13':
  Initialize mOtaspMode to OTASP_UNKNOWN.
2011-01-13 06:29:06 -08:00
Wink Saville
5bf6cc0126 Merge "Initialize mOtaspMode to OTASP_UNKNOWN." into honeycomb 2011-01-13 06:24:09 -08:00
Andy Stadler
328526c975 am 199ae7dc: am 7b0f8f08: API changes to support encryption in DPM
* commit '199ae7dce11badac71c27b1d973e24387dd5f924':
  API changes to support encryption in DPM
2011-01-12 21:18:48 -08:00
Andy Stadler
7b0f8f08ac API changes to support encryption in DPM
* New uses-policies value
* Definitions for storage domain and encryption status
* API to get and set encryption status
* Intent to launch encryption changes
* Both new calls bottom out in the DPM service and are suitable for
  a device that does not support encryption.

NOTE: Nobody should use ACTION_START_ENCRYPTION yet.  It needs a receiver
  to be built in Settings (different CL).

Change-Id: I2ae193bedbec59f6ba46c0ec7de12ecf321e5803
2011-01-12 21:11:32 -08:00
Christopher Tate
b7e7bc42f1 am 3186e0da: am 44a94bb5: Merge "Turn off debugging logspam for release" into honeycomb
* commit '3186e0da33256400b52024b268c9e6e048caee6c':
  Turn off debugging logspam for release
2011-01-12 20:27:21 -08:00
Christopher Tate
994ef9296a Turn off debugging logspam for release
Fixes bug 2679101

Change-Id: I94cf1b1d0b732b2030008118eff3534f0e0608f7
2011-01-12 20:06:07 -08:00
Christopher Tate
ccd24de8a9 Suppress orientation changes during drag operations
Fixes bug 3322455

Change-Id: I21d4dbc3aaf6c8ba7afcb73a823d6443c61a4d1b
2011-01-12 17:52:31 -08:00
Robert Greenwalt
19b9ab46a9 Turn off DUN connection after tethering.
Use matching feature type when turning tethering off or the request is ignored.

Also, turn on DUN apn right away so that we don't fail aggressive test cases.

Also don't report connections for enabled apn's that we're no longer connected to.

bug:3332880
bug:3338033
Change-Id: I7db2dfd4879f03465bc9f6d39488c078570dcaf3
2011-01-12 15:52:10 -08:00
Kenny Root
470750793b am e8c04db7: Merge "Add the {get,set}PackageObbPaths calls to API" into gingerbread
* commit 'e8c04db71e347396e9537ead7113ba9f46706e44':
  Add the {get,set}PackageObbPaths calls to API
2011-01-12 15:06:51 -08:00
Kenny Root
e8c04db71e Merge "Add the {get,set}PackageObbPaths calls to API" into gingerbread 2011-01-12 15:03:43 -08:00
Dianne Hackborn
ea8c3baf36 am 7ca0b1c5: am a353581c: Merge "Fix issue #3344089: runtime restart due to java.lang.StackOverflowError..." into honeycomb
* commit '7ca0b1c58623ad1adfb3324df235d4172e44c83a':
  Fix issue #3344089: runtime restart due to java.lang.StackOverflowError...
2011-01-12 14:36:03 -08:00
Jason parks
56aa5321fe Add a method enable encryption.
This is for testing and needs to be cleaned up.

Change-Id: I29958f2a95c7773744e61bbd23a302b752614f87
2011-01-12 16:00:23 -06:00
Wink Saville
c9330ddcf4 Initialize mOtaspMode to OTASP_UNKNOWN.
Without the explicit initialized the default value was 0 which
is OTASP_UNINITIALIZED instead it should be OTASP_UNKNOWN.

Change-Id: I44ffc60618c0b1d49e07ccbce408c4e9921d8130
2011-01-12 13:37:38 -08:00
Dianne Hackborn
2e7ffa54c1 Fix issue #3344089: runtime restart due to java.lang.StackOverflowError...
...in WindowManager after app force closed a few times

Change-Id: I9d5ff16b01d14030150ba0904a47635f9c7a158f
2011-01-12 13:21:28 -08:00
Jason parks
1125d780a8 Remove the APIs for the old encryption scheme.
Change-Id: I55116a5b29b10dfd50015805ec019b485257f68b
2011-01-12 15:01:34 -06:00
Kenny Root
090093592e am c669559d: am b5a4b5d3: Merge "Allow updated system apps to retain priority" into honeycomb
* commit 'c669559dc3c1d348145d902c623166a9d874b5a8':
  Allow updated system apps to retain priority
2011-01-12 12:02:04 -08:00
Kenny Root
0ee294470d am 6688b6c3: Merge "Allow updated system apps to retain priority" into gingerbread
* commit '6688b6c31765242866fc276cea7fa241fc5b5e7b':
  Allow updated system apps to retain priority
2011-01-12 11:59:49 -08:00
Kenny Root
502e9a47c6 Allow updated system apps to retain priority
Previously any updated system apps would not be able to have a greater
than 0 priority on an activity intent filter. Moving the priority check
later in the package scanning allows it to apply to updated system
packages as well.

Cherry-pick from gingerbread branch

Bug: 2572398
Change-Id: I95d8b6360bf7a3f39cd7a1ff09e1ee57e11583d8
2011-01-12 11:57:23 -08:00
Kenny Root
6688b6c317 Merge "Allow updated system apps to retain priority" into gingerbread 2011-01-12 11:56:25 -08:00
Robert Greenwalt
8403cbf100 am 1ea7e5df: am a78e9f05: Merge "Fix any_connection reporting." into honeycomb
* commit '1ea7e5df91f023d03fa7c87c534e6024795abaaa':
  Fix any_connection reporting.
2011-01-12 07:21:32 -08:00
Robert Greenwalt
a78e9f0558 Merge "Fix any_connection reporting." into honeycomb 2011-01-12 07:16:56 -08:00
satok
41514d740b am 52b18265: am 31d9d895: Merge "Update shortcut IME when asked. And match the language of subtype by "startWith" not "equals"." into honeycomb
* commit '52b18265680073c02b0b0a1ff9c3d4d95a6779be':
  Update shortcut IME when asked. And match the language of subtype by "startWith" not "equals".
2011-01-12 01:21:59 -08:00
satok
31d9d895d7 Merge "Update shortcut IME when asked. And match the language of subtype by "startWith" not "equals"." into honeycomb 2011-01-12 01:17:58 -08:00
satok
3da922367c Update shortcut IME when asked. And match the language of subtype by "startWith" not "equals".
Bug:  3329578

Change-Id: Ib45ca20560c96faa6e2798242f3d1c3fe5156457
2011-01-12 16:17:46 +09:00
Jeff Brown
6f71d0fedb Filter virtual keys after touches. (DO NOT MERGE)
Adds a new virtualKeyQuietTimeMillis configuration resource that sets
the duration for which virtual keys will be dropped after recent touches
on screen.  The default value is 0; it is intended to be overridden
per device using a resource overlay.

This change is designed to help in two cases:

1. Swipes from touchscreen into virtual key area.
2. Accidental taps in virtual key area while using on-screen keyboard.

Bug: 3089163
Change-Id: Id6733c83c2e2bc8d9553aa0e5c1fd74b741bec6e
2011-01-11 20:56:04 -08:00