OSDN Git Service

android-x86/frameworks-base.git
13 years agoFix Wifi's setting of isAvailable.
Robert Greenwalt [Tue, 23 Nov 2010 20:41:46 +0000 (12:41 -0800)]
Fix Wifi's setting of isAvailable.

Manifested itself in ConnectivityService reporting no connectivity.

bug:3220092
Change-Id: I4c0149125b8e2b9c2493f87d208aecbf21590fff

13 years agoMerge "Unhide android.media.AudioManager.MODE_IN_COMMUNICATION"
Jean-Michel Trivi [Mon, 22 Nov 2010 22:08:18 +0000 (14:08 -0800)]
Merge "Unhide android.media.AudioManager.MODE_IN_COMMUNICATION"

13 years agoam 4f3c40cc: am 8fac7c2e: change sdk version variable to 2.3 (for docs)
Scott Main [Mon, 22 Nov 2010 21:58:05 +0000 (13:58 -0800)]
am 4f3c40cc: am 8fac7c2e: change sdk version variable to 2.3 (for docs)

* commit '4f3c40cc4d24ba1404b1332dbf1bfcddede8bf99':
  change sdk version variable to 2.3 (for docs)

13 years agoam 8fac7c2e: change sdk version variable to 2.3 (for docs)
Scott Main [Mon, 22 Nov 2010 21:55:55 +0000 (13:55 -0800)]
am 8fac7c2e: change sdk version variable to 2.3 (for docs)

* commit '8fac7c2edc433b6c7d153caac238fef595133663':
  change sdk version variable to 2.3 (for docs)

13 years agoam c8454a85: am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while...
Jean-Baptiste Queru [Mon, 22 Nov 2010 21:48:06 +0000 (13:48 -0800)]
am c8454a85: am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"

* commit 'c8454a851f26b78de77c0f6b1aa746ce3e2517f1':
  SearchDialog: Fix for NullpointerException while using Suggestions in Browser

13 years agoam b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while using Suggestion...
Jean-Baptiste Queru [Mon, 22 Nov 2010 21:44:56 +0000 (13:44 -0800)]
am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"

* commit 'b2b0db2d5c89ae8824a4cb5d7944bae3a1dc8bf4':
  SearchDialog: Fix for NullpointerException while using Suggestions in Browser

13 years agoMerge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"
Jean-Baptiste Queru [Mon, 22 Nov 2010 21:40:29 +0000 (13:40 -0800)]
Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"

13 years agochange sdk version variable to 2.3 (for docs)
Scott Main [Mon, 22 Nov 2010 21:36:39 +0000 (13:36 -0800)]
change sdk version variable to 2.3 (for docs)

Change-Id: I76f5c69fab08913543c4f3d1ab000f7c4b6c9574

13 years agoUnhide android.media.AudioManager.MODE_IN_COMMUNICATION
Jean-Michel Trivi [Thu, 18 Nov 2010 17:26:55 +0000 (09:26 -0800)]
Unhide android.media.AudioManager.MODE_IN_COMMUNICATION

Unhide new constant for an audio mode for a system state when
 the device has a VoIP (as opposed to telephony) call established.
Update the setMode and getMode javadoc to link to the mode constants
 that can be set or retrieved.

Change-Id: I90c4417679f215eb66e5305086fd077beddaa59c

13 years agoMerge "64-bit file size/offset support for DRM framework"
Gloria Wang [Mon, 22 Nov 2010 18:48:30 +0000 (10:48 -0800)]
Merge "64-bit file size/offset support for DRM framework"

13 years agodocs: add dev guide for action bar and update other relevant documents
Scott Main [Wed, 8 Sep 2010 00:11:38 +0000 (17:11 -0700)]
docs: add dev guide for action bar and update other relevant documents

Change-Id: I1d3deda4c35066f7cf05b06fe5b60acfa1fae149

13 years agoMerge "Fixed an issue in SampleTable where the table index was incorrectly wrapped...
James Dong [Mon, 22 Nov 2010 17:54:21 +0000 (09:54 -0800)]
Merge "Fixed an issue in SampleTable where the table index was incorrectly wrapped around to -1"

13 years agoMerge "Adding IS_READ_ONLY flag to groups"
Dmitri Plotnikov [Mon, 22 Nov 2010 17:48:17 +0000 (09:48 -0800)]
Merge "Adding IS_READ_ONLY flag to groups"

13 years agoadd select text to context menu
Cary Clark [Mon, 22 Nov 2010 16:02:29 +0000 (11:02 -0500)]
add select text to context menu

Make select text available as an external interface
so that the browser can initiate it from a context
menu.

Interface is marked hidden pending API council approval.

companion change in packages/apps/Browser

bug:3214410
Change-Id: I7d513a38cc3a5ac9c0d1b3be39c02e0835bea90a

13 years agoAdding IS_READ_ONLY flag to groups
Dmitri Plotnikov [Fri, 19 Nov 2010 19:10:43 +0000 (11:10 -0800)]
Adding IS_READ_ONLY flag to groups

Bug: 3214137

Change-Id: I8acda10e4743888adfed3dfd0a0dd597c945f778

13 years agoMerge "Make maybeSavePassword() a top-level method in BrowserFrame."
Iain Merrick [Mon, 22 Nov 2010 17:34:31 +0000 (09:34 -0800)]
Merge "Make maybeSavePassword() a top-level method in BrowserFrame."

13 years agoFix potential NPE in L10nUtils.
Ben Murdoch [Mon, 22 Nov 2010 16:10:19 +0000 (16:10 +0000)]
Fix potential NPE in L10nUtils.

It is possible that a call to the L10nUtils class will
come before it has been properly initialised (if the
user highlights a form very quickly onload for example) so move
the initialisation earlier in the WebView ctor so that it is
set up before the WebCore thread is started.

Change-Id: Iff5a1c16d04c47d001146184f753d2cc0cbbb404

13 years agoMake maybeSavePassword() a top-level method in BrowserFrame.
Iain Merrick [Thu, 18 Nov 2010 15:32:31 +0000 (15:32 +0000)]
Make maybeSavePassword() a top-level method in BrowserFrame.

We need to be able to reuse this logic from the Chrome HTTP
stack. This is just a refactoring that doesn't change any
behaviour; we'll need a separate change in external/webkit
to call this from the code that handles POST requests.

Change-Id: I3f3f84a15a8501f63de974bffa6f7c911a3d3820

13 years agoAlter the Layout of WebTextView to match webkit.
Leon Scroggins [Thu, 18 Nov 2010 19:03:03 +0000 (14:03 -0500)]
Alter the Layout of WebTextView to match webkit.

Bug:3085564

In order to treat the selection handles properly, the text in
WebTextView needs to line up with the text in webkit.  Use the
line spacing style, or the paint if none provided, to determine
the spacing for WebTextView's Layout.  When no line spacing is
provided, use the floating point values of ascent and descent,
rather than the rounded result, to determine spacing.

Requires a change in external/webkit:
https://android-git.corp.google.com/g/#change,80641

Change-Id: I51081835e128a0e938028c7c7aeb5111aa5f072c

13 years agoSearchDialog: Fix for NullpointerException while using Suggestions in
Deepika Sai Amuri [Mon, 22 Nov 2010 09:26:55 +0000 (01:26 -0800)]
SearchDialog: Fix for NullpointerException while using Suggestions in
Browser

Change-Id: Ic208ae51e4f7678363ea6d7de9db97707713bf6d

13 years agoMerge "b/3215774 Fix scrollMode notifications"
Erik [Mon, 22 Nov 2010 04:08:06 +0000 (20:08 -0800)]
Merge "b/3215774 Fix scrollMode notifications"

13 years agoMerge changes I61331a6e,I5728222b
Joe Onorato [Mon, 22 Nov 2010 03:23:36 +0000 (19:23 -0800)]
Merge changes I61331a6e,I5728222b

* changes:
  new battery assets
  Use new nav button assets.

13 years agonew battery assets
Joe Onorato [Mon, 22 Nov 2010 03:22:25 +0000 (19:22 -0800)]
new battery assets

Change-Id: I61331a6eb237f8883bf604c0767623b08c2fa41b

13 years agoUse new nav button assets.
Joe Onorato [Mon, 22 Nov 2010 02:25:49 +0000 (18:25 -0800)]
Use new nav button assets.

Change-Id: I5728222ba173eedb67e6fa4c599b39b61c923e23

13 years agoStrictMode: dropbox VM-wide violations (e.g. CloseGuard) async
Brad Fitzpatrick [Sat, 20 Nov 2010 20:09:10 +0000 (12:09 -0800)]
StrictMode: dropbox VM-wide violations (e.g. CloseGuard) async

To be clear, the dropbox violations were already async in the
ActivityManager, but the Binder call was often 30 ms anyway.

This optimization was already done for per-thread violations earlier,
but was never done for VM-wide violations because they weren't common,
until CloseGuard came about.  Now that CloseGuard fires a lot, apply
the same optimization to VM-wide violations.

This CL also addresses a concern of Dianne's earlier of too many
threads being outstanding.  So now there's a paranoia check with an
upper bound on how many outstanding ActivityManager calls are
in-flight.

Change-Id: I95e0816105ab862f0f241052b149c9a46a70ce9c

13 years agoThe ticker shouldn't be modal.
Joe Onorato [Mon, 22 Nov 2010 01:07:20 +0000 (17:07 -0800)]
The ticker shouldn't be modal.

Change-Id: I6bb4df07ad4659d900a95379193f5cb95d7706c3

13 years agoApi udpate for notification changes
Joe Onorato [Mon, 22 Nov 2010 00:45:57 +0000 (16:45 -0800)]
Api udpate for notification changes

Change-Id: I72d7c2f5d6e3f607a3885efc8120e7c0c8ad5229

13 years agoThe icon sticks out of the ticker.
Joe Onorato [Sun, 21 Nov 2010 23:34:48 +0000 (15:34 -0800)]
The icon sticks out of the ticker.

The ticker still needs to show up over the status bar, which will take a bit of
window manager work, so it's just out of position for now.

Change-Id: Ib5781925db63a22d9352a7b5017a36eec3229395

13 years agoDeal with more notifications than fit on screen.
Joe Onorato [Sun, 21 Nov 2010 19:48:15 +0000 (11:48 -0800)]
Deal with more notifications than fit on screen.

Change-Id: I432b9ee73a473fe4af8b0caeede4993c67be6518

13 years agoThe large icon for notifications.
Joe Onorato [Sun, 21 Nov 2010 02:09:34 +0000 (18:09 -0800)]
The large icon for notifications.

Change-Id: I8537c602b5b5fca03be8980295bfa28330543669

13 years agoTest for using the right size of notification info text.
Joe Onorato [Sat, 20 Nov 2010 21:55:22 +0000 (13:55 -0800)]
Test for using the right size of notification info text.

Change-Id: Iac8764542ddcd3ef0375f6d6d03225e9f6c2fc1c

13 years agofix warning
Joe Onorato [Sat, 20 Nov 2010 21:48:58 +0000 (13:48 -0800)]
fix warning

Change-Id: I243e9b81256af13b8296dd121b1204caed7a3996

13 years agoShow the icon in the compatibilty ticker.
Joe Onorato [Sat, 20 Nov 2010 21:20:56 +0000 (13:20 -0800)]
Show the icon in the compatibilty ticker.

Change-Id: Ib0f466a6773f9e66ad418bf48303504dedf73d21

13 years agoShow the number in the expanded notification instead of in the bar.
Joe Onorato [Sat, 20 Nov 2010 02:12:07 +0000 (18:12 -0800)]
Show the number in the expanded notification instead of in the bar.

Change-Id: I248b4fe1732ed290e9f3f9c094de4544a0e396ab

13 years agoUpdate the look of the notifications. Includes adding a new Notification.Builder...
Joe Onorato [Fri, 19 Nov 2010 21:56:21 +0000 (13:56 -0800)]
Update the look of the notifications.  Includes adding a new Notification.Builder class.

Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03

13 years agoFixed an issue in SampleTable where the table index was incorrectly wrapped around...
James Dong [Sat, 20 Nov 2010 02:24:48 +0000 (18:24 -0800)]
Fixed an issue in SampleTable where the table index was incorrectly wrapped around to -1

bug - 3198642

Change-Id: Ia0544172502fc771f48fce22d5c1db19ac3554bb

13 years agoRemove pingtest in GsmDataConnectionTracker.
Wink Saville [Sat, 20 Nov 2010 19:57:56 +0000 (11:57 -0800)]
Remove pingtest in GsmDataConnectionTracker.

The pingtest have been disabled since petit-four and ping's use is
being deprecated. Removing the ping test code, if needed use
InetAddress.isReachable instead.

bug: 1824738
Change-Id: I42b3de85b67b82dc6389e7a2234afa7b1d687209

13 years agoam e489d48f: am 805bddc1: Merge "doc change: Docs for SDK Tools r8, ADT 8" into ginge...
Dirk Dougherty [Sat, 20 Nov 2010 03:21:04 +0000 (19:21 -0800)]
am e489d48f: am 805bddc1: Merge "doc change: Docs for SDK Tools r8, ADT 8" into gingerbread

* commit 'e489d48f7c95b874ee7820d1052d862109244437':
  doc change: Docs for SDK Tools r8, ADT 8

13 years agoam fb6f4505: am 589e8381: Merge "Improve camera documentation." into gingerbread
Wu-cheng Li [Sat, 20 Nov 2010 03:20:59 +0000 (19:20 -0800)]
am fb6f4505: am 589e8381: Merge "Improve camera documentation." into gingerbread

* commit 'fb6f4505ba5c227cebb73f1269b0af5d92e6e5e6':
  Improve camera documentation.

13 years agoam 805bddc1: Merge "doc change: Docs for SDK Tools r8, ADT 8" into gingerbread
Dirk Dougherty [Sat, 20 Nov 2010 03:04:56 +0000 (19:04 -0800)]
am 805bddc1: Merge "doc change: Docs for SDK Tools r8, ADT 8" into gingerbread

* commit '805bddc123c1fc56be333d6ff365f168d4bc2b08':
  doc change: Docs for SDK Tools r8, ADT 8

13 years agoMerge "doc change: Docs for SDK Tools r8, ADT 8" into gingerbread
Dirk Dougherty [Sat, 20 Nov 2010 03:03:03 +0000 (19:03 -0800)]
Merge "doc change: Docs for SDK Tools r8, ADT 8" into gingerbread

13 years agoDisplay AVC video sample profile and level for "stagefright" util
James Dong [Fri, 19 Nov 2010 19:45:16 +0000 (11:45 -0800)]
Display AVC video sample profile and level for "stagefright" util

Change-Id: I04b3f67d162cf3827bc74ad98cd1e1a0f5f14172

13 years agoam 589e8381: Merge "Improve camera documentation." into gingerbread
Wu-cheng Li [Sat, 20 Nov 2010 02:17:24 +0000 (18:17 -0800)]
am 589e8381: Merge "Improve camera documentation." into gingerbread

* commit '589e838116b0dffa696fa39336d0588124877f98':
  Improve camera documentation.

13 years agoMerge "Improve camera documentation." into gingerbread
Wu-cheng Li [Sat, 20 Nov 2010 02:14:43 +0000 (18:14 -0800)]
Merge "Improve camera documentation." into gingerbread

13 years agoMerge "Fixed MediaPlayer unit test issues"
James Dong [Sat, 20 Nov 2010 01:35:26 +0000 (17:35 -0800)]
Merge "Fixed MediaPlayer unit test issues"

13 years agoam d3b5510b: am 927e7410: Merge "Fix SensorManager.getOrientation() documentation...
Mathias Agopian [Sat, 20 Nov 2010 01:23:13 +0000 (17:23 -0800)]
am d3b5510b: am 927e7410: Merge "Fix SensorManager.getOrientation() documentation." into gingerbread

* commit 'd3b5510b8505c6c653469193a40f6431272085f3':
  Fix SensorManager.getOrientation() documentation.

13 years agoam 927e7410: Merge "Fix SensorManager.getOrientation() documentation." into gingerbread
Mathias Agopian [Sat, 20 Nov 2010 01:20:14 +0000 (17:20 -0800)]
am 927e7410: Merge "Fix SensorManager.getOrientation() documentation." into gingerbread

* commit '927e7410000dd1917387c01fc4229836ddd5eb97':
  Fix SensorManager.getOrientation() documentation.

13 years agoMerge "Fix SensorManager.getOrientation() documentation." into gingerbread
Mathias Agopian [Sat, 20 Nov 2010 01:18:21 +0000 (17:18 -0800)]
Merge "Fix SensorManager.getOrientation() documentation." into gingerbread

13 years agoMerge "Make sure we have a ";" after locale in User Agent"
Shimeng (Simon) Wang [Sat, 20 Nov 2010 01:13:07 +0000 (17:13 -0800)]
Merge "Make sure we have a ";" after locale in User Agent"

13 years agoMerge "Don't re-read SharedPreferences unnecessarily."
Brad Fitzpatrick [Sat, 20 Nov 2010 01:08:44 +0000 (17:08 -0800)]
Merge "Don't re-read SharedPreferences unnecessarily."

13 years agoMerge "Updates assets for edge glow and line."
Daniel Shiplacoff [Sat, 20 Nov 2010 01:00:25 +0000 (17:00 -0800)]
Merge "Updates assets for edge glow and line."

13 years agoam 55ff5708: am 828b6816: Merge "docs: add docs for xhdpi and xlarge screen support...
Scott Main [Sat, 20 Nov 2010 00:56:53 +0000 (16:56 -0800)]
am 55ff5708: am 828b6816: Merge "docs: add docs for xhdpi and xlarge screen support update screen ranges figure bug: 3099462" into gingerbread

* commit '55ff5708bb166ab985ffd89e62ddcb13927d6403':
  docs: add docs for xhdpi and xlarge screen support update screen ranges figure bug: 3099462

13 years agoam 716f60ce: resolved conflicts for merge of e2ec61b2 to gingerbread-plus-aosp
Jean-Baptiste Queru [Sat, 20 Nov 2010 00:56:49 +0000 (16:56 -0800)]
am 716f60ce: resolved conflicts for merge of e2ec61b2 to gingerbread-plus-aosp

* commit '716f60ce605131429dc9efe8f351f0da0c8cc8c2':
  StagefrightMediaScanner: Call endFile() for MIDI and OGG files.

13 years agoam 7b76ed69: am e3bef7c4: Merge "Added noop unregisterReceiver to complement existing...
Jean-Baptiste Queru [Sat, 20 Nov 2010 00:56:42 +0000 (16:56 -0800)]
am 7b76ed69: am e3bef7c4: Merge "Added noop unregisterReceiver to complement existing noop registerReceiver."

* commit '7b76ed693e42caea0c5f1bcbe7059c580e9cb314':
  Added noop unregisterReceiver to complement existing noop registerReceiver.

13 years agoFixed MediaPlayer unit test issues
James Dong [Fri, 19 Nov 2010 00:07:26 +0000 (16:07 -0800)]
Fixed MediaPlayer unit test issues

o We used to have two different "idle" state with OpenCore.
  Now, with SF, we have a single and consistent "idle" state.

bug - 3198642

Change-Id: I2bbb5e8b6c2d8166841a6e99a1c2c4a47e00b574

13 years agoMerge "Revert "Don't call cancel discovery when its already canceelled.""
Jake Hamby [Sat, 20 Nov 2010 00:53:26 +0000 (16:53 -0800)]
Merge "Revert "Don't call cancel discovery when its already canceelled.""

13 years agoMerge "Fix ClipboardManager#hasText"
Brian Muramatsu [Sat, 20 Nov 2010 00:52:11 +0000 (16:52 -0800)]
Merge "Fix ClipboardManager#hasText"

13 years agoam 828b6816: Merge "docs: add docs for xhdpi and xlarge screen support update screen...
Scott Main [Sat, 20 Nov 2010 00:51:57 +0000 (16:51 -0800)]
am 828b6816: Merge "docs: add docs for xhdpi and xlarge screen support update screen ranges figure bug: 3099462" into gingerbread

* commit '828b68166679ebfc0002e2ea516ca91e6fb13597':
  docs: add docs for xhdpi and xlarge screen support update screen ranges figure bug: 3099462

13 years agoMerge "Removed uncessary FILE structure pointer for I/O"
James Dong [Sat, 20 Nov 2010 00:49:10 +0000 (16:49 -0800)]
Merge "Removed uncessary FILE structure pointer for I/O"

13 years agoMerge "docs: add docs for xhdpi and xlarge screen support update screen ranges figure...
Scott Main [Sat, 20 Nov 2010 00:48:50 +0000 (16:48 -0800)]
Merge "docs: add docs for xhdpi and xlarge screen support update screen ranges figure bug: 3099462" into gingerbread

13 years agoRevert "Don't call cancel discovery when its already canceelled."
Jake Hamby [Sat, 20 Nov 2010 00:45:58 +0000 (16:45 -0800)]
Revert "Don't call cancel discovery when its already canceelled."

This reverts commit 58d0dcb75b776bba0737412d2f5e203792b06a52.
Fixes a bug where discovery would start every 20-30 seconds.

13 years agob/3215774 Fix scrollMode notifications
Erik [Sat, 20 Nov 2010 00:41:20 +0000 (16:41 -0800)]
b/3215774 Fix scrollMode notifications

When transitioning from a fling to a touch the mode was being set
to idle instead of ending up in scroll. This corrects the
notifications to get sent in the correct order.

Change-Id: Ideed6e4064b2be62788307f4232015fa88e101b4

13 years agoUpdates assets for edge glow and line.
Mindy Pereira [Sat, 20 Nov 2010 00:41:45 +0000 (16:41 -0800)]
Updates assets for edge glow and line.

Currently, we have the same assets for hdpi and mdpi.

Change-Id: I46be842ace9ca9908e6fb6196b9766868b362975

13 years agoDon't re-read SharedPreferences unnecessarily.
Brad Fitzpatrick [Fri, 19 Nov 2010 23:08:12 +0000 (15:08 -0800)]
Don't re-read SharedPreferences unnecessarily.

Previously reads were only cached once a write occurred because
loading didn't set the stat metadata, thus the
sp.hasFileChangedUnexpectedly() check always fired on reading.

Now the initial read populates the stat info, so getSharedPreference()
repeatedly bypasses reading from disk, even wtihout writes.

This was probably a regression from apply() being added in
Gingerbread.

Bug: 3211034
Change-Id: Ifa0bbb27c53a4099544950a4f822fab1fc23a47d

13 years agoMake sure we have a ";" after locale in User Agent
Bart Sears [Sat, 20 Nov 2010 00:21:36 +0000 (16:21 -0800)]
Make sure we have a ";" after locale in User Agent

When in pre-release mode, we did not have a semi-colon between
the locale (i.e. "en-us") and the the Build (i.e. "Build/HRH50")

In release mode we correctly added the semi-colon (and put in
the "model") so this was only an issue when in pre-release mode.

Bug: 3215465
Change-Id: Ied1acc69463ffddabbc886e7e7e5e8cc8ab14956

13 years agoMerge "Adding CloseGuard to Animation to find forgotten animations"
Brian Carlstrom [Sat, 20 Nov 2010 00:28:30 +0000 (16:28 -0800)]
Merge "Adding CloseGuard to Animation to find forgotten animations"

13 years agoFix SensorManager.getOrientation() documentation.
Mathias Agopian [Sat, 20 Nov 2010 00:25:11 +0000 (16:25 -0800)]
Fix SensorManager.getOrientation() documentation.

This function doesn't use the same reference coordinate system used
for the rotation matrix, unlike what the documentation previously
stated.

Change-Id: I38abeb74540d33b67f72993b54d7a00a73588dde

13 years agoMerge "Layoutlib: support for editing embedded layouts."
Xavier Ducrohet [Sat, 20 Nov 2010 00:23:22 +0000 (16:23 -0800)]
Merge "Layoutlib: support for editing embedded layouts."

13 years agoMerge "Fixes to DevicePolicyManager.setPasswordExpirationTimeout"
Andy Stadler [Sat, 20 Nov 2010 00:22:31 +0000 (16:22 -0800)]
Merge "Fixes to DevicePolicyManager.setPasswordExpirationTimeout"

13 years agoresolved conflicts for merge of e2ec61b2 to gingerbread-plus-aosp
Jean-Baptiste Queru [Sat, 20 Nov 2010 00:21:31 +0000 (16:21 -0800)]
resolved conflicts for merge of e2ec61b2 to gingerbread-plus-aosp

Change-Id: I81930c62e2f78b129995cffb8b1bf3332879c7cf

13 years agoLayoutlib: support for editing embedded layouts.
Xavier Ducrohet [Fri, 19 Nov 2010 23:48:17 +0000 (15:48 -0800)]
Layoutlib: support for editing embedded layouts.

When Resources.getLayout(int) is called to return a parser
for an embedded layout, this queries the current parser for
a custom parser (Eclipse will provide one on top of the current
XML model being edited)

Change-Id: Ia9e837358f67daed0a835e1b3f4f50c0516ceee9

13 years agoAdding CloseGuard to Animation to find forgotten animations
Brian Carlstrom [Fri, 19 Nov 2010 22:04:05 +0000 (14:04 -0800)]
Adding CloseGuard to Animation to find forgotten animations

Change-Id: I90df2c8a88dd75550431b7db63242db1a1b2f16a

13 years agoFixes to DevicePolicyManager.setPasswordExpirationTimeout
Andy Stadler [Fri, 19 Nov 2010 23:39:41 +0000 (15:39 -0800)]
Fixes to DevicePolicyManager.setPasswordExpirationTimeout

* Fix permissions problem in DevicePolicyManager
* Allow short timeouts (primarily for testing)
* Remove unused debugging code

Bug: 3212583
Change-Id: I3770b1c6f090363e8e8d65db92839cd53de05c45

13 years agoMerge "Goodbye title_bar_shadow."
Dianne Hackborn [Sat, 20 Nov 2010 00:04:53 +0000 (16:04 -0800)]
Merge "Goodbye title_bar_shadow."

13 years agoGoodbye title_bar_shadow.
Dianne Hackborn [Fri, 19 Nov 2010 22:46:55 +0000 (14:46 -0800)]
Goodbye title_bar_shadow.

May you rest in HELL.

Change-Id: I1e9e5f509a7860e4aeb4f6598b8c6551a59a8714

13 years agoMerge "Fix issue 3157123."
Eric Laurent [Fri, 19 Nov 2010 23:58:24 +0000 (15:58 -0800)]
Merge "Fix issue 3157123."

13 years ago64-bit file size/offset support for DRM framework
Gloria Wang [Fri, 19 Nov 2010 23:19:36 +0000 (15:19 -0800)]
64-bit file size/offset support for DRM framework

Change-Id: I0ba7147607825234df9fa28732e1bba344e82e79

13 years agoMerge "StagefrightMediaScanner: Call endFile() for MIDI and OGG files."
Jean-Baptiste Queru [Fri, 19 Nov 2010 23:50:29 +0000 (15:50 -0800)]
Merge "StagefrightMediaScanner: Call endFile() for MIDI and OGG files."

13 years agoFix issue 3157123.
Eric Laurent [Thu, 18 Nov 2010 16:40:16 +0000 (08:40 -0800)]
Fix issue 3157123.

Use a Mutex wherever atomic operations were used in AudioTrack,
AudioRecord, AudioFlinger and AudioEffect classes.

Change-Id: I6f55b2cabdcd93d64ef19446735b8f33720f8dbc

13 years agoam e3bef7c4: Merge "Added noop unregisterReceiver to complement existing noop registe...
Jean-Baptiste Queru [Fri, 19 Nov 2010 23:43:28 +0000 (15:43 -0800)]
am e3bef7c4: Merge "Added noop unregisterReceiver to complement existing noop registerReceiver."

* commit 'e3bef7c48d7ec13cb8c7c81dba8d775377e69bed':
  Added noop unregisterReceiver to complement existing noop registerReceiver.

13 years agoHide DragEvent pool implementation and add docs
Christopher Tate [Fri, 19 Nov 2010 22:55:12 +0000 (14:55 -0800)]
Hide DragEvent pool implementation and add docs

Change-Id: Idaead8ab604c69d6dbc1bd5de3afa86e1fae8396

13 years agoMerge "Added noop unregisterReceiver to complement existing noop registerReceiver."
Jean-Baptiste Queru [Fri, 19 Nov 2010 23:31:30 +0000 (15:31 -0800)]
Merge "Added noop unregisterReceiver to complement existing noop registerReceiver."

13 years agoFix ClipboardManager#hasText
Brian Muramatsu [Fri, 19 Nov 2010 23:28:06 +0000 (15:28 -0800)]
Fix ClipboardManager#hasText

Bug 3202642

I didn't see any usage of ClipboardService#hasClipboardText.
It seemed like this method was designed to be called by the
deprecated hasText method to retain compatibility rather
than calling hasPrimaryClip.

Change-Id: I84d73d618a6ee2feb2e8e603c611b393850230e7

13 years agoMerge "CameraBrowser: temporarily move to system partition"
Mike Lockwood [Fri, 19 Nov 2010 22:56:07 +0000 (14:56 -0800)]
Merge "CameraBrowser: temporarily move to system partition"

13 years agoCameraBrowser: temporarily move to system partition
Mike Lockwood [Fri, 19 Nov 2010 22:53:03 +0000 (17:53 -0500)]
CameraBrowser: temporarily move to system partition

Change-Id: Ied871109f98bdeba7456aacefc537d70a81ee8c9
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "Implement issue #2367442: Please add API for manipulating installer package...
Dianne Hackborn [Fri, 19 Nov 2010 22:38:16 +0000 (14:38 -0800)]
Merge "Implement issue #2367442: Please add API for manipulating installer package names"

13 years agoMerge "LayoutLib: use the new expand API."
Xavier Ducrohet [Fri, 19 Nov 2010 22:33:58 +0000 (14:33 -0800)]
Merge "LayoutLib: use the new expand API."

13 years agoLayoutLib: use the new expand API.
Xavier Ducrohet [Fri, 19 Nov 2010 22:27:37 +0000 (14:27 -0800)]
LayoutLib: use the new expand API.

Change-Id: I248de70ebe97aa6fb1cbcb5b6572a4a46c5ca1ba

13 years agoMerge "Fix SDK build on Windows due to use of mmap."
Jeff Brown [Fri, 19 Nov 2010 21:57:34 +0000 (13:57 -0800)]
Merge "Fix SDK build on Windows due to use of mmap."

13 years agoFix SDK build on Windows due to use of mmap.
Jeff Brown [Fri, 19 Nov 2010 21:13:07 +0000 (13:13 -0800)]
Fix SDK build on Windows due to use of mmap.

Change-Id: Id4bd9a6f932285c93c5853e540efc20b99876564

13 years agoKeyboard is not displayed when selecting read-only text.
Gilles Debunne [Fri, 19 Nov 2010 20:54:17 +0000 (12:54 -0800)]
Keyboard is not displayed when selecting read-only text.

Change-Id: Id8d1fb7ebd85a36a1e587b4e2bbbabf82aa1bdd7

13 years agoImplement issue #2367442: Please add API for manipulating installer
Dianne Hackborn [Fri, 19 Nov 2010 06:26:40 +0000 (22:26 -0800)]
Implement issue #2367442: Please add API for manipulating installer
package names

Change-Id: I0563e896a47ae1a6e77aebc2d624fb1bde52ffbc

13 years agoMerge "LayoutLib: fix some tests"
Xavier Ducrohet [Fri, 19 Nov 2010 20:59:29 +0000 (12:59 -0800)]
Merge "LayoutLib: fix some tests"

13 years agoLayoutLib: fix some tests
Xavier Ducrohet [Fri, 19 Nov 2010 20:53:20 +0000 (12:53 -0800)]
LayoutLib: fix some tests

Change-Id: Iacd641e2fac663ff12fe2a08ba093c4eaa2e8862

13 years agoMerge "CameraBrowser improvements:"
Mike Lockwood [Fri, 19 Nov 2010 20:31:00 +0000 (12:31 -0800)]
Merge "CameraBrowser improvements:"

13 years agoCameraBrowser improvements:
Mike Lockwood [Fri, 19 Nov 2010 20:24:00 +0000 (15:24 -0500)]
CameraBrowser improvements:

Replace menu for importing and deleting files with buttons.

Automatically close activities when camera is disconnected.

Change-Id: I88351e7c337c796057ce3f7da46fc287305f2220
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "Fix AbsListView StrictMode.Span end point on flings."
Brad Fitzpatrick [Fri, 19 Nov 2010 20:08:34 +0000 (12:08 -0800)]
Merge "Fix AbsListView StrictMode.Span end point on flings."

13 years agoFix AbsListView StrictMode.Span end point on flings.
Brad Fitzpatrick [Fri, 19 Nov 2010 20:03:22 +0000 (12:03 -0800)]
Fix AbsListView StrictMode.Span end point on flings.

Noticed after logs showed a ton of false positives, I went back and
looked at the history.  During the review of the previous CL, I
accidentally moved the finish() of the fling animation tracking inside
the PROFILE_FLINGING block, which is normally off.

Re-tested this CL with StrictMode debugging enabled and it now always
propertly resets to 0 animations in flight when no animations are
running.

Change-Id: Ie9746df36e2ec3f82679b20e91e3d93c05b863d4

13 years agoMerge "Improve hide/show animations in status bar."
Daniel Sandler [Fri, 19 Nov 2010 19:54:35 +0000 (11:54 -0800)]
Merge "Improve hide/show animations in status bar."

13 years agoImprove hide/show animations in status bar.
Daniel Sandler [Fri, 19 Nov 2010 19:47:59 +0000 (14:47 -0500)]
Improve hide/show animations in status bar.

This cleans up the lights out experience so you can clearly
see that the "shadows" along the bottom of the bar
correspond to invisible (but still available) UI elements.

Bug: 3203171
Change-Id: I635394d625bf97bbbe7260c1ae9320b616ea7aec