4278 Commits

Author SHA1 Message Date
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
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
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
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
Christopher Tate
00ac23f104 am 771fcc5e: am 28514f8f: Merge "API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"" into honeycomb
* commit '771fcc5e3d87f81663fe91149f3b680beec65f4a':
  API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
2011-01-11 20:06:19 -08:00
Robert Greenwalt
f21ef7db77 Fix any_connection reporting.
A recent change caused us to think there was no other connection available
when transitioning from 3g to wifi.

bug:3335074
Change-Id: I1f55df8a0eb5b27131572b111fbaac8f1ebbc0d3
2011-01-11 18:32:17 -08:00
Christopher Tate
02d2b3ba9b API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
There will be, in the future, a flag (View.DRAG_FLAG_GLOBAL) that means
for the drag to be cross-application.  For now that flag constant is @hide
and furthermore the server-side implementation strips it, enforcing
local-only drags.

Change-Id: I8db840480ab90e18a5b8ecf29d62b4e6eafd405e
2011-01-11 18:30:23 -08:00
Svetoslav Ganov
4d8939f50a am 8aba7513: am 147f7df3: Merge "IAE: Service not registered: com.android.server.AccessibilityManagerService" into honeycomb
* commit '8aba7513481594611c22d444dde6e666fefd1fc0':
  IAE: Service not registered: com.android.server.AccessibilityManagerService
2011-01-11 17:58:41 -08:00
Svetoslav Ganov
147f7df35c Merge "IAE: Service not registered: com.android.server.AccessibilityManagerService" into honeycomb 2011-01-11 17:53:15 -08:00
Irfan Sheriff
7f338c460f am f537bbdd: am 7ac190d6: Merge "default wifi sleep policy change" into honeycomb
* commit 'f537bbdda0e0b7bd8052d278b8970d59477cd6c1':
  default wifi sleep policy change
2011-01-11 17:31:12 -08:00
Irfan Sheriff
7ac190d60d Merge "default wifi sleep policy change" into honeycomb 2011-01-11 17:26:18 -08:00
Irfan Sheriff
96b10d669e default wifi sleep policy change
Keep wifi sleep policy as never when charged as long as
user has not changed the settings

Bug: 3038345
Change-Id: I0598af41fe0144f2dfddc5bd331bd91d91e0ffea
2011-01-11 15:40:35 -08:00
Svetoslav Ganov
6f089b877e IAE: Service not registered: com.android.server.AccessibilityManagerService
bug:3331645

1. Let the binder the AccessibilityManagerService has obtained while connecting
   to an accessibility services be garbage collected since when binding we will
   will get in the on #onServiceConnected callback and it can be potentially
   another instance.

Change-Id: I87aa5e5f741e2e54c72d3d0d396ac00eda5aeb5c
2011-01-11 15:04:49 -08:00
Kenny Root
9b35ac3f05 am 1c258707: am 2275cd48: Merge "Copy user info from PackageSetting as well" into honeycomb
* commit '1c2587071d8a7ad44967e4c4baf66c6ae01e31b5':
  Copy user info from PackageSetting as well
2011-01-11 12:34:53 -08:00
Kenny Root
2275cd48a2 Merge "Copy user info from PackageSetting as well" into honeycomb 2011-01-11 11:46:19 -08:00
Kenny Root
97ef63ba1e Copy user info from PackageSetting as well
In order not to clobber the internal system's settings, we duplicate it
before putting it back into mPackages, but the PackageSetting has a
couple extra pieces of information that weren't being copied.

Bug: 3339279
Change-Id: Ic9b64117f287d53f2c0cebb924c775405690938e
2011-01-11 11:15:35 -08:00
Svetoslav Ganov
3e6129684f am 4bcfdef3: am 52b13678: Merge "IOBE while diabling accessibility with some enabled accessibility services." into honeycomb
* commit '4bcfdef3d676d846f3c7209aaf26c849c0239cba':
  IOBE while diabling accessibility with some enabled accessibility services.
2011-01-11 10:05:42 -08:00
Svetoslav Ganov
52b136783c Merge "IOBE while diabling accessibility with some enabled accessibility services." into honeycomb 2011-01-11 10:01:00 -08:00
Jeff Brown
f9e6df6ded am 57e120cc: am f527a1d9: Merge "Prevent events from getting backlogged." into honeycomb
* commit '57e120ccc4c64f52686c062058fa50c89d81cdf6':
  Prevent events from getting backlogged.
2011-01-10 20:22:04 -08:00
Jeff Brown
f527a1d936 Merge "Prevent events from getting backlogged." into honeycomb 2011-01-10 20:17:28 -08:00
Joe Onorato
72da9fe86a am a72f59a2: am 94d7eef3: Merge "Make AppWidgetService handle components enabling and disabling." into honeycomb
* commit 'a72f59a23105a7da3ac7e758d57706eee66406d5':
  Make AppWidgetService handle components enabling and disabling.
2011-01-10 18:06:32 -08:00
Joe Onorato
d070e89396 Make AppWidgetService handle components enabling and disabling.
Change-Id: Ie6b75cb90be38bbce694ccf2d5a342d7f0172fa4
2011-01-10 17:26:39 -08:00
Jeff Brown
928e054931 Prevent events from getting backlogged.
This change implements two heuristics.

1. When events are older than 10 seconds, they are dropped.

2. If the application is currently busy processing an event and
   the user touches a window belonging to a different application
   then we drop the currently queued events so the other application
   can start processing the gesture immediately.

Note that the system takes care of synthesizing cancelation events
automatically for any events that it drops.

Added some new handle types to allow the native dispatcher to
indirectly refer to the WindowManager's window state and app window
token.  This was done to enable the dispatcher to identify the
application to which each window belongs but it also eliminates
some lookup tables and linear searches through the window list
on each key press.

Bug: 3224911
Change-Id: I9dae8dfe23d195d76865f97011fe2f1d351e2940
2011-01-10 17:23:05 -08:00
Svetoslav Ganov
6ff5f10354 IOBE while diabling accessibility with some enabled accessibility services.
1. Added logic to update the current position in the list of services to be
   disabled in case of a successfully removed (unbound) such service.

Change-Id: I2ac7d3a53026a7c95b10b285fd4280419c903ec6
2011-01-10 13:15:26 -08:00
lge-aosp
ea278a945a DO NOT MERGE Referencing of "r.record.name" is occured, when "r.record" is null.
Change-Id: I0338c85b562a224d2c478112937fd62d2208e7aa
2011-01-09 13:54:53 -08:00
Dianne Hackborn
a64b01f9ea am cfe76038: am 6d175c72: Merge "Merge commit \'690d20bb53ba2485f59d128b365eff991d5cc3e6\' into manualmerge" into honeycomb
* commit 'cfe76038dc476958e19ccccaea29823100199428':
  Fix issue # 3227963: SecurityException: Neither user 10023 nor...
2011-01-09 13:11:48 -08:00
Wink Saville
1a7e671902 Revert "Propagate new link-status-change message to any NetworkManagementService"
This reverts commit 780dfa42aa8664afa53c30ae669fc0e1f10f6537.
2011-01-09 12:16:38 -08:00
Dianne Hackborn
4f05220d10 Merge commit '690d20bb53ba2485f59d128b365eff991d5cc3e6' into manualmerge 2011-01-09 11:59:12 -08:00
Kenny Root
ac31de0cb1 am a657f113: am b0512c37: Merge "Fix check for required features" into honeycomb
* commit 'a657f113971be0903c16f3b475db4150be84a357':
  Fix check for required features
2011-01-09 07:19:28 -08:00
Kenny Root
b0512c3725 Merge "Fix check for required features" into honeycomb 2011-01-09 07:15:26 -08:00
Dianne Hackborn
7079ef0824 am 5ef0a153: am 247fe74c: Implement issue # 3255887 could CursorLoader offer...
* commit '5ef0a153f01362a3263d3cd608ece09cc67377df':
  Implement issue # 3255887 could CursorLoader offer...
2011-01-08 18:29:19 -08:00
Dianne Hackborn
247fe74c93 Implement issue # 3255887 could CursorLoader offer...
...to throttle contentobserver-based requeries

Why yes, I guess it could.

This also reworks AsyncTaskLoader to not generate multiple
concurrent tasks if it is getting change notifications before
the last background task is complete.

And removes some of the old APIs that had been deprecated but
need to be gone for final release.

And fixes a few little problems with applying the wrong theme
in system code.

Change-Id: Ic7a665b666d0fb9d348e5f23595532191065884f
2011-01-08 18:25:30 -08:00
Adam Powell
dfcd15b1aa am 6de1301b: am 947f7824: Fix bug 3245465 - Themed dialog icons
* commit '6de1301b492a1d8450fa61fcff6a3e34437b8891':
  Fix bug 3245465 - Themed dialog icons
2011-01-08 13:24:49 -08:00
Adam Powell
947f782411 Fix bug 3245465 - Themed dialog icons
Added light/dark versions of holo dialog icons. Apps using
AlertDialogs that wish to use the system dialog icon should use
setIconAttribute(android.R.attr.alertDialogIcon) instead of
setIcon(android.R.drawable.ic_alert_dialog).

Change-Id: I40793a3164478be5ffa045ededfcab8210753a4b
2011-01-08 13:09:51 -08:00
Kenny Root
1683afac14 Fix check for required features
The required features check was in an null check for usesLibraries, so
it wasn't checking for required features when an application did not use
a library.

Bug: 3331713
Change-Id: I96d366ba00d4962b84f3796be97e2b622eb331a5
2011-01-07 15:43:05 -08:00
Robert Greenwalt
ec2e01842e Merge "Propagate new link-status-change message to any NetworkManagementService observers. Also fix the syntax of the "interface-status-change" message. Add a null handler in the ThrottleService and Tethering classes (plus fix names)." 2011-01-07 12:14:25 -08:00
Jason parks
609dca2cc5 Merge "Add a method enable encryption." 2011-01-07 11:47:11 -08:00
Stan Chesnutt
780dfa42aa Propagate new link-status-change message to any NetworkManagementService
observers.  Also fix the syntax of the "interface-status-change" message.  Add
a null handler in the ThrottleService and Tethering classes (plus fix names).

Change-Id: I58cabc7b0ce5662243bc6513b2de4818065e6c52
2011-01-07 11:40:33 -08:00
Irfan Sheriff
73746fa9ce am 60525c82: Merge "Use BluetoothAdapter broadcast for coex settings" into honeycomb
* commit '60525c824ccf11302a9b8343e72eba259485edea':
  Use BluetoothAdapter broadcast for coex settings
2011-01-07 09:40:51 -08:00
Irfan Sheriff
60525c824c Merge "Use BluetoothAdapter broadcast for coex settings" into honeycomb 2011-01-07 09:37:01 -08:00
Irfan Sheriff
65eaec88f3 Use BluetoothAdapter broadcast for coex settings
Use the bluetooth adapter broadcast so that we capture
various bluetooth profiles for both scan coex settings
and coex settings during DHCP

Change-Id: Idec41940514efe7ea9927f67b6199b4893794e2a
2011-01-07 09:26:59 -08:00