From 3ff560d7ba9fcedc4d388f63b756108a715266f4 Mon Sep 17 00:00:00 2001 From: jsh Date: Wed, 21 Oct 2009 17:55:31 -0700 Subject: [PATCH 01/12] Send "encoding problem" to the network for general errors during SMS dispatch. Previously we were returning "other terminal problem" to the network, but this had the potential of blocking MT SMS messages for days at a time (eg, if the problematic message is resent). Sending the "encoding problem" cause code is reasonable since in most cases the we have encountered an error while trying to parse the message. Addresses b/2200412. --- .../java/com/android/internal/telephony/CommandsInterface.java | 1 + .../com/android/internal/telephony/cdma/CdmaSMSDispatcher.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/telephony/java/com/android/internal/telephony/CommandsInterface.java b/telephony/java/com/android/internal/telephony/CommandsInterface.java index 5777cad08ad6..1d9f10a96e03 100644 --- a/telephony/java/com/android/internal/telephony/CommandsInterface.java +++ b/telephony/java/com/android/internal/telephony/CommandsInterface.java @@ -148,6 +148,7 @@ public interface CommandsInterface { static final int CDMA_SMS_FAIL_CAUSE_INVALID_TELESERVICE_ID = 4; static final int CDMA_SMS_FAIL_CAUSE_RESOURCE_SHORTAGE = 35; static final int CDMA_SMS_FAIL_CAUSE_OTHER_TERMINAL_PROBLEM = 39; + static final int CDMA_SMS_FAIL_CAUSE_ENCODING_PROBLEM = 96; //***** Methods diff --git a/telephony/java/com/android/internal/telephony/cdma/CdmaSMSDispatcher.java b/telephony/java/com/android/internal/telephony/cdma/CdmaSMSDispatcher.java index d895cd44956a..c16b04d08b50 100644 --- a/telephony/java/com/android/internal/telephony/cdma/CdmaSMSDispatcher.java +++ b/telephony/java/com/android/internal/telephony/cdma/CdmaSMSDispatcher.java @@ -481,7 +481,7 @@ final class CdmaSMSDispatcher extends SMSDispatcher { return CommandsInterface.CDMA_SMS_FAIL_CAUSE_INVALID_TELESERVICE_ID; case Intents.RESULT_SMS_GENERIC_ERROR: default: - return CommandsInterface.CDMA_SMS_FAIL_CAUSE_OTHER_TERMINAL_PROBLEM; + return CommandsInterface.CDMA_SMS_FAIL_CAUSE_ENCODING_PROBLEM; } } } -- GitLab From f90178d08d3a6cdb500a6f4d1069c38036b3db69 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Fri, 9 Oct 2009 12:38:41 -0700 Subject: [PATCH 02/12] docs only. fix some typos. --- docs/html/guide/guide_toc.cs | 2 +- docs/html/guide/topics/ui/ui-events.jd | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/html/guide/guide_toc.cs b/docs/html/guide/guide_toc.cs index 264fe549335c..39f0ffa45c00 100644 --- a/docs/html/guide/guide_toc.cs +++ b/docs/html/guide/guide_toc.cs @@ -98,7 +98,7 @@
  • - Resources and Assests + Resources and Assets
    -

    There are some other methods that you should be awere of, which are not part of the View class, +

    There are some other methods that you should be aware of, which are not part of the View class, but can directly impact the way you're able to handle events. So, when managing more complex events inside a layout, consider these other methods:

      -- GitLab From f4b5540b35a37ae5b999a50c2195bb43eb125f3c Mon Sep 17 00:00:00 2001 From: Dirk Dougherty Date: Fri, 9 Oct 2009 17:14:28 -0700 Subject: [PATCH 03/12] doc change only: add screens support doc --- docs/html/guide/guide_toc.cs | 5 + docs/html/guide/practices/screens_support.jd | 829 ++++++++++++++++++ .../manifest/supports-screens-element.jd | 37 +- .../afdvfckr9j_14fj6dhsc3_b.png | Bin 0 -> 67915 bytes .../afdvfckr9j_15dcsvrscg_b.png | Bin 0 -> 64510 bytes .../afdvfckr9j_16g95wjqg3_b.png | Bin 0 -> 6640 bytes .../afdvfckr9j_17p2w4txgc_b.png | Bin 0 -> 41291 bytes .../afdvfckr9j_18c6mhm3cm_b.png | Bin 0 -> 249072 bytes .../afdvfckr9j_19c743p6cr_b.png | Bin 0 -> 212513 bytes .../afdvfckr9j_20fvptbbdd_b.png | Bin 0 -> 19799 bytes .../images/screens_support/avds-config.png | Bin 0 -> 78486 bytes docs/html/images/screens_support/dip.png | Bin 0 -> 396188 bytes .../images/screens_support/scale-test.png | Bin 0 -> 85470 bytes 13 files changed, 837 insertions(+), 34 deletions(-) create mode 100644 docs/html/guide/practices/screens_support.jd create mode 100644 docs/html/images/screens_support/afdvfckr9j_14fj6dhsc3_b.png create mode 100644 docs/html/images/screens_support/afdvfckr9j_15dcsvrscg_b.png create mode 100644 docs/html/images/screens_support/afdvfckr9j_16g95wjqg3_b.png create mode 100644 docs/html/images/screens_support/afdvfckr9j_17p2w4txgc_b.png create mode 100644 docs/html/images/screens_support/afdvfckr9j_18c6mhm3cm_b.png create mode 100644 docs/html/images/screens_support/afdvfckr9j_19c743p6cr_b.png create mode 100644 docs/html/images/screens_support/afdvfckr9j_20fvptbbdd_b.png create mode 100644 docs/html/images/screens_support/avds-config.png create mode 100644 docs/html/images/screens_support/dip.png create mode 100644 docs/html/images/screens_support/scale-test.png diff --git a/docs/html/guide/guide_toc.cs b/docs/html/guide/guide_toc.cs index 39f0ffa45c00..e2acc4f330d7 100644 --- a/docs/html/guide/guide_toc.cs +++ b/docs/html/guide/guide_toc.cs @@ -325,6 +325,9 @@ 最佳實務 +
    + \ No newline at end of file diff --git a/docs/html/sdk/older_releases.jd b/docs/html/sdk/older_releases.jd index febccd04d046..0ecee3c14ef7 100644 --- a/docs/html/sdk/older_releases.jd +++ b/docs/html/sdk/older_releases.jd @@ -7,7 +7,7 @@ released before Android 1.0. The list is provided for informational purposes only.

    If you are just getting started developing on Android, make sure that you -are using the most current SDK available, +are using the most current SDK available, to ensure that your applications will be compatible with the latest Android-powered devices.

    diff --git a/docs/html/sdk/sdk_toc.cs b/docs/html/sdk/sdk_toc.cs index b75fe9b98748..8b55aad1baf5 100644 --- a/docs/html/sdk/sdk_toc.cs +++ b/docs/html/sdk/sdk_toc.cs @@ -1,9 +1,9 @@ -