Skip to content

Commit

Permalink
Upload updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mochangming committed Jun 18, 2015
1 parent 92441e5 commit ebe467e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -821,11 +821,7 @@
invoke-direct {v0}, Landroid/content/Intent;-><init>()V

.local v0, "intent":Landroid/content/Intent;
const-string v1, "com.miui.framework"

const-string v2, "miui.accounts.MiuiChooseAccountTypeActivity"

invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
invoke-static {v0}, Landroid/accounts/ChooseTypeAndAccountActivityInjector;->toMiuiChooseAccountTypeActivity(Landroid/content/Intent;)V

const/high16 v1, 0x80000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13456,45 +13456,6 @@
return-void
.end method

.method private protectAppFromDeleting(Ljava/lang/String;Landroid/content/pm/IPackageDeleteObserver;)Z
.locals 3
.param p1, "packageName" # Ljava/lang/String;
.param p2, "observer" # Landroid/content/pm/IPackageDeleteObserver;

.prologue
iget-object v2, p0, Lcom/android/server/pm/PackageManagerService;->mPackages:Ljava/util/HashMap;

monitor-enter v2

:try_start_0
iget-object v1, p0, Lcom/android/server/pm/PackageManagerService;->mPackages:Ljava/util/HashMap;

invoke-virtual {v1, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

move-result-object v0

check-cast v0, Landroid/content/pm/PackageParser$Package;

.local v0, "p":Landroid/content/pm/PackageParser$Package;
invoke-static {v0, p2}, Lcom/android/server/pm/PackageManagerServiceInjector;->protectAppFromDeleting(Landroid/content/pm/PackageParser$Package;Ljava/lang/Object;)Z

move-result v1

monitor-exit v2

return v1

.end local v0 # "p":Landroid/content/pm/PackageParser$Package;
:catchall_0
move-exception v1

monitor-exit v2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0

throw v1
.end method

.method private readPermissionsFromXml(Ljava/io/File;)V
.locals 20
.param p1, "permFile" # Ljava/io/File;
Expand Down Expand Up @@ -28151,7 +28112,7 @@
return-void

:cond_1
invoke-direct {p0, p1, p2}, Lcom/android/server/pm/PackageManagerService;->protectAppFromDeleting(Ljava/lang/String;Landroid/content/pm/IPackageDeleteObserver;)Z
invoke-direct {p0, p1, p2}, Lcom/android/server/pm/MiuiPackageManagerService;->protectAppFromDeleting(Lcom/android/server/pm/PackageManagerService;Ljava/lang/String;Landroid/content/pm/IPackageDeleteObserver;)Z

move-result v0

Expand Down

0 comments on commit ebe467e

Please sign in to comment.