1926 Commits

Author SHA1 Message Date
Android (Google) Code Review
9e71b07cfe Merge change 4829 into donut
* changes:
  Fixes #1926784. Setting android:ellipsize on an EditText now ellipsizes the hint.
2009-06-19 18:18:42 -07:00
Android (Google) Code Review
79ac87704d Merge change 4834 into donut
* changes:
  Fix a bug where wrong variable was used for comparison.
2009-06-19 17:24:32 -07:00
Android (Google) Code Review
b92f7040e8 Merge change 4847 into donut
* changes:
  Add permission tests for IHardwareService.
2009-06-19 17:12:55 -07:00
Romain Guy
4dc4f73cab Fixes #1926784. Setting android:ellipsize on an EditText now ellipsizes the hint.
It doesn't make much sense to ellipsize the text entered by the user, so we
just ellipsize the hint. This avoids introducing a new XML attribute/Java API
just for the particular case of ellipsizing the hint.
2009-06-19 16:39:35 -07:00
Brett Chabot
3648090733 Add permission tests for IHardwareService. 2009-06-19 16:19:30 -07:00
Suchi Amalapurapu
b97b8f8806 Fix issue with shared user permissions.
just look in the requested permissions of packages within shared user setting rather than the granted permissions
2009-06-19 16:02:27 -07:00
Guang Zhu
595fbd6ea2 Fix a bug where wrong variable was used for comparison. 2009-06-19 15:40:01 -07:00
Android (Google) Code Review
b92c45a4bc Merge change 4831 into donut
* changes:
  Add app version to the backup metadata
2009-06-19 15:38:41 -07:00
Android (Google) Code Review
1585bd24c1 Merge change 4828 into donut
* changes:
  Report densities in badging, debugging for nine patch bug.
2009-06-19 15:37:03 -07:00
Christopher Tate
6aa41f4c57 Add app version to the backup metadata
We now record the version number of the app (drawn from its manifest versionCode
attribute) along with its signatures.  At restore time, we compare the version
associated with the restore set with the version present on the device.  If the
restore set is from a newer version of the app than is present on device, we do
not perform the restore operation.

Also fix the pending-backup iteration in 'dumpsys backup'.
2009-06-19 15:24:51 -07:00
Dianne Hackborn
e17086ba34 Report densities in badging, debugging for nine patch bug.
The aapt tool now reports all available densities like it already did
for locales.  Also this includes more resource data output, which I
was using to examine bug #1867049 (which at this point I am unable to
reproduce).
2009-06-19 15:13:28 -07:00
Grace Kloba
3af8e9389e Change addCertificate to take byte[] instead of String as we don't know the encoding.
In WebView, if we run into the certificate, we will save it to the Keystore instead of sending it to the WebKit.
2009-06-19 15:09:34 -07:00
Android (Google) Code Review
5254657540 Merge change 4818 into donut
* changes:
  Added in Settings.Secure default country and variant for the default TTS language.
2009-06-19 14:43:37 -07:00
Android (Google) Code Review
b4e456bf18 Merge change 4785 into donut
* changes:
  Fix issue #1753079: running instrumentation in shared processes.
2009-06-19 14:24:39 -07:00
Jean-Michel Trivi
a6fcc95411 Added in Settings.Secure default country and variant for the default TTS language. 2009-06-19 14:18:41 -07:00
Android (Google) Code Review
4d1b5bd148 Merge change 4808 into donut
* changes:
  Fixes #1928566. Prevents runtime restart upon configuration change.
2009-06-19 13:31:14 -07:00
Android (Google) Code Review
066e6bfd01 Merge change 4792 into donut
* changes:
  when we reset a paint, it should return to the state it was in when it was first created. for java, this means setting its text-encoding to UTF16...
2009-06-19 13:30:15 -07:00
Android (Google) Code Review
9ebd737e12 Merge change 4793 into donut
* changes:
  dpi changes for webview
2009-06-19 13:24:44 -07:00
Romain Guy
e35c235145 Fixes #1928566. Prevents runtime restart upon configuration change.
Managed dialogs could cause dispatchOnCreate() to be called twice, which
would cause an exception.
2009-06-19 13:18:12 -07:00
Android (Google) Code Review
b00518d815 Merge change 4796 into donut
* changes:
  Move USE_LOCATION_FOR_SERVICES to Secure.
2009-06-19 12:55:34 -07:00
Grace Kloba
2573791620 dpi changes for webview 2009-06-19 12:42:47 -07:00
Android (Google) Code Review
ab48bb9c00 Merge change 4686 into donut
* changes:
  Set AuthType to 0 if username is not specified.
2009-06-19 12:13:50 -07:00
Mike Reed
290f5baf91 when we reset a paint, it should return to the state it was in when it was first created.
for java, this means setting its text-encoding to UTF16...
2009-06-19 15:13:39 -04:00
Android (Google) Code Review
f781b39cb8 Merge change 4786 into donut
* changes:
  gps: Set SUPL server via hostname rather than IP address.
2009-06-19 12:09:36 -07:00
Amith Yamasani
630cd06414 Move USE_LOCATION_FOR_SERVICES to Secure.
Since SetupWizard needs to be able to write the setting, it
couldn't live in Gservices. Moved it to Secure.
2009-06-19 12:08:20 -07:00
Jaikumar Ganesh
238bfa9efd Set AuthType to 0 if username is not specified.
If username is not specified, set authType to No PAP / No CHAP
so that the code is backward compatible.
2009-06-19 12:06:48 -07:00
Mike Lockwood
a9e546169b gps: Set SUPL server via hostname rather than IP address.
The GPS engine needs the hostname for the secure SUPL case
and deferring the DNS lookup to the HAL might be helpful in the future
if the SUPL server is on a carrier's private network.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-19 14:54:42 -04:00
Android (Google) Code Review
ba6409f1f6 Merge change 4706 into donut
* changes:
  Add a new checkin server flag for Vending Machine heartbeats.
2009-06-19 11:50:22 -07:00
Dianne Hackborn
3d74bb4ab2 Add "why?" button to low battery dialog.
This takes the user to the power usage activity.
2009-06-19 11:46:58 -07:00
Dianne Hackborn
d97c7adfc2 Fix issue #1753079: running instrumentation in shared processes.
The check for allowing the start of an activity was broken, it was
comparing the process of that activity's application vs. the current
instrumentation target package name.  Okay it was utterly insane.

Now this check is that the target activity will be running in the
same process as the instrumentation, which is really what we want.
2009-06-19 11:37:35 -07:00
Android (Google) Code Review
03255de32d Merge change 4757 into donut
* changes:
  Add getBatteryUsageHint() to BluetoothHeadset for power monitoring.
2009-06-19 11:29:57 -07:00
Android (Google) Code Review
697f9caf8b Merge change 4687 into donut
* changes:
  Use standalone month name instead of format month name in year-month format.
2009-06-19 10:30:15 -07:00
Android (Google) Code Review
6afe81339e Merge change 4720 into donut
* changes:
  Fix string formatters in SettingsProvider SecurityException message.
2009-06-19 10:29:59 -07:00
Suchi Amalapurapu
bc806f65ed Remove deprecated api. Aptly rename freeStorageWithIntent to freeStorage. 2009-06-19 10:25:37 -07:00
Nick Pelly
6c901db72d Add getBatteryUsageHint() to BluetoothHeadset for power monitoring.
This is a monotonically increasing integer. Wraps to 0 at
Integer.MAX_INT, and at boot.
Current implementation returns the number of AT commands handled since
boot. This is a good indicator for spammy headset/handsfree units that
can keep the device awake by polling for cellular status updates. As a
rule of thumb, each AT command prevents the CPU from sleeping for 500 ms
2009-06-19 10:08:09 -07:00
Android (Google) Code Review
2b1aed1021 Merge change 4527 into donut
* changes:
  Fix Canvas.finalize() for the case where the constructor throws an exception before the native canvas instance was created.
2009-06-19 10:07:29 -07:00
Brett Chabot
31a88fac91 Fix string formatters in SettingsProvider SecurityException message. 2009-06-19 09:45:48 -07:00
Wu-cheng Li
649f99e834 Add Intent.ACTION_SEND_MULTIPLE
Activities can use this intent to send multiple data.
2009-06-19 18:48:37 +08:00
Chia-chi Yeh
4df90a869c gsm: Remove PppLink since pppd_gprs service does not exist. 2009-06-19 16:02:30 +08:00
Android (Google) Code Review
fd5f087536 Merge change 4721 into donut
* changes:
  Make signature checks on restore work with unsigned apps
2009-06-18 20:49:06 -07:00
Android (Google) Code Review
e0b7e916a1 Merge change 4679 into donut
* changes:
  Replace the dummy code with Keystore for <keygen> support.
2009-06-18 19:52:00 -07:00
Android (Google) Code Review
c628297718 Merge change 4718 into donut
* changes:
  Fix sim-eng build and simplify previous lcd-density related patch
2009-06-18 19:45:07 -07:00
Christopher Tate
20efdf6b56 Make signature checks on restore work with unsigned apps 2009-06-18 19:42:24 -07:00
David 'Digit' Turner
3c08a446c5 Fix sim-eng build and simplify previous lcd-density related patch 2009-06-19 04:41:12 +02:00
Android (Google) Code Review
63e7155c7d Merge change 4696 into donut
* changes:
  Fix targetSdkVersion, make resize mode a flag, delayed dexopt, easy ApplicationInfo.
2009-06-18 19:33:33 -07:00
Android (Google) Code Review
5502f04c1d Merge change 4709 into donut
* changes:
  backup stuff
2009-06-18 19:02:39 -07:00
Android (Google) Code Review
16ce3504c5 Merge change 4708 into donut
* changes:
  Make RestoreHelper and friends also write out the snapshot state.
2009-06-18 19:02:30 -07:00
Linda Nguyen
abd7eba70b Add a new checkin server flag for Vending Machine heartbeats. 2009-06-18 18:52:59 -07:00
Android (Google) Code Review
568b62c861 Merge change 4702 into donut
* changes:
  Fix bug 1927213 test failures.
2009-06-18 18:45:08 -07:00
Joe Onorato
5d605dc56b backup stuff 2009-06-18 18:41:11 -07:00