Permalink
Browse files

move stuff for i9000 to patchrom, and fix the changes of status bar o…

…verlay resources

Change-Id: Ib05494e5e27d1e5f46aa0139879784bcb9ab8f4d
  • Loading branch information...
fanoge committed Feb 1, 2012
1 parent e4aabca commit 45e72ef1c28498c13656c1abfef8b80ddd9b74b9
Showing 9,466 changed files with 3,178,383 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
Binary file not shown.
View
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest android:sharedUserId="android.uid.phone" android:versionCode="1" android:versionName="1.0" package="com.samsung.sec.android.application.csc"
+ xmlns:android="http://schemas.android.com/apk/res/android">
+ <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10" />
+ <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" />
+ <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS" />
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETE" />
+ <uses-permission android:name="android.permission.WRITE_SETTINGS" />
+ <uses-permission android:name="android.permission.READ_PHONE_STATE" />
+ <uses-permission android:name="android.permission.WRITE_APN_SETTINGS" />
+ <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
+ <uses-permission android:name="android.permission.SET_ANIMATION_SCALE" />
+ <uses-permission android:name="android.permission.READ_CALENDAR" />
+ <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
+ <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
+ <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
+ <uses-permission android:name="android.permission.READ_CONTACTS" />
+ <uses-permission android:name="android.permission.WRITE_CONTACTS" />
+ <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
+ <application android:label="@string/app_name" android:icon="@drawable/icon" android:process="com.android.phone">
+ <receiver android:name="CscReceiver">
+ <intent-filter>
+ <action android:name="android.intent.action.BOOT_COMPLETED" />
+ <action android:name="android.intent.action.CSC_UPDATE_TEST" />
+ <action android:name="android.intent.action.CSC_COMPARE" />
+ <action android:name="android.intent.action.CSC_MODEM_SETTING" />
+ <action android:name="android.intent.action.MULTI_CSC_CLEAR" />
+ <action android:name="android.intent.action.CSC_UPDATE_CONNECTION" />
+ <action android:name="android.intent.action.CSC_UPDATE_FD" />
+ </intent-filter>
+ <intent-filter>
+ <action android:name="android.intent.action.MEDIA_SCANNER_FINISHED" />
+ <data android:scheme="file" />
+ </intent-filter>
+ </receiver>
+ <service android:name="CscCompareService" />
+ <service android:name="CscUpdateService" />
+ <service android:name="CscModemSettingService" />
+ </application>
+</manifest>
View
@@ -0,0 +1,6 @@
+version: 1.4.3
+apkFileName: CSC.apk
+isFrameworkApk: false
+usesFramework:
+ ids:
+ - 1
View
Binary file not shown.
View
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
+ xmlns:android="http://schemas.android.com/apk/res/android">
+ <Button android:id="@id/button_start_service" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/start_service" />
+ <Button android:id="@id/button_stop_service" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/stop_service" />
+ <Button android:id="@id/button_update_browser" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/update_browser" />
+</LinearLayout>
View
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <item type="id" name="button_start_service">false</item>
+ <item type="id" name="button_stop_service">false</item>
+ <item type="id" name="button_update_browser">false</item>
+</resources>
View
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <public type="drawable" name="icon" id="0x7f020000" />
+ <public type="layout" name="main" id="0x7f030000" />
+ <public type="string" name="app_name" id="0x7f040000" />
+ <public type="string" name="start_service" id="0x7f040001" />
+ <public type="string" name="stop_service" id="0x7f040002" />
+ <public type="string" name="update_browser" id="0x7f040003" />
+ <public type="id" name="button_start_service" id="0x7f050000" />
+ <public type="id" name="button_stop_service" id="0x7f050001" />
+ <public type="id" name="button_update_browser" id="0x7f050002" />
+</resources>
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="app_name">CSC</string>
+ <string name="start_service">Start service</string>
+ <string name="stop_service">Stop service</string>
+ <string name="update_browser">Update browser</string>
+</resources>
@@ -0,0 +1,8 @@
+.class public interface abstract Lcom/samsung/sec/android/application/csc/Comparable;
+.super Ljava/lang/Object;
+.source "Comparable.java"
+
+
+# virtual methods
+.method public abstract compare()Ljava/lang/String;
+.end method
@@ -0,0 +1,152 @@
+.class Lcom/samsung/sec/android/application/csc/CscBrowser$1;
+.super Landroid/content/BroadcastReceiver;
+.source "CscBrowser.java"
+
+
+# annotations
+.annotation system Ldalvik/annotation/EnclosingMethod;
+ value = Lcom/samsung/sec/android/application/csc/CscBrowser;-><init>(Landroid/content/Context;)V
+.end annotation
+
+.annotation system Ldalvik/annotation/InnerClass;
+ accessFlags = 0x0
+ name = null
+.end annotation
+
+
+# instance fields
+.field final synthetic this$0:Lcom/samsung/sec/android/application/csc/CscBrowser;
+
+
+# direct methods
+.method constructor <init>(Lcom/samsung/sec/android/application/csc/CscBrowser;)V
+ .locals 0
+ .parameter
+
+ .prologue
+ .line 91
+ iput-object p1, p0, Lcom/samsung/sec/android/application/csc/CscBrowser$1;->this$0:Lcom/samsung/sec/android/application/csc/CscBrowser;
+
+ invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
+
+ return-void
+.end method
+
+
+# virtual methods
+.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
+ .locals 7
+ .parameter "context"
+ .parameter "intent"
+
+ .prologue
+ const-string v6, "homepage"
+
+ const-string v5, "CSCBrowser"
+
+ .line 94
+ const-string v3, "CSCBrowser"
+
+ const-string v3, " ** onReceive runs.."
+
+ invoke-static {v5, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
+
+ .line 96
+ invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;
+
+ move-result-object v3
+
+ const-string v4, "android.intent.action.CSC_BROWSER_HOMEPAGE"
+
+ invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
+
+ move-result v3
+
+ if-eqz v3, :cond_0
+
+ .line 97
+ const-string v3, "homepage"
+
+ invoke-virtual {p2, v6}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
+
+ move-result-object v1
+
+ .line 98
+ .local v1, rcvd:Ljava/lang/String;
+ const-string v3, "CSCBrowser"
+
+ new-instance v3, Ljava/lang/StringBuilder;
+
+ invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
+
+ const-string v4, " ** onReceive : received url - "
+
+ invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
+
+ move-result-object v3
+
+ invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
+
+ move-result-object v3
+
+ invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
+
+ move-result-object v3
+
+ invoke-static {v5, v3}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
+
+ .line 100
+ iget-object v3, p0, Lcom/samsung/sec/android/application/csc/CscBrowser$1;->this$0:Lcom/samsung/sec/android/application/csc/CscBrowser;
+
+ #getter for: Lcom/samsung/sec/android/application/csc/CscBrowser;->mContext:Landroid/content/Context;
+ invoke-static {v3}, Lcom/samsung/sec/android/application/csc/CscBrowser;->access$000(Lcom/samsung/sec/android/application/csc/CscBrowser;)Landroid/content/Context;
+
+ move-result-object v3
+
+ const-string v4, "csc.preferences_name"
+
+ const/4 v5, 0x0
+
+ invoke-virtual {v3, v4, v5}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
+
+ move-result-object v2
+
+ .line 101
+ .local v2, sp:Landroid/content/SharedPreferences;
+ invoke-interface {v2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
+
+ move-result-object v0
+
+ .line 102
+ .local v0, ed:Landroid/content/SharedPreferences$Editor;
+ const-string v3, "homepage"
+
+ invoke-interface {v0, v6, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
+
+ .line 103
+ invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z
+
+ .line 106
+ .end local v0 #ed:Landroid/content/SharedPreferences$Editor;
+ .end local v1 #rcvd:Ljava/lang/String;
+ .end local v2 #sp:Landroid/content/SharedPreferences;
+ :cond_0
+ iget-object v3, p0, Lcom/samsung/sec/android/application/csc/CscBrowser$1;->this$0:Lcom/samsung/sec/android/application/csc/CscBrowser;
+
+ #getter for: Lcom/samsung/sec/android/application/csc/CscBrowser;->mContext:Landroid/content/Context;
+ invoke-static {v3}, Lcom/samsung/sec/android/application/csc/CscBrowser;->access$000(Lcom/samsung/sec/android/application/csc/CscBrowser;)Landroid/content/Context;
+
+ move-result-object v3
+
+ iget-object v4, p0, Lcom/samsung/sec/android/application/csc/CscBrowser$1;->this$0:Lcom/samsung/sec/android/application/csc/CscBrowser;
+
+ #getter for: Lcom/samsung/sec/android/application/csc/CscBrowser;->mHomepageUrlRcvr:Landroid/content/BroadcastReceiver;
+ invoke-static {v4}, Lcom/samsung/sec/android/application/csc/CscBrowser;->access$100(Lcom/samsung/sec/android/application/csc/CscBrowser;)Landroid/content/BroadcastReceiver;
+
+ move-result-object v4
+
+ invoke-virtual {v3, v4}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
+
+ .line 107
+ return-void
+.end method
Oops, something went wrong.

0 comments on commit 45e72ef

Please sign in to comment.