2013 Commits

Author SHA1 Message Date
Dianne Hackborn
a96cbb435d Implement compatibility support for WRITE_SDCARD permission.
Now old applications will automatically be granted it.  Also renamed it from
SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions,
and re-arranged how we do targetSdkVersion to actually be usuable for this
kind of stuff.

Note that right now this results in basically all apps being given the
WRITE_SDCARD permission, because their targetSdkVersion is not set.  I will
be dealing with that in a future change.
2009-05-15 18:02:47 -07:00
Android (Google) Code Review
4eebf590a3 am ba2a3a1b: Merge change 1831 into donut
Merge commit 'ba2a3a1b32e242eea4e97c927d886e8987fde3d4'

* commit 'ba2a3a1b32e242eea4e97c927d886e8987fde3d4':
  Tear down data, if a disconnect request is pending.
2009-05-15 17:57:35 -07:00
Android (Google) Code Review
ba2a3a1b32 Merge change 1831 into donut
* changes:
  Tear down data, if a disconnect request is pending.
2009-05-15 17:41:30 -07:00
Yang Li
419780b98e am 935fd37d: Revert "Squashed commit of the following:"
Merge commit '935fd37d27804539b141fa074c060d2c15524424'

* commit '935fd37d27804539b141fa074c060d2c15524424':
  Revert "Squashed commit of the following:"
2009-05-15 17:24:34 -07:00
Jaikumar Ganesh
caed8208bb Tear down data, if a disconnect request is pending.
If there is a pending disconnect, and the previous connection
attempt succeeds, we don't disconnect and hence the state remains
in DISCONNECTING. Ex: user is on Wifi, location app calls
enableApnType(SUPL) and then we set state to INITING. It then
calls disableApnType(SUPL) we register a pending disconnect.
When the data connection attempt is successful, we don't disconnect,
as the PDP Connection State has not been set to ACTIVE and we check
for this state. This fix removes the dependency on ACTIVE state check.
2009-05-15 16:52:13 -07:00
Yang Li
935fd37d27 Revert "Squashed commit of the following:"
This reverts commit f8173411cc612017ecfa115d71fb823b0714d982.
2009-05-15 16:51:46 -07:00
Android (Google) Code Review
b1cb6be05a Merge change 1777
* changes:
  If battery status is unknown don't send BATTERY_LOW intent
2009-05-15 16:31:24 -07:00
Android (Google) Code Review
370331fbca am b3c6addf: Merge change 1825 into donut
Merge commit 'b3c6addfc17be2a52133026148f3928ab97c83cb'

* commit 'b3c6addfc17be2a52133026148f3928ab97c83cb':
  Fixes #1855461, #1857290 and #1857365. Certain scrollbar styles make an opaque view not be opaque. ListView and View now account for this when indicating whether they are opaque or not.
2009-05-15 16:25:42 -07:00
Android (Google) Code Review
86a99b9ad2 am b3af6b48: Merge change 1748 into donut
Merge commit 'b3af6b4805040ea42c01765387c99089822bbe7e'

* commit 'b3af6b4805040ea42c01765387c99089822bbe7e':
  Add a tool to play all kinds of media files saved in /sdcard/media_api/samples/. It also tests the seeking functionality during the play of each sample file.
2009-05-15 16:25:42 -07:00
Android (Google) Code Review
28a6f667c2 am e85bb9eb: Merge change 1823 into donut
Merge commit 'e85bb9ebcce85b8c7a0e0ccb5116cd25bf684727'

* commit 'e85bb9ebcce85b8c7a0e0ccb5116cd25bf684727':
  Add the backup data file writer C++ class.
2009-05-15 16:25:41 -07:00
Android (Google) Code Review
b3c6addfc1 Merge change 1825 into donut
* changes:
  Fixes #1855461, #1857290 and #1857365. Certain scrollbar styles make an opaque view not be opaque. ListView and View now account for this when indicating whether they are opaque or not.
2009-05-15 16:15:31 -07:00
Romain Guy
8f1344f5e7 Fixes #1855461, #1857290 and #1857365. Certain scrollbar styles make an opaque view not be opaque. ListView and View now account for this when indicating whether they are opaque or not. 2009-05-15 16:15:04 -07:00
Android (Google) Code Review
b3af6b4805 Merge change 1748 into donut
* changes:
   Add a tool to play all kinds of media files saved in /sdcard/media_api/samples/. It also tests the seeking functionality during the play of each sample file.
2009-05-15 15:55:41 -07:00
Android (Google) Code Review
e85bb9ebcc Merge change 1823 into donut
* changes:
  Add the backup data file writer C++ class.
2009-05-15 15:36:32 -07:00
Joe Onorato
2e1da32203 Add the backup data file writer C++ class. 2009-05-15 18:20:19 -04:00
The Android Open Source Project
b16a8df65b fix build after merge 2009-05-15 15:14:41 -07:00
Xia Wang
55eef638fa Add a tool to play all kinds of media files saved in /sdcard/media_api/samples/. It also tests the seeking functionality during the play of each sample file. 2009-05-15 15:03:33 -07:00
Yang Li
7209337100 am f8173411: Squashed commit of the following:
Merge commit 'f8173411cc612017ecfa115d71fb823b0714d982'

* commit 'f8173411cc612017ecfa115d71fb823b0714d982':
  Squashed commit of the following:
2009-05-15 15:00:43 -07:00
Yang Li
f8173411cc Squashed commit of the following:
commit db1a75ffc2d5a811a8d983289dd4d0d9f2eeba5c
Author: Yang Li <liyang@google.com>
Date:   Fri May 1 17:49:29 2009 -0700

    Fixed a few more styles issues and made some methods package private

commit f9735c3f1bbe6183337df226aa730b4be1225d55
Author: Yang Li <liyang@google.com>
Date:   Fri May 1 16:38:16 2009 -0700

    - Refactored the code for Android coding styles and performance
    - Renamed GesturePad to GestureOverlay
    - Added GestureAdapter for default touch-through interactions of GestureOverlay
    - Added a new exmaple, ContactListGestureOverlay, to show how to gesture over an arbitary view

commit 31050183c6d85091612f53155126c2488b920e32
Author: Yang Li <liyang@google.com>
Date:   Wed Apr 29 18:41:54 2009 -0700

    Refactored the Gesture Library (An initial check-in).
2009-05-15 13:55:56 -07:00
Fred Quintana
ce31b2361d enhance ContentProvider with the ability to perform batch operations 2009-05-15 13:55:32 -07:00
Dan Egnor
e18b02cc2c am abc25e36: Add intent for gservices override, and handle empty arguments properly in the "am" utility.
Merge commit 'abc25e3679a9de2625eadf3e3050a6973f7a6c71'

* commit 'abc25e3679a9de2625eadf3e3050a6973f7a6c71':
  Add intent for gservices override, and handle empty arguments properly
2009-05-15 13:31:55 -07:00
Dan Egnor
abc25e3679 Add intent for gservices override, and handle empty arguments properly
in the "am" utility.
2009-05-15 11:59:31 -07:00
Mike LeBeau
695c518a1b am a38b427a: Add a search url text color attribute and theme. For search suggestions in global search (and in related apps using system search like the browser), we\'d like to have a consistent green color used for urls. This makes it available system-wide.
Merge commit 'a38b427a7a6d2658dc3e3083bc6c263a3d4d7af3'

* commit 'a38b427a7a6d2658dc3e3083bc6c263a3d4d7af3':
  Add a search url text color attribute and theme. For search suggestions
2009-05-15 11:51:26 -07:00
Android (Google) Code Review
435616f104 Merge change 1787
* changes:
  resolved conflicts w/ 5bd644caf73e76750feef1a82b8817d32f5367fc merge....
2009-05-15 11:39:36 -07:00
Eric Fischer
d2146d4a7c resolved conflicts w/ 5bd644caf73e76750feef1a82b8817d32f5367fc merge.... 2009-05-15 11:38:38 -07:00
Grace Kloba
aaf0718c58 loadListener.transferEncoding() is null if it is not specified in data: schema when DataLoader is constructed. Reverse the checking order. 2009-05-15 10:53:19 -07:00
Mike LeBeau
a38b427a7a Add a search url text color attribute and theme. For search suggestions
in global search (and in related apps using system search like the browser),
we'd like to have a consistent green color used for urls. This makes it
available system-wide.
2009-05-15 10:31:16 -07:00
Android (Google) Code Review
3fdc39a3ac Merge change 1664
* changes:
  Added PluginManager to handle getting all the plugin directories from PackageManager.
2009-05-15 10:25:52 -07:00
Rebecca Schultz Zavin
47ee3bc78e If battery status is unknown don't send BATTERY_LOW intent
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-05-15 10:20:16 -07:00
Eric Fischer
5bd644caf7 Start using CLDR for some date-and-time strings and formats.
Use java.text.DateFormat where possible, since that is already using
the CLDR data for the things it supports.  Remove an unused date format
object from DatePickerDialog.

Add a new method for getting the standalone month names from applications,
although @hidden for now because it is an API change.

Pass the standalone month names down to native code in Time so that
tztime's strftime() can use them.

And then the bulk of the change: replace all the names for the months
and the days of the week, and AM and PM, and yesterday, today, and tomorrow,
with strings from CLDR.  And replace several of the date format strings
with ones derived from CLDR, but reformatted to use strftime() style
instead of SimpleDateFormat style.

All these resource changes go into new donottranslate-cldr.xml files
and are removed from strings.xml so that they aren't part of the
normal translation process and the translators don't have to bother
with them (and risk messing them up).
2009-05-15 10:15:50 -07:00
Joe Onorato
55051ebdd1 am 4535e405: Implement the C++ class to write the backed up file data.
Merge commit '4535e40544aeb957d44fad75fbe5676effe03689'

* commit '4535e40544aeb957d44fad75fbe5676effe03689':
  Implement the C++ class to write the backed up file data.
2009-05-15 07:55:51 -07:00
Joe Onorato
4535e40544 Implement the C++ class to write the backed up file data. 2009-05-15 10:37:10 -04:00
Mihai Preda
dd6face5a6 am eae850ce: Allow intent resolution to be constrained by package name.
Merge commit 'eae850cefe7e149f396c9e8ca1f34ec02b20a3f0'

* commit 'eae850cefe7e149f396c9e8ca1f34ec02b20a3f0':
  Allow intent resolution to be constrained by package name.
2009-05-15 07:06:46 -07:00
Bjorn Bringert
819e3f2148 Change _TOKENIZE tests to test the new token_index column
The SQLite _TOKENIZE function has been changed to use a third
column, token_index. This commit adds tests for the
_TOKENIZE token_index column, and for the source column,
which was previously untested.
2009-05-15 12:03:32 +01:00
Mihai Preda
eae850cefe Allow intent resolution to be constrained by package name. 2009-05-15 12:32:07 +02:00
svetoslavganov
76879bc234 resolved conflicts w/ 75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec merge.... 2009-05-15 00:44:45 -07:00
svetoslavganov
75986cf9bc Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut) 2009-05-14 23:47:05 -07:00
Android (Google) Code Review
e52a5a5fca am 669ec3a6: Merge change 1747 into donut
Merge commit '669ec3a6e47248fee0a3a0f4877b46875eb42140'

* commit '669ec3a6e47248fee0a3a0f4877b46875eb42140':
  Fixes #1846038. The dirty region can sometimes be modified by SurfaceFlinger. When this happens, force the view hierarchy to ignore the dirty flags.
2009-05-14 21:50:15 -07:00
Android (Google) Code Review
669ec3a6e4 Merge change 1747 into donut
* changes:
  Fixes #1846038. The dirty region can sometimes be modified by SurfaceFlinger. When this happens, force the view hierarchy to ignore the dirty flags.
2009-05-14 21:49:12 -07:00
Romain Guy
5bcdff45bf Fixes #1846038. The dirty region can sometimes be modified by SurfaceFlinger. When this happens, force the view hierarchy to ignore the dirty flags. 2009-05-14 21:48:35 -07:00
Android (Google) Code Review
f045bb2581 am 0c97c7c8: Merge change 1668 into donut
Merge commit '0c97c7c8562048135cc129044219f9bbdfc1f108'

* commit '0c97c7c8562048135cc129044219f9bbdfc1f108':
  Document exception from parse3339
2009-05-14 17:22:30 -07:00
Android (Google) Code Review
0c97c7c856 Merge change 1668 into donut
* changes:
  Document exception from parse3339
2009-05-14 17:21:11 -07:00
Android (Google) Code Review
85119a427f am 14ad07f6: Merge change 1708 into donut
Merge commit '14ad07f604ecd08436680a046363d37952c278f6'

* commit '14ad07f604ecd08436680a046363d37952c278f6':
  Fixes #1853550. Prevent NPE when calling the PopupWindow() and PopupWindow(int, int) constructors. Instead, throw an IllegalStateException when trying to show a popup with no content view.
2009-05-14 16:44:18 -07:00
Android (Google) Code Review
14ad07f604 Merge change 1708 into donut
* changes:
  Fixes #1853550. Prevent NPE when calling the PopupWindow() and PopupWindow(int, int) constructors. Instead, throw an IllegalStateException when trying to show a popup with no content view.
2009-05-14 16:42:46 -07:00
Romain Guy
39a6dc59e6 am a3519811: Fix the build, again.
Merge commit 'a35198117ed8ba356e814863066777ee9f37f8e1'

* commit 'a35198117ed8ba356e814863066777ee9f37f8e1':
  Fix the build, again.
2009-05-14 16:32:17 -07:00
Romain Guy
a35198117e Fix the build, again. 2009-05-14 16:29:18 -07:00
The Android Open Source Project
3f229fe7e8 update api to match after merge 2009-05-14 16:28:49 -07:00
Romain Guy
448ecf5a94 Fixes #1853550. Prevent NPE when calling the PopupWindow() and PopupWindow(int, int) constructors. Instead, throw an IllegalStateException when trying to show a popup with no content view. 2009-05-14 16:03:42 -07:00
Android (Google) Code Review
780d61dd97 am d1f7b3a5: Merge change 1704 into donut
Merge commit 'd1f7b3a5720a4d6d92c4eea5a1fe812a790a7442'

* commit 'd1f7b3a5720a4d6d92c4eea5a1fe812a790a7442':
  New feature to track down #1846038. Adds the ability to export flags encoded in int values so as to make them human readable in HierarchyViewer.
2009-05-14 15:49:37 -07:00
Android (Google) Code Review
d1f7b3a572 Merge change 1704 into donut
* changes:
  New feature to track down #1846038. Adds the ability to export flags encoded in int values so as to make them human readable in HierarchyViewer.
2009-05-14 15:47:37 -07:00