Permalink
Browse files

merge smali files

Change-Id: Id78b6a37fd2d23f47a09b106213edb1e2a5dfddb
Signed-off-by: wangwei_b <wangwei_b@xiaomi.com>
  • Loading branch information...
1 parent 537f1a9 commit 7548751e9ceefd5f19b7f196b6c85d5d2c61f006 @HackerMi HackerMi committed Sep 6, 2012
Showing with 9,424 additions and 11,406 deletions.
  1. +4 −4 BlurCamera/smali/com/motorola/Camera/CameraGlobalTools.smali
  2. +0 −12 MediaProvider/smali/com/android/providers/media/MediaProvider.smali
  3. +2 −2 android.policy.jar.out/smali/com/android/internal/policy/impl/KeyguardStatusViewManager$4.smali
  4. +48 −1 android.policy.jar.out/smali/com/android/internal/policy/impl/KeyguardUpdateMonitor$SimArgs.smali
  5. +13 −0 android.policy.jar.out/smali/com/android/internal/policy/impl/KeyguardViewBase.smali
  6. +85 −14 android.policy.jar.out/smali/com/android/internal/policy/impl/KeyguardViewManager.smali
  7. +15 −15 android.policy.jar.out/smali/com/android/internal/policy/impl/KeyguardViewMediator.smali
  8. +4 −1 android.policy.jar.out/smali/com/android/internal/policy/impl/LockPatternKeyguardView$1.smali
  9. +5 −3 android.policy.jar.out/smali/com/android/internal/policy/impl/LockPatternKeyguardView$3.smali
  10. +1 −1 android.policy.jar.out/smali/com/android/internal/policy/impl/LockPatternKeyguardView$4.smali
  11. +99 −62 android.policy.jar.out/smali/com/android/internal/policy/impl/LockPatternKeyguardView.smali
  12. +83 −17 android.policy.jar.out/smali/com/android/internal/policy/impl/PasswordUnlockScreen.smali
  13. +12 −3 android.policy.jar.out/smali/com/android/internal/policy/impl/PhoneFallbackEventHandler.smali
  14. +105 −1 android.policy.jar.out/smali/com/android/internal/policy/impl/PhoneWindow$DecorView.smali
  15. +80 −1 android.policy.jar.out/smali/com/android/internal/policy/impl/PhoneWindow.smali
  16. +3 −2 android.policy.jar.out/smali/com/android/internal/policy/impl/PhoneWindowManager$23$1.smali
  17. +4 −2 android.policy.jar.out/smali/com/android/internal/policy/impl/PhoneWindowManager$23.smali
  18. +38 −19 android.policy.jar.out/smali/com/android/internal/policy/impl/PhoneWindowManager.smali
  19. +8 −6 android.policy.jar.out/smali/com/android/internal/policy/impl/Policy.smali
  20. +30 −3 framework-ext.jar.out/smali/com/android/internal/app/ShutdownThread$CloseDialogReceiver.smali
  21. +158 −8 framework-ext.jar.out/smali/com/android/internal/app/ShutdownThread.smali
  22. +3 −12 framework-ext.jar.out/smali/com/android/internal/os/RuntimeInit.smali
  23. +2 −6 framework-ext.jar.out/smali/com/android/internal/telephony/AdnRecord.smali
  24. +44 −11 framework-ext.jar.out/smali/com/android/internal/telephony/AdnRecordCache.smali
  25. +18 −18 framework-ext.jar.out/smali/com/android/internal/telephony/CallerInfo.smali
  26. +8 −0 ...r.out/smali/com/android/internal/telephony/CallerInfoAsyncQuery$CallerInfoAsyncQueryHandler.smali
  27. +31 −1 framework-ext.jar.out/smali/com/android/internal/telephony/CallerInfoAsyncQuery.smali
  28. +54 −3 framework-ext.jar.out/smali/com/android/internal/telephony/DataConnectionTracker.smali
  29. +3 −0 framework-ext.jar.out/smali/com/android/internal/telephony/IIccPhoneBook$Stub.smali
  30. +26 −0 framework-ext.jar.out/smali/com/android/internal/telephony/IccPhoneBookInterfaceManagerProxy.smali
  31. +36 −36 framework-ext.jar.out/smali/com/android/internal/telephony/IccProvider.smali
  32. +55 −4 framework-ext.jar.out/smali/com/android/internal/telephony/SMSDispatcher.smali
  33. +13 −3 framework-ext.jar.out/smali/com/android/internal/telephony/SmsUsageMonitor.smali
  34. +40 −2 framework-ext.jar.out/smali/com/android/internal/telephony/WapPushOverSms.smali
  35. +2 −11 framework-ext.jar.out/smali/com/android/internal/telephony/cdma/CdmaConnection.smali
  36. +92 −0 framework-ext.jar.out/smali/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.smali
  37. +128 −432 framework-ext.jar.out/smali/com/android/internal/telephony/gsm/GsmDataConnectionTracker.smali
  38. +43 −3 framework-ext.jar.out/smali/com/android/internal/telephony/gsm/GsmServiceStateTracker.smali
  39. +40 −14 framework-ext.jar.out/smali/com/android/internal/telephony/gsm/SIMRecords.smali
  40. +8 −0 framework-ext.jar.out/smali/com/android/internal/view/menu/ActionMenuItemView.smali
  41. +1 −29 framework-ext.jar.out/smali/com/android/internal/view/menu/ActionMenuPresenter.smali
  42. +75 −10 framework-ext.jar.out/smali/com/android/internal/view/menu/ActionMenuView.smali
  43. +26 −0 framework-ext.jar.out/smali/com/android/internal/view/menu/MenuItemImpl.smali
  44. +50 −4 framework-ext.jar.out/smali/com/android/internal/widget/ActionBarContainer.smali
  45. +42 −83 framework-ext.jar.out/smali/com/android/internal/widget/ActionBarView$HomeView.smali
  46. +42 −1 framework-ext.jar.out/smali/com/android/internal/widget/LockPatternUtils$PasswordFileObserver.smali
  47. +62 −2 framework-ext.jar.out/smali/com/android/internal/widget/LockPatternUtils.smali
  48. +2 −3 framework-ext.jar.out/smali/com/android/internal/widget/ScrollingTabContainerView.smali
  49. +3 −3 framework-ext.jar.out/smali/com/android/internal/widget/multiwaveview/Ease$Quad.smali
  50. +2 −2 framework-ext.jar.out/smali/com/android/internal/widget/multiwaveview/Ease.smali
  51. +89 −180 framework-ext.jar.out/smali/com/android/internal/widget/multiwaveview/MultiWaveView.smali
  52. +2 −2 framework-ext.jar.out/smali/com/android/internal/widget/multiwaveview/Tweener.smali
  53. +1,664 −4,213 framework-ext.jar.out/smali/com/google/android/mms/pdu/PduParser.smali
  54. +2,250 −3,038 framework-ext.jar.out/smali/com/google/android/mms/pdu/PduPersister.smali
  55. +1 −1 framework-res/res/values-de/plurals.xml
  56. +1 −1 framework-res/res/values-en-rGB/plurals.xml
  57. +1 −1 framework-res/res/values-es/plurals.xml
  58. +1 −1 framework-res/res/values-fr/plurals.xml
  59. +1 −1 framework-res/res/values-it/plurals.xml
  60. +1 −1 framework-res/res/values-th/plurals.xml
  61. +1 −1 framework-res/res/values-tl/plurals.xml
  62. +1 −1 framework-res/res/values-vi/plurals.xml
  63. +1 −1 framework-res/res/values-zh-rCN/plurals.xml
  64. +1 −1 framework-res/res/values-zh-rTW/plurals.xml
  65. +7 −1 framework-res/res/values/arrays.xml
  66. +1 −1 framework-res/res/values/plurals.xml
  67. +2 −2 framework.jar.out/smali/android/accounts/AccountManagerService.smali
  68. +27 −4 framework.jar.out/smali/android/app/Activity.smali
  69. +3 −7 framework.jar.out/smali/android/app/ActivityManager.smali
  70. +29 −19 framework.jar.out/smali/android/app/ActivityThread.smali
  71. +1 −1 framework.jar.out/smali/android/app/ApplicationPackageManager$ResourceName.smali
  72. +22 −14 framework.jar.out/smali/android/app/ApplicationPackageManager.smali
  73. +3 −4 framework.jar.out/smali/android/app/ContextImpl$12.smali
  74. +73 −5 framework.jar.out/smali/android/app/ContextImpl.smali
  75. +22 −14 framework.jar.out/smali/android/app/DownloadManager$CursorTranslator.smali
  76. +49 −9 framework.jar.out/smali/android/app/DownloadManager$Query.smali
  77. +1 −1 framework.jar.out/smali/android/app/DownloadManager.smali
  78. +12 −6 framework.jar.out/smali/android/app/LoadedApk.smali
  79. +2 −0 framework.jar.out/smali/android/content/pm/ApplicationInfo.smali
  80. +4 −2 framework.jar.out/smali/android/content/pm/PackageItemInfo.smali
  81. +4 −0 framework.jar.out/smali/android/content/pm/PackageManager.smali
  82. +86 −13 framework.jar.out/smali/android/content/pm/PackageParser.smali
  83. +2 −0 framework.jar.out/smali/android/content/pm/ParceledListSlice$1.smali
  84. +46 −6 framework.jar.out/smali/android/content/pm/ResolveInfo.smali
  85. +4 −20 framework.jar.out/smali/android/content/res/AssetManager.smali
  86. +101 −155 framework.jar.out/smali/android/content/res/Configuration.smali
  87. +2 −2 framework.jar.out/smali/android/content/res/Resources$Theme.smali
  88. +58 −20 framework.jar.out/smali/android/content/res/Resources.smali
  89. +2 −2 framework.jar.out/smali/android/graphics/drawable/AnimationDrawable$AnimationState.smali
  90. +1 −1 framework.jar.out/smali/android/graphics/drawable/AnimationDrawable.smali
  91. +8 −13 framework.jar.out/smali/android/graphics/drawable/DrawableContainer$DrawableContainerState.smali
  92. +6 −0 framework.jar.out/smali/android/graphics/drawable/NinePatchDrawable.smali
  93. +4 −4 framework.jar.out/smali/android/media/AudioService$AudioSystemThread.smali
  94. +36 −21 framework.jar.out/smali/android/media/AudioService.smali
  95. +43 −47 framework.jar.out/smali/android/media/MediaFile.smali
  96. +2 −14 framework.jar.out/smali/android/net/NetworkPolicyManager.smali
  97. +2 −8 framework.jar.out/smali/android/net/Proxy.smali
  98. +28 −11 framework.jar.out/smali/android/net/http/AndroidHttpClient.smali
  99. +62 −257 framework.jar.out/smali/android/net/wifi/WifiApConfigStore.smali
  100. +1 −1 framework.jar.out/smali/android/net/wifi/WifiStateMachine$ConnectModeState.smali
  101. +2 −2 framework.jar.out/smali/android/net/wifi/WifiStateMachine$ConnectingState.smali
  102. +1 −8 framework.jar.out/smali/android/net/wifi/WifiStateMachine.smali
  103. +8 −2 framework.jar.out/smali/android/os/RecoverySystem.smali
  104. +11 −0 framework.jar.out/smali/android/os/Vibrator.smali
  105. +32 −4 framework.jar.out/smali/android/preference/CheckBoxPreference.smali
  106. +6 −0 framework.jar.out/smali/android/preference/RingtonePreference.smali
  107. +54 −4 framework.jar.out/smali/android/provider/CallLog$Calls.smali
  108. +15 −12 framework.jar.out/smali/android/telephony/PhoneNumberUtils.smali
  109. +711 −30 framework.jar.out/smali/android/telephony/SignalStrength.smali
  110. +2 −13 framework.jar.out/smali/android/telephony/TelephonyManager.smali
  111. +9 −2 framework.jar.out/smali/android/text/format/DateFormat.smali
  112. +5 −5 framework.jar.out/smali/android/text/util/Linkify.smali
  113. +3 −0 framework.jar.out/smali/android/view/HapticFeedbackConstants.smali
  114. +46 −494 framework.jar.out/smali/android/view/View.smali
  115. +94 −0 framework.jar.out/smali/android/view/ViewRootImpl.smali
  116. +1 −3 framework.jar.out/smali/android/view/WindowOrientationListener.smali
  117. +2 −2 framework.jar.out/smali/android/webkit/HTML5VideoViewProxy$VideoPlayer.smali
  118. +77 −2 framework.jar.out/smali/android/widget/AbsListView.smali
  119. +3 −1 framework.jar.out/smali/android/widget/LinearLayout.smali
  120. +8 −12 framework.jar.out/smali/android/widget/QuickContactBadge$QueryHandler.smali
  121. +51 −48 framework.jar.out/smali/android/widget/QuickContactBadge.smali
  122. +21 −3 framework.jar.out/smali/android/widget/RemoteViews.smali
  123. +1 −9 framework.jar.out/smali/android/widget/SuggestionsAdapter.smali
  124. +36 −0 framework.jar.out/smali/android/widget/TextView.smali
  125. +4 −4 framework.jar.out/smali/android/widget/TimePicker$4.smali
  126. +4 −4 framework.jar.out/smali/android/widget/TimePicker$5.smali
  127. +4 −10 framework.jar.out/smali/android/widget/TimePicker.smali
  128. +10 −0 framework.jar.out/smali/android/widget/Toast$TN.smali
  129. +20 −0 framework.jar.out/smali/android/widget/Toast.smali
  130. +27 −0 services.jar.out/smali/com/android/server/AppWidgetService$3.smali
  131. +14 −6 services.jar.out/smali/com/android/server/AppWidgetService.smali
  132. +173 −142 services.jar.out/smali/com/android/server/BackupManagerService$1.smali
  133. +10 −10 services.jar.out/smali/com/android/server/BackupManagerService$BackupHandler.smali
  134. +1 −9 services.jar.out/smali/com/android/server/BackupManagerService$FullBackupParams.smali
  135. +1 −4 services.jar.out/smali/com/android/server/BackupManagerService$FullRestoreParams.smali
  136. +2 −8 services.jar.out/smali/com/android/server/BackupManagerService$PerformFullBackupTask.smali
  137. +2 −5 services.jar.out/smali/com/android/server/BackupManagerService$PerformFullRestoreTask.smali
  138. +375 −940 services.jar.out/smali/com/android/server/BackupManagerService.smali
  139. +78 −13 services.jar.out/smali/com/android/server/BatteryService.smali
  140. +22 −1 services.jar.out/smali/com/android/server/ConnectivityService.smali
  141. +10 −10 services.jar.out/smali/com/android/server/LightsService$Light.smali
  142. +1 −1 services.jar.out/smali/com/android/server/LightsService.smali
  143. +103 −0 services.jar.out/smali/com/android/server/NotificationManagerService.smali
  144. +55 −7 services.jar.out/smali/com/android/server/PowerManagerService.smali
  145. +4 −9 services.jar.out/smali/com/android/server/ServerThread.smali
  146. +59 −36 services.jar.out/smali/com/android/server/UiModeManagerService.smali
  147. +2 −2 services.jar.out/smali/com/android/server/WifiService.smali
  148. +13 −3 services.jar.out/smali/com/android/server/am/ActivityManagerService$2.smali
  149. +113 −40 services.jar.out/smali/com/android/server/am/ActivityManagerService.smali
  150. +10 −0 services.jar.out/smali/com/android/server/am/ActivityStack.smali
  151. +55 −3 services.jar.out/smali/com/android/server/am/AppErrorDialog$1.smali
  152. +35 −7 services.jar.out/smali/com/android/server/am/AppErrorDialog.smali
  153. +17 −4 services.jar.out/smali/com/android/server/am/AppNotRespondingDialog$1.smali
  154. +1 −6 services.jar.out/smali/com/android/server/am/BaseErrorDialog.smali
  155. +39 −0 services.jar.out/smali/com/android/server/location/GpsLocationProvider.smali
  156. +81 −453 services.jar.out/smali/com/android/server/net/NetworkPolicyManagerService.smali
  157. +1 −3 services.jar.out/smali/com/android/server/pm/GrantedPermissions.smali
  158. +75 −0 services.jar.out/smali/com/android/server/pm/PackageManagerService$PackageHandler.smali
  159. +269 −9 services.jar.out/smali/com/android/server/pm/PackageManagerService.smali
  160. +12 −1 services.jar.out/smali/com/android/server/pm/Settings.smali
  161. +1 −2 services.jar.out/smali/com/android/server/usb/UsbDeviceManager$UsbHandler.smali
  162. +3 −0 services.jar.out/smali/com/android/server/wm/WindowManagerService.smali
@@ -3128,7 +3128,7 @@
move-result v6
- if-eqz v6, :cond_3
+ #if-eqz v6, :cond_3
.line 143
sget-object v6, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;
@@ -3141,7 +3141,7 @@
invoke-virtual {v1, v6}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
.line 145
- const-string v6, "com.motorola.contracts.gallery.Intent.ActionBrowseImage"
+ const-string v6, "android.intent.action.VIEW"
invoke-virtual {v1, v6}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
@@ -3150,7 +3150,7 @@
const-string v7, "com.motorola.cgallery.BrowseImages"
- invoke-virtual {v1, v6, v7}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
+ #invoke-virtual {v1, v6, v7}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
goto :goto_1
@@ -3177,7 +3177,7 @@
const-string v7, "com.motorola.gallery.ExternalViewImage"
- invoke-virtual {v1, v6, v7}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
+ #invoke-virtual {v1, v6, v7}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
goto :goto_1
@@ -7482,23 +7482,11 @@
move-result-object v50
- .line 3083
.local v50, title:Ljava/lang/String;
if-nez v50, :cond_3
if-eqz v10, :cond_3
- .line 3084
- invoke-static {v10}, Landroid/media/MediaFile;->getFileTypeByPath(Ljava/lang/String;)I
-
- move-result v3
-
- invoke-static {v3}, Landroid/media/MediaFile;->isAudioFileType(I)Z
-
- move-result v3
-
- if-eqz v3, :cond_3
-
.line 3085
invoke-static {v10}, Landroid/media/MediaFile;->getFileTitle(Ljava/lang/String;)Ljava/lang/String;
@@ -144,7 +144,7 @@
move-result-object v1
- invoke-interface {v0, v1}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->showToastMessage(Ljava/lang/String;)V
+ #invoke-interface {v0, v1}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->showToastMessage(Ljava/lang/String;)V
.line 1050
const/4 v0, 0x1
@@ -203,7 +203,7 @@
move-result-object v1
- invoke-interface {v0, v1}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->showToastMessage(Ljava/lang/String;)V
+ #invoke-interface {v0, v1}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->showToastMessage(Ljava/lang/String;)V
.line 1031
const/4 v0, 0x0
@@ -301,7 +301,9 @@
.line 213
.end local v2 #state:Lcom/android/internal/telephony/IccCard$State;
:cond_c
- sget-object v2, Lcom/android/internal/telephony/IccCard$State;->UNKNOWN:Lcom/android/internal/telephony/IccCard$State;
+ invoke-static {v3}, Lcom/android/internal/policy/impl/KeyguardUpdateMonitor$SimArgs;->getIccCardState(Ljava/lang/String;)Lcom/android/internal/telephony/IccCard$State;
+
+ move-result-object v2
.restart local v2 #state:Lcom/android/internal/telephony/IccCard$State;
goto :goto_0
@@ -322,3 +324,48 @@
return-object v0
.end method
+
+.method private static getIccCardState(Ljava/lang/String;)Lcom/android/internal/telephony/IccCard$State;
+ .locals 2
+ .parameter "stateExtra"
+ .annotation build Landroid/annotation/MiuiHook;
+ value = .enum Landroid/annotation/MiuiHook$MiuiHookType;->NEW_METHOD:Landroid/annotation/MiuiHook$MiuiHookType;
+ .end annotation
+
+ .prologue
+ const-string v1, "IMSI"
+
+ invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
+
+ move-result v1
+
+ if-eqz v1, :cond_0
+
+ sget-object v0, Lcom/android/internal/telephony/IccCard$State;->READY:Lcom/android/internal/telephony/IccCard$State;
+
+ .local v0, state:Lcom/android/internal/telephony/IccCard$State;
+ :goto_0
+ return-object v0
+
+ .end local v0 #state:Lcom/android/internal/telephony/IccCard$State;
+ :cond_0
+ const-string v1, "LOADED"
+
+ invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
+
+ move-result v1
+
+ if-eqz v1, :cond_1
+
+ sget-object v0, Lcom/android/internal/telephony/IccCard$State;->READY:Lcom/android/internal/telephony/IccCard$State;
+
+ .restart local v0 #state:Lcom/android/internal/telephony/IccCard$State;
+ goto :goto_0
+
+ .end local v0 #state:Lcom/android/internal/telephony/IccCard$State;
+ :cond_1
+ sget-object v0, Lcom/android/internal/telephony/IccCard$State;->UNKNOWN:Lcom/android/internal/telephony/IccCard$State;
+
+ .restart local v0 #state:Lcom/android/internal/telephony/IccCard$State;
+ goto :goto_0
+.end method
@@ -491,3 +491,16 @@
.method public abstract wakeWhenReadyTq(I)V
.end method
+
+.method public isDisplayDesktop()Z
+ .locals 1
+ .annotation build Landroid/annotation/MiuiHook;
+ value = .enum Landroid/annotation/MiuiHook$MiuiHookType;->NEW_METHOD:Landroid/annotation/MiuiHook$MiuiHookType;
+ .end annotation
+
+ .prologue
+ const/4 v0, 0x0
+
+ return v0
+.end method
+
@@ -59,7 +59,7 @@
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/view/ViewManager;Lcom/android/internal/policy/impl/KeyguardViewCallback;Lcom/android/internal/policy/impl/KeyguardViewProperties;Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;)V
- .locals 2
+ .locals 3
.parameter "context"
.parameter "viewManager"
.parameter "callback"
@@ -75,8 +75,13 @@
.line 59
iput-boolean v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mNeedsInput:Z
+ new-instance v0, Landroid/view/ContextThemeWrapper;
+
+ const v2, 0x103006b
+
+ invoke-direct {v0, p1, v2}, Landroid/view/ContextThemeWrapper;-><init>(Landroid/content/Context;I)V
.line 79
- iput-object p1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mContext:Landroid/content/Context;
+ iput-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mContext:Landroid/content/Context;
.line 80
iput-object p2, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mViewManager:Landroid/view/ViewManager;
@@ -529,7 +534,7 @@
if-nez v1, :cond_8
.line 138
- const v4, 0x10100800
+ const v4, 0x10100900
.line 143
.local v4, flags:I
@@ -628,6 +633,10 @@
.line 171
:cond_4
+ const/4 v1, 0x1
+
+ iput v1, v0, Landroid/view/WindowManager$LayoutParams;->screenOrientation:I
+
iget v1, v0, Landroid/view/WindowManager$LayoutParams;->privateFlags:I
or-int/lit8 v1, v1, 0x8
@@ -736,53 +745,45 @@
if-eqz v1, :cond_a
- .line 206
iget-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;
invoke-virtual {v1, p1}, Lcom/android/internal/policy/impl/KeyguardViewBase;->show(I)V
- .line 218
.end local v0 #lp:Landroid/view/ViewGroup$LayoutParams;
:cond_6
:goto_2
const/high16 v9, 0x60
- .line 222
.local v9, visFlags:I
iget-boolean v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mPowerupAlarmRtc:Z
if-ne v1, v10, :cond_7
- .line 224
or-int/2addr v9, v11
- .line 225
const/high16 v1, 0x1
or-int/2addr v9, v1
- .line 226
const/high16 v1, 0x8
or-int/2addr v9, v1
- .line 227
or-int/2addr v9, v12
- .line 228
sget-object v1, Lcom/android/internal/policy/impl/KeyguardViewManager;->TAG:Ljava/lang/String;
const-string v2, "Disable more in StatusBar for AlarmScreen mode. "
invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
- .line 230
:cond_7
iget-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;
invoke-virtual {v1, v9}, Landroid/widget/FrameLayout;->setSystemUiVisibility(I)V
- .line 232
+ invoke-direct {p0}, Lcom/android/internal/policy/impl/KeyguardViewManager;->updateDisplayDesktopFlag()V
+
iget-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mViewManager:Landroid/view/ViewManager;
iget-object v2, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;
@@ -848,7 +849,7 @@
:try_start_2
iget-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;
- const/4 v2, 0x5
+ const/4 v2, 0x1
iput v2, v1, Landroid/view/WindowManager$LayoutParams;->screenOrientation:I
@@ -934,3 +935,73 @@
goto :goto_0
.end method
+
+.method private updateDisplayDesktopFlag()V
+ .locals 3
+ .annotation build Landroid/annotation/MiuiHook;
+ value = .enum Landroid/annotation/MiuiHook$MiuiHookType;->NEW_METHOD:Landroid/annotation/MiuiHook$MiuiHookType;
+ .end annotation
+
+ .prologue
+ iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;
+
+ invoke-virtual {v0}, Lcom/android/internal/policy/impl/KeyguardViewBase;->isDisplayDesktop()Z
+
+ move-result v0
+
+ if-eqz v0, :cond_0
+
+ iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardViewProperties:Lcom/android/internal/policy/impl/KeyguardViewProperties;
+
+ invoke-interface {v0}, Lcom/android/internal/policy/impl/KeyguardViewProperties;->isSecure()Z
+
+ move-result v0
+
+ if-nez v0, :cond_0
+
+ iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;
+
+ iget v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I
+
+ const v2, -0x100001
+
+ and-int/2addr v1, v2
+
+ iput v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I
+
+ iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;
+
+ iget v1, v0, Landroid/view/WindowManager$LayoutParams;->privateFlags:I
+
+ const/high16 v2, 0x4000
+
+ or-int/2addr v1, v2
+
+ iput v1, v0, Landroid/view/WindowManager$LayoutParams;->privateFlags:I
+
+ :goto_0
+ return-void
+
+ :cond_0
+ iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;
+
+ iget v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I
+
+ const/high16 v2, 0x10
+
+ or-int/2addr v1, v2
+
+ iput v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I
+
+ iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;
+
+ iget v1, v0, Landroid/view/WindowManager$LayoutParams;->privateFlags:I
+
+ const v2, -0x40000001
+
+ and-int/2addr v1, v2
+
+ iput v1, v0, Landroid/view/WindowManager$LayoutParams;->privateFlags:I
+
+ goto :goto_0
+.end method
Oops, something went wrong.

0 comments on commit 7548751

Please sign in to comment.