OSDN Git Service

android-x86/frameworks-base.git
13 years agoam 29ccd2a1: am 8f226dcb: (-s ours) am ca97671e: am 6f5a837c: Merge "Fix getSwitchSta...
Jeff Brown [Thu, 11 Aug 2011 23:20:29 +0000 (16:20 -0700)]
am 29ccd2a1: am 8f226dcb: (-s ours) am ca97671e: am 6f5a837c: Merge "Fix getSwitchState according to device capabilities."

* commit '29ccd2a1b3bc2defb97fa4d76ed031a60181224a':
  Fix getSwitchState according to device capabilities.

13 years agoam 56d377c0: am b4459d8d: (-s ours) am 7e79b9aa: am dbff9107: Merge "Support wrapping...
Jeff Brown [Thu, 11 Aug 2011 23:18:30 +0000 (16:18 -0700)]
am 56d377c0: am b4459d8d: (-s ours) am 7e79b9aa: am dbff9107: Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"

* commit '56d377c027e223d2baffafb437d98443973e9798':
  Support wrapping app processes to inject debug instrumentation. Bug: 4437846

13 years agoam 8f226dcb: (-s ours) am ca97671e: am 6f5a837c: Merge "Fix getSwitchState according...
Jeff Brown [Thu, 11 Aug 2011 23:15:31 +0000 (16:15 -0700)]
am 8f226dcb: (-s ours) am ca97671e: am 6f5a837c: Merge "Fix getSwitchState according to device capabilities."

* commit '8f226dcb21c84f5479a0a1b2d6486293dcd2e937':
  Fix getSwitchState according to device capabilities.

13 years agoMerge "Update read/write profile permission descriptions."
Dave Santoro [Thu, 11 Aug 2011 23:14:28 +0000 (16:14 -0700)]
Merge "Update read/write profile permission descriptions."

13 years agoam b4459d8d: (-s ours) am 7e79b9aa: am dbff9107: Merge "Support wrapping app processe...
Jeff Brown [Thu, 11 Aug 2011 23:13:11 +0000 (16:13 -0700)]
am b4459d8d: (-s ours) am 7e79b9aa: am dbff9107: Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"

* commit 'b4459d8d6d5377db2494f5a11124d49194f1044c':
  Support wrapping app processes to inject debug instrumentation. Bug: 4437846

13 years agoUpdate read/write profile permission descriptions.
Dave Santoro [Thu, 11 Aug 2011 23:03:43 +0000 (16:03 -0700)]
Update read/write profile permission descriptions.

These changes are to match the recommendations of our tech writers
and to clarify what the permission data involves.

Bug 5098217

Change-Id: I05fa5e517980a7d24836e15bb96d12cfe35228a3

13 years agoMerge "Manually merge the changes made in honeycomb-mr2 to get this on the web."
Elliott Hughes [Thu, 11 Aug 2011 22:52:21 +0000 (15:52 -0700)]
Merge "Manually merge the changes made in honeycomb-mr2 to get this on the web."

13 years agoMerge "Fix partial-read handling during restore"
Christopher Tate [Thu, 11 Aug 2011 22:07:25 +0000 (15:07 -0700)]
Merge "Fix partial-read handling during restore"

13 years agoMerge "More fun with action bars and themes!"
Adam Powell [Thu, 11 Aug 2011 21:59:52 +0000 (14:59 -0700)]
Merge "More fun with action bars and themes!"

13 years agoMerge "Added support for colored / thick underlined text."
Gilles Debunne [Thu, 11 Aug 2011 21:50:00 +0000 (14:50 -0700)]
Merge "Added support for colored / thick underlined text."

13 years agoMerge "Audio effects: track CPU and memory use separately"
Eric Laurent [Thu, 11 Aug 2011 21:40:04 +0000 (14:40 -0700)]
Merge "Audio effects: track CPU and memory use separately"

13 years agoMerge "Updated scrubber_control assets, adding pressed state Bug: 5076695"
Justin Ho [Thu, 11 Aug 2011 21:39:03 +0000 (14:39 -0700)]
Merge "Updated scrubber_control assets, adding pressed state Bug: 5076695"

13 years agoAudio effects: track CPU and memory use separately
Eric Laurent [Wed, 10 Aug 2011 17:37:50 +0000 (10:37 -0700)]
Audio effects: track CPU and memory use separately

Before this change, CPU and memory usage for an audio effect were
registered and checked against the limit by audio policy manager
upon effect instantiation. Even if an effect was not enabled
it would prevent another effect to be created if the CPU load budget
was exceeded, which was too restrictive.

This change adds a method to register/unregister CPU load only when
an effect is enabled or disabled.
It also adds a mechanism to place all effects on the global output mix
in suspend state (disabled) when an effect is enabled on a specific session.
This will allow applications using session effects to have the priority
over others using global effects.

Also fixes some issues with suspend/restore mechanism:
- avoid taking actions when an effect is disconnected and was not enabled.
- do not remove a session from the suspended sessions list when corresponding
effect chain is destroyed.

Change-Id: I5225278aba1ae13d0d0997bfe26a0c9fb46b17d3

13 years agoMore fun with action bars and themes!
Adam Powell [Thu, 11 Aug 2011 21:29:45 +0000 (14:29 -0700)]
More fun with action bars and themes!

Fix bug 5144738 - Allow user to define pressed state asset for action
bar. Added android:actionBarItemBackground theme attribute. This
allows themes to define item pressed states for the action bar
independent of the standard selectableItemBackground.

Fix bug 5145416 - Custom view in action bar should use themed context
when inflating resource ID. Also applies to tab custom views.

Fix bug 5135550 - Tab divider height / Color should match spec. Added
actionBarDivider theme attribute. Similar to actionBarItemBackground
above, this allows apps to maintain proper contrast when the bar has a
different contrast profile than the rest of the activity.

Fix bug 5154778 - Theme.Holo.Light.DarkActionBar in themes.xml and
search_bar.xml are still referencing the deprecated title_bar_shadow
when we should be pointing to ab_solid_shadow_holo

Change-Id: I5ef0084de28a7c2d2fa02ae1752884feab0f8523

13 years agoUpdated scrubber_control assets, adding pressed state
Justin Ho [Thu, 11 Aug 2011 14:45:00 +0000 (07:45 -0700)]
Updated scrubber_control assets, adding pressed state
Bug: 5076695

Change-Id: Ie34b1ccb2c0e9d1ba7c6c5af64719f87cb270edd

13 years agoMerge "Updated progressbar_indeterminate and scrollbar_handle Bug: 5076695"
Justin Ho [Thu, 11 Aug 2011 21:14:48 +0000 (14:14 -0700)]
Merge "Updated progressbar_indeterminate and scrollbar_handle Bug: 5076695"

13 years agoMerge "Updated textfields Bug: 5076695"
Justin Ho [Thu, 11 Aug 2011 21:08:38 +0000 (14:08 -0700)]
Merge "Updated textfields Bug: 5076695"

13 years agoAdded support for colored / thick underlined text.
Gilles Debunne [Thu, 11 Aug 2011 01:25:49 +0000 (18:25 -0700)]
Added support for colored / thick underlined text.

Change-Id: Ib0e259dd20546855899bf091f694e41e7051fecb

13 years agoMerge "Better errors from copyResource"
Kenny Root [Thu, 11 Aug 2011 20:27:10 +0000 (13:27 -0700)]
Merge "Better errors from copyResource"

13 years agoMerge "Added FETCH_VOICEMAIL intent definition in VoicemailContract."
Debashish Chatterjee [Thu, 11 Aug 2011 19:19:01 +0000 (12:19 -0700)]
Merge "Added FETCH_VOICEMAIL intent definition in VoicemailContract."

13 years agoMerge "Fix behavior of custom animations for LayoutTransition."
Chet Haase [Thu, 11 Aug 2011 19:16:41 +0000 (12:16 -0700)]
Merge "Fix behavior of custom animations for LayoutTransition."

13 years agoMerge "Document threading limitations on various View methods Bug #5150923"
Romain Guy [Thu, 11 Aug 2011 18:44:11 +0000 (11:44 -0700)]
Merge "Document threading limitations on various View methods Bug #5150923"

13 years agoMerge "Revert "Implement switchConnectable with Powered property setting instead...
Matthew Xie [Thu, 11 Aug 2011 18:42:09 +0000 (11:42 -0700)]
Merge "Revert "Implement switchConnectable with Powered property setting instead of scan modes""

13 years agoMerge "Fix issue #5016544: IME keyboard hides folder rename text field."
Dianne Hackborn [Thu, 11 Aug 2011 18:38:32 +0000 (11:38 -0700)]
Merge "Fix issue #5016544: IME keyboard hides folder rename text field."

13 years agoMerge "New broadcast telling when an app is fully removed."
Dianne Hackborn [Thu, 11 Aug 2011 18:35:07 +0000 (11:35 -0700)]
Merge "New broadcast telling when an app is fully removed."

13 years agoDocument threading limitations on various View methods
Romain Guy [Thu, 11 Aug 2011 18:33:31 +0000 (11:33 -0700)]
Document threading limitations on various View methods
Bug #5150923

Change-Id: I765d8e4d63a1fee7a12b9c2992bec67b4b6d1131

13 years agoFix behavior of custom animations for LayoutTransition.
Chet Haase [Thu, 11 Aug 2011 18:32:43 +0000 (11:32 -0700)]
Fix behavior of custom animations for LayoutTransition.

Previously, setting custom animations on a LayoutTransition would cause
those animations to be run not only for changing views in the container, but
for the parent hierarchy of those views as well. This can lead to unexpected
behavior, as seen in the ApiDemos LayoutAnimations and LayoutAnimationsHideShow.
This change changes the behavior so that the parent hierarchy is animated by
the default animations (which change the bounds and scrollX/Y fields) instead
of custom animations.

Change-Id: I9a04d97fabbc34dc0d5809eb3fd8ac08e0801d7c

13 years agoMerge "Add Bluetooth SCO test app"
Marco Nelissen [Thu, 11 Aug 2011 18:10:44 +0000 (11:10 -0700)]
Merge "Add Bluetooth SCO test app"

13 years agoMerge "Fix Recent Apps jumping artifact"
Chet Haase [Thu, 11 Aug 2011 18:10:32 +0000 (11:10 -0700)]
Merge "Fix Recent Apps jumping artifact"

13 years agoAdd Bluetooth SCO test app
Marco Nelissen [Thu, 11 Aug 2011 17:41:33 +0000 (10:41 -0700)]
Add Bluetooth SCO test app

Change-Id: I6c0c267fbb546b6db544e5ddb03e65276895e0e0

13 years agoMerge "Allow fractional and signed input for number fields."
Ben Murdoch [Thu, 11 Aug 2011 17:29:56 +0000 (10:29 -0700)]
Merge "Allow fractional and signed input for number fields."

13 years agoAdded FETCH_VOICEMAIL intent definition in VoicemailContract.
Debashish Chatterjee [Thu, 11 Aug 2011 16:05:36 +0000 (17:05 +0100)]
Added FETCH_VOICEMAIL intent definition in VoicemailContract.

Content provider does not directly use this intent. But it is fired by
the contacts app to request the voicemail source to fetch voicemail
audio of a single voicemail message.

The constant needs to live in the contracts file to serve as a common
definition between contacts and voicemail source apps.

Bug: 5114261
Change-Id: Ibf7b2a4c871d3561d2ca50d03f8182352fadd3ab

13 years agoMerge "Remove default routes for non-default networks."
Robert Greenwalt [Thu, 11 Aug 2011 16:55:08 +0000 (09:55 -0700)]
Merge "Remove default routes for non-default networks."

13 years agoUpdated progressbar_indeterminate and scrollbar_handle
Justin Ho [Thu, 11 Aug 2011 14:40:50 +0000 (07:40 -0700)]
Updated progressbar_indeterminate and scrollbar_handle
Bug: 5076695

Change-Id: I00aa88ff0c7927bb416ef88c35cd7cb39105e520

13 years agoUpdated textfields
Justin Ho [Thu, 11 Aug 2011 14:39:06 +0000 (07:39 -0700)]
Updated textfields
Bug: 5076695

Change-Id: I0943e34e978aeebc4d1194a9bff8bfb4bd7543c4

13 years agoMerge "Revert "error out when SurfaceTexture APIs are called while not connected""
Dave Burke [Thu, 11 Aug 2011 14:21:19 +0000 (07:21 -0700)]
Merge "Revert "error out when SurfaceTexture APIs are called while not connected""

13 years agoFix Recent Apps jumping artifact
Chet Haase [Wed, 10 Aug 2011 20:53:43 +0000 (13:53 -0700)]
Fix Recent Apps jumping artifact

When removing an item from the Recents list such that the list went from
larger than the screen to smaller (bringing the first item completely into view)
there was an artifact where the list would jump briefly, just prior to running
the transition to animate the remaining items into place.

The problem was that the custom ScrollView classes in the Recents app were
manipulating the scrollX/Y values of the items as a side-effect of any resize
of the list. Meanwhile, the LayoutTransition was manipulating both the size and
the scroll position of the list. The transition's scroll values would get clobbered by
the app's side-effect operation, causing the jump that we'd see on the screen.

The fix was to disable the side-effect operation during a layout transition.

Change-Id: I17f3f05d0e8a792e41bd46869ee700f128e63216

13 years agoRevert "error out when SurfaceTexture APIs are called while not connected"
Dave Burke [Thu, 11 Aug 2011 12:46:47 +0000 (13:46 +0100)]
Revert "error out when SurfaceTexture APIs are called while not connected"

This reverts commit a04cda9986366ab480ad8008c4d923271b05d78e.

Conflicts:

include/gui/SurfaceTexture.h
libs/gui/SurfaceTexture.cpp

Change-Id: Ib655016462c496ee2a27f7cb33a6e8b18cfe684a

13 years agoMerge "Remove logspew."
Daniel Sandler [Thu, 11 Aug 2011 12:17:14 +0000 (05:17 -0700)]
Merge "Remove logspew."

13 years agoMerge "Remove obsolete assets."
Daniel Sandler [Thu, 11 Aug 2011 12:17:09 +0000 (05:17 -0700)]
Merge "Remove obsolete assets."

13 years agoMerge "Clean up some effects in the phone notification panel."
Daniel Sandler [Thu, 11 Aug 2011 12:17:03 +0000 (05:17 -0700)]
Merge "Clean up some effects in the phone notification panel."

13 years agoMerge "Fix fullScreenAlert test."
Daniel Sandler [Thu, 11 Aug 2011 12:16:53 +0000 (05:16 -0700)]
Merge "Fix fullScreenAlert test."

13 years agoAllow fractional and signed input for number fields.
Ben Murdoch [Thu, 11 Aug 2011 10:04:16 +0000 (11:04 +0100)]
Allow fractional and signed input for number fields.

Bug: 5150575
Change-Id: I36f8dd59f630d77ea3f4ef6271f4cbaaaa3df0ad

13 years agoMerge "Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS...
Kristian Monsen [Thu, 11 Aug 2011 10:02:29 +0000 (03:02 -0700)]
Merge "Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2"

13 years agoMerge "Fix bug 5122319 - When action bar tabs run out of space they should collapse...
Adam Powell [Thu, 11 Aug 2011 06:29:57 +0000 (23:29 -0700)]
Merge "Fix bug 5122319 - When action bar tabs run out of space they should collapse in to a spinner."

13 years agoFix bug 5122319 - When action bar tabs run out of space they should
Adam Powell [Thu, 11 Aug 2011 05:49:02 +0000 (22:49 -0700)]
Fix bug 5122319 - When action bar tabs run out of space they should
collapse in to a spinner.

When tabs are not given the option of dropping to their own row,
collapse them into a spinner when they would measure too large to be
visible all at once.

Fix bug 5095167 - zombie tabs return when they shouldn't when activity
handles its own orientation changes

Change-Id: I074419d99a22aa5dd1cbc00a66e600ec5cb0b54a

13 years agoRemove logspew.
Daniel Sandler [Thu, 11 Aug 2011 04:27:45 +0000 (00:27 -0400)]
Remove logspew.

Bug: 5118028
Change-Id: I5517d79624020aa7ceeabf251581b3baf2f7b080

13 years agoRemove obsolete assets.
Daniel Sandler [Thu, 11 Aug 2011 04:23:27 +0000 (00:23 -0400)]
Remove obsolete assets.

Bug: 5002409
Change-Id: If9e544b347ca55d0344225eff00bafed180edf8c

13 years agoClean up some effects in the phone notification panel.
Daniel Sandler [Thu, 11 Aug 2011 04:19:49 +0000 (00:19 -0400)]
Clean up some effects in the phone notification panel.

* Clear-all button (X) fades in and out
* "No notifications" text fades in after a few sec
* Swipe-out velocity can be much higher, dramatically
  reducing perceived jankiness in clearing notifications

Bug: 5150699
Change-Id: Ic7e5254fee57724c42b6437d1c4ed8a700615208

13 years agoMerge "Read leftover parcel data when a parceled Surface is found in the cache."
Mathias Agopian [Thu, 11 Aug 2011 02:45:33 +0000 (19:45 -0700)]
Merge "Read leftover parcel data when a parceled Surface is found in the cache."

13 years agoMerge changes I5174a6ec,I1f8538b6,Idb71fdcf
Mathias Agopian [Thu, 11 Aug 2011 02:40:48 +0000 (19:40 -0700)]
Merge changes I5174a6ec,I1f8538b6,Idb71fdcf

* changes:
  fix a crasher in SurfaceTexture::updateTexImage()
  rework dequeueBuffer()'s main loop.
  error out when SurfaceTexture APIs are called while not connected

13 years agoMerge "Fix typos and use new HAL_PRIORITY_URGENT_DISPLAY constant"
Mathias Agopian [Thu, 11 Aug 2011 02:40:15 +0000 (19:40 -0700)]
Merge "Fix typos and use new HAL_PRIORITY_URGENT_DISPLAY constant"

13 years agoFix fullScreenAlert test.
Daniel Sandler [Thu, 11 Aug 2011 02:26:58 +0000 (22:26 -0400)]
Fix fullScreenAlert test.

Change-Id: I3df0a998347c9e3d21e067381bd22eb9a0862f0d

13 years agoRevert "Implement switchConnectable with Powered property setting instead of scan...
Matthew Xie [Thu, 11 Aug 2011 02:04:00 +0000 (19:04 -0700)]
Revert "Implement switchConnectable with Powered property setting instead of scan modes"

This reverts commit c5708036b47c474ad3a01dacc3c3940e087d6e27

13 years agoMerge "Subtract the navigation bar from DisplayMetrics."
Daniel Sandler [Thu, 11 Aug 2011 01:54:20 +0000 (18:54 -0700)]
Merge "Subtract the navigation bar from DisplayMetrics."

13 years agoFix partial-read handling during restore
Christopher Tate [Thu, 11 Aug 2011 00:52:21 +0000 (17:52 -0700)]
Fix partial-read handling during restore

...by once and for all making all of the code deal appropriately with
expected partial reads.  We also now produce a properly conformant
underlying 'tar' EOF sequence [which will be compressed to almost
nothing] to doubly bulletproof the end-of-archive logic.

Fixes bug 5133658

Change-Id: I24a785574861d64ef10fc727b9f6b235575696b0

13 years agoMerge "Unhide APIs for user space VPN."
Chia-chi Yeh [Thu, 11 Aug 2011 00:42:45 +0000 (17:42 -0700)]
Merge "Unhide APIs for user space VPN."

13 years agoMerge "VPN: remove unused protected intent."
Chia-chi Yeh [Thu, 11 Aug 2011 00:42:30 +0000 (17:42 -0700)]
Merge "VPN: remove unused protected intent."

13 years agoMerge "Add PendingIntent extra for WEB_SEARCH intents"
Bjorn Bringert [Thu, 11 Aug 2011 00:39:08 +0000 (17:39 -0700)]
Merge "Add PendingIntent extra for WEB_SEARCH intents"

13 years agofix a crasher in SurfaceTexture::updateTexImage()
Mathias Agopian [Thu, 11 Aug 2011 00:35:09 +0000 (17:35 -0700)]
fix a crasher in SurfaceTexture::updateTexImage()

we now make sure to drain the buffer queue on disconnect.
this happens only when in synchrnous mode. in async mode
we clear all buffers except the head of the queue.

for extra safety we also catch the null pointer
in updateTexImage (which should  never happen) and return
an error.

Bug: 5111008

Change-Id: I5174a6ecbb0de641c6510ef56a611cbb4e9e1f59

13 years agorework dequeueBuffer()'s main loop.
Mathias Agopian [Wed, 10 Aug 2011 23:33:23 +0000 (16:33 -0700)]
rework dequeueBuffer()'s main loop.

this simplifies the code a bit and also makes sure
we reevaluate mAbandoned and mConnectedApi each time
we come back from waiting on mDequeueCondition

Change-Id: I1f8538b62ad321b51ed79d953b700036daba796d

13 years agoerror out when SurfaceTexture APIs are called while not connected
Mathias Agopian [Wed, 10 Aug 2011 22:28:58 +0000 (15:28 -0700)]
error out when SurfaceTexture APIs are called while not connected

- also log a warning when freeAllBuffers is called with a non empty buffer queue
- rename freeAllBuffers to freeAllBuffersLocked

Change-Id: Idb71fdcf233b9ccae62d5a2a7c3c4bad2501d877

13 years agoMerge "Add input system to Watchdog. Bug: 5094994"
Jeff Brown [Thu, 11 Aug 2011 00:28:15 +0000 (17:28 -0700)]
Merge "Add input system to Watchdog. Bug: 5094994"

13 years agoMerge "Fix getSwitchState and others to check bitmasks. Bug: 5149443"
Jeff Brown [Thu, 11 Aug 2011 00:28:09 +0000 (17:28 -0700)]
Merge "Fix getSwitchState and others to check bitmasks. Bug: 5149443"

13 years agoMerge "Use BTN_TOUCH or BTN_TOOL_* to determine if touch active. Bug: 5064702"
Jeff Brown [Thu, 11 Aug 2011 00:28:05 +0000 (17:28 -0700)]
Merge "Use BTN_TOUCH or BTN_TOOL_* to determine if touch active. Bug: 5064702"

13 years agoMerge "Update keymaps. Bug: 5069142"
Jeff Brown [Thu, 11 Aug 2011 00:27:59 +0000 (17:27 -0700)]
Merge "Update keymaps. Bug: 5069142"

13 years agoNew broadcast telling when an app is fully removed.
Dianne Hackborn [Wed, 10 Aug 2011 22:00:59 +0000 (15:00 -0700)]
New broadcast telling when an app is fully removed.

Change-Id: Ia516d826f302a01881fa92d9ffdc0adfbf669a4b

13 years agoMerge "Pass in the title of the preference as a title for the ringtone picker dialog."
Amith Yamasani [Thu, 11 Aug 2011 00:12:05 +0000 (17:12 -0700)]
Merge "Pass in the title of the preference as a title for the ringtone picker dialog."

13 years agoBetter errors from copyResource
Kenny Root [Wed, 10 Aug 2011 23:23:32 +0000 (16:23 -0700)]
Better errors from copyResource

Copy resource would fail without a good error code when the file
couldn't be found during copy.

Also destroy the target container ID during move operations since it
might exist. If the copy failed due to it existing, it would get
destroyed anyway. This way the user has a chance to have a good outcome
the first time.

Bug: 3375299
Bug: 5113898
Change-Id: I00559833f0801bc50e7cc031b462495e37a6b4ab

13 years agoPass in the title of the preference as a title for the ringtone picker dialog.
Amith Yamasani [Wed, 10 Aug 2011 23:25:31 +0000 (16:25 -0700)]
Pass in the title of the preference as a title for the ringtone picker dialog.

Bug: 5135537
Change-Id: I988c4c6b800466a5f28e41b452a91a5424c7d58b

13 years agoAdd input system to Watchdog.
Jeff Brown [Wed, 10 Aug 2011 23:25:21 +0000 (16:25 -0700)]
Add input system to Watchdog.
Bug: 5094994

Change-Id: I153866958efc64ac19bda8b997c1c9f6ad425ec4

13 years agoMerge "Fixing screenshot timestamp (5147168)"
Winson Chung [Wed, 10 Aug 2011 23:23:52 +0000 (16:23 -0700)]
Merge "Fixing screenshot timestamp (5147168)"

13 years agoAdd PendingIntent extra for WEB_SEARCH intents
Bjorn Bringert [Wed, 10 Aug 2011 22:42:11 +0000 (15:42 -0700)]
Add PendingIntent extra for WEB_SEARCH intents

This allos apps (e.g. browsers) that launch web searches
to control how the search results page is opened. For example,
the Android Browser will use this to make sure that searches
typed in the browser address bar open in the Andorid Browser,
and not somewhere else.

Bug: 4988580
Change-Id: I4665c9812ca8d704adbaea22a3812188bb48d1d2

13 years agoMerge "Accessibility and silent mode changes to Volume Panel."
Amith Yamasani [Wed, 10 Aug 2011 23:17:03 +0000 (16:17 -0700)]
Merge "Accessibility and silent mode changes to Volume Panel."

13 years agoMerge "Ensure interface down before wpa_supplicant start"
Irfan Sheriff [Wed, 10 Aug 2011 23:04:50 +0000 (16:04 -0700)]
Merge "Ensure interface down before wpa_supplicant start"

13 years agoFixing screenshot timestamp (5147168)
Winson Chung [Wed, 10 Aug 2011 23:02:39 +0000 (16:02 -0700)]
Fixing screenshot timestamp (5147168)

Change-Id: I28ce2431bdfe7025191d9a6780ba0a59175c8047

13 years agoAccessibility and silent mode changes to Volume Panel.
Amith Yamasani [Wed, 10 Aug 2011 22:55:36 +0000 (15:55 -0700)]
Accessibility and silent mode changes to Volume Panel.

Volume icons don't say "tap to toggle.." anymore.
Only silentable streams have touchable volume icons.

Bug: 4982424
Bug: 5128528
Change-Id: Iafc0f4b309af390a356d71c382f1200663c5a6e4

13 years agoEnsure interface down before wpa_supplicant start
Irfan Sheriff [Sat, 6 Aug 2011 03:40:45 +0000 (20:40 -0700)]
Ensure interface down before wpa_supplicant start

Now that the driver is built into the kernel, a runtime crash
followed by a driver unload and reload does not reset the interface.

Ensure interface is down before bringing up supplicant

Bug: 5032635
Change-Id: Ib8f3d47617e587139a8a91a82146ee3a2f329700

13 years agoMerge "Check pids instead of IBinders"
Marco Nelissen [Wed, 10 Aug 2011 22:48:53 +0000 (15:48 -0700)]
Merge "Check pids instead of IBinders"

13 years agoMerge "Manifest digest stored during package scanning"
Kenny Root [Wed, 10 Aug 2011 22:39:41 +0000 (15:39 -0700)]
Merge "Manifest digest stored during package scanning"

13 years agoMerge "SuggestionEnabled flag enforced in ActionPopup"
Gilles Debunne [Wed, 10 Aug 2011 22:17:40 +0000 (15:17 -0700)]
Merge "SuggestionEnabled flag enforced in ActionPopup"

13 years agoFix getSwitchState and others to check bitmasks.
Jeff Brown [Wed, 10 Aug 2011 22:07:05 +0000 (15:07 -0700)]
Fix getSwitchState and others to check bitmasks.
Bug: 5149443

Removed some dead code and unnecessary checks, such as checks
for non-nullity of arrays that used to be dynamically allocated
once upon a time but are now part of the Device object itself.

Change-Id: I531116e816772d7c5030d22da0c8e1d7dcfba778

13 years agoUse BTN_TOUCH or BTN_TOOL_* to determine if touch active.
Jeff Brown [Wed, 10 Aug 2011 21:55:59 +0000 (14:55 -0700)]
Use BTN_TOUCH or BTN_TOOL_* to determine if touch active.
Bug: 5064702

Should not include stylus buttons in the condition.

Change-Id: If4d78a875b77da8bd59672d6fdbf5353004d0023

13 years agoManifest digest stored during package scanning
Kenny Root [Mon, 8 Aug 2011 23:19:08 +0000 (16:19 -0700)]
Manifest digest stored during package scanning

This allows things that scanned an APK to pass a hash of the manifest to
others that would then be able to compare it.

Change-Id: I465f5edf3acab2a952c3d321c8df2247ffe012ea

13 years agoMerge "To reduce the bytes need to be buffered before start playing the streaming...
Gloria Wang [Wed, 10 Aug 2011 21:52:36 +0000 (14:52 -0700)]
Merge "To reduce the bytes need to be buffered before start playing the streaming video. We might revert this change if too many spinnings were introduced. For bug 4448008."

13 years agoUpdate keymaps.
Jeff Brown [Wed, 10 Aug 2011 21:43:20 +0000 (14:43 -0700)]
Update keymaps.
Bug: 5069142

Add some additional mappings for the POWER key to support more
standard HID devices.

Remove some non-standard mappings that don't make sense anymore.

Change-Id: Ie95a72c60d4dc4bfb3c90f6f3b343365f8e76685

13 years agoCheck pids instead of IBinders
Marco Nelissen [Wed, 10 Aug 2011 21:15:44 +0000 (14:15 -0700)]
Check pids instead of IBinders

There can be multiple AudioManagers per process (because each Context has
its own cache of services), so AudioService should protect SCO activation
based on whether the pids match, not whether the IBinders match.

b/5044873

Change-Id: Ibec81365f95fec11f34b47becd0e473762bf06ad

13 years agoMerge "Eliminate warnings from PackageParser"
Kenny Root [Wed, 10 Aug 2011 21:28:13 +0000 (14:28 -0700)]
Merge "Eliminate warnings from PackageParser"

13 years agoTo reduce the bytes need to be buffered before start playing the streaming video.
Gloria Wang [Wed, 10 Aug 2011 21:19:05 +0000 (14:19 -0700)]
To reduce the bytes need to be buffered before start playing the streaming video.
We might revert this change if too many spinnings were introduced.
For bug 4448008.

Change-Id: I3248bba9237d71c2bd99feebc9c73f7bd45260de

13 years agoSuggestionEnabled flag enforced in ActionPopup
Gilles Debunne [Wed, 3 Aug 2011 03:22:43 +0000 (20:22 -0700)]
SuggestionEnabled flag enforced in ActionPopup

Also removed the Nothing to paste string (and its references)

Change-Id: Iaed952075e9e72dcb962ca52341615bc57cb4047

13 years agoam ca97671e: am 6f5a837c: Merge "Fix getSwitchState according to device capabilities."
Jeff Brown [Wed, 10 Aug 2011 20:59:44 +0000 (13:59 -0700)]
am ca97671e: am 6f5a837c: Merge "Fix getSwitchState according to device capabilities."

* commit 'ca97671e2b74ed31b5bef6fd0b39e489f1ec5f51':
  Fix getSwitchState according to device capabilities.

13 years agoam 7e79b9aa: am dbff9107: Merge "Support wrapping app processes to inject debug instr...
Jeff Brown [Wed, 10 Aug 2011 20:59:41 +0000 (13:59 -0700)]
am 7e79b9aa: am dbff9107: Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"

* commit '7e79b9aad85db332d334f8bc1625bf46f030830f':
  Support wrapping app processes to inject debug instrumentation. Bug: 4437846

13 years agoam 6f5a837c: Merge "Fix getSwitchState according to device capabilities."
Jeff Brown [Wed, 10 Aug 2011 20:56:33 +0000 (13:56 -0700)]
am 6f5a837c: Merge "Fix getSwitchState according to device capabilities."

* commit '6f5a837c9c4a55c82111c6cd5af6055b63fcb5a9':
  Fix getSwitchState according to device capabilities.

13 years agoam dbff9107: Merge "Support wrapping app processes to inject debug instrumentation...
Jeff Brown [Wed, 10 Aug 2011 20:56:31 +0000 (13:56 -0700)]
am dbff9107: Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"

* commit 'dbff91077ddf437b62794e077d2ce9e10fff8170':
  Support wrapping app processes to inject debug instrumentation. Bug: 4437846

13 years agoMerge "Fix getSwitchState according to device capabilities."
Jeff Brown [Wed, 10 Aug 2011 20:42:03 +0000 (13:42 -0700)]
Merge "Fix getSwitchState according to device capabilities."

13 years agoMerge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"
Jeff Brown [Wed, 10 Aug 2011 20:41:36 +0000 (13:41 -0700)]
Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"

13 years agoSubtract the navigation bar from DisplayMetrics.
Daniel Sandler [Thu, 4 Aug 2011 13:35:13 +0000 (09:35 -0400)]
Subtract the navigation bar from DisplayMetrics.

Its region is now treated like the system bar: inaccessible
to applications and therefore not worth reporting as part of
the display.

(Note that using setSystemUiVisibility you can gain
temporary access to the navigation bar region, unlike the
sempiternal system bar.)

The navigation bar is now considerably less in control of
its own behavior (the window manager assumes it will be a
certain size and in a certain position in landscape and
portrait). This change also fixes the navbar so that it
becomes GONE instead of merely INVISIBLE (allowing
underlying windows to expand in size accordingly).

Bug: 5052456 // the feature
Bug: 5067627 // notification shade falling behind the navbar
Bug: 4959805 // fix third-party apps relying on DisplayMetrics
Change-Id: I60257fc5c858e0edcaba8cfc1f8d58dd99a68258

13 years agoMerge "When using "secure input buffer mode" we instantiate a different OMX component"
Andreas Huber [Wed, 10 Aug 2011 20:03:29 +0000 (13:03 -0700)]
Merge "When using "secure input buffer mode" we instantiate a different OMX component"

13 years agoMerge "Revert "Notify the OMX component that it's going to be used in "secure" mode.""
Andreas Huber [Wed, 10 Aug 2011 20:03:24 +0000 (13:03 -0700)]
Merge "Revert "Notify the OMX component that it's going to be used in "secure" mode.""

13 years agoWhen using "secure input buffer mode" we instantiate a different OMX component
Andreas Huber [Wed, 10 Aug 2011 19:53:59 +0000 (12:53 -0700)]
When using "secure input buffer mode" we instantiate a different OMX component

We form the new component name by appending the suffix ".secure".

Change-Id: I509848b50ae92edb179a941493ca611f923213ec