OSDN Git Service

Bug 2680071: Rename the Cloud to Device
authorCostin Manolache <costin@google.com>
Wed, 12 May 2010 23:04:10 +0000 (16:04 -0700)
committerCostin Manolache <costin@google.com>
Wed, 12 May 2010 23:16:34 +0000 (16:16 -0700)
Change-Id: I12ab32de393e44a499e3f9e3a0b38f4682156ff5

common/java/com/android/common/GoogleLogTags.logtags
core/java/android/content/Intent.java
core/res/AndroidManifest.xml

index bf6091a..f848ddf 100644 (file)
@@ -80,7 +80,7 @@ option java_package com.android.common
 204004 gtalk_heartbeat_reset (interval_and_nt|1),(ip|3)
 
 # This event is logged when an Rmq v2 packet is sent or received.
-204005 data_messaging (packet_type|1),(persistent_id|3),(stream_id|1),(last_stream_id|1)
+204005 c2dm (packet_type|1),(persistent_id|3),(stream_id|1),(last_stream_id|1)
 
 #####
 # Google Login Service and Setup Wizard
index 6aac4b9..2acc4a0 100644 (file)
@@ -1866,7 +1866,7 @@ public class Intent implements Parcelable, Cloneable {
      * @hide
      */
     public static final String ACTION_REMOTE_INTENT =
-            "com.google.android.datamessaging.intent.RECEIVE";
+            "com.google.android.c2dm.intent.RECEIVE";
 
     /**
      * Broadcast Action: hook for permforming cleanup after a system update.
index 5a92dbe..2a2208f 100644 (file)
         android:description="@string/permlab_copyProtectedData"
         android:protectionLevel="signature" />
 
-    <!-- Data messaging permission. 
+    <!-- C2DM permission. 
          @hide Used internally.
      -->
-    <permission android:name="android.intent.category.MASTER_CLEAR.permission.DATA_MESSAGE"
+    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
           android:protectionLevel="signature" />
-    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.DATA_MESSAGE"/>
+    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
 
     <application android:process="system"
                  android:persistent="true"
                 <action android:name="android.intent.action.MASTER_CLEAR" />
 
                 <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
-                <action android:name="com.google.android.datamessaging.intent.RECEIVE" />
+                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
                 <category android:name="android.intent.category.MASTER_CLEAR" />
             </intent-filter>
         </receiver>