android_device_htc_click/market-patch.diff
2010-11-04 01:09:45 +01:00

75 lines
2.2 KiB
Diff

diff -ru com/android/vending/model/DeviceConfiguration$ScreenLayoutSize.smali com/android/vending/model/DeviceConfiguration$ScreenLayoutSize.smali
--- com/android/vending/model/DeviceConfiguration$ScreenLayoutSize.smali 2010-11-04 00:54:16.000000000 +0100
+++ com/android/vending/model/DeviceConfiguration$ScreenLayoutSize.smali 2010-11-04 00:55:05.000000000 +0100
@@ -48,7 +48,7 @@
const/4 v4, 0x2
- const/4 v3, 0x1
+ const/4 v3, 0x2
const/4 v2, 0x0
diff -ru com/android/vending/model/DeviceConfiguration.smali com/android/vending/model/DeviceConfiguration.smali
--- com/android/vending/model/DeviceConfiguration.smali 2010-11-04 00:54:16.000000000 +0100
+++ com/android/vending/model/DeviceConfiguration.smali 2010-11-04 00:55:05.000000000 +0100
@@ -1202,7 +1202,7 @@
.end method
.method public setScreenDensity(I)Lcom/android/vending/model/DeviceConfiguration;
- .registers 4
+ .registers 5
.parameter "screenDensity"
.prologue
@@ -1211,14 +1211,16 @@
const/4 v1, 0x7
- invoke-virtual {v0, v1, p1}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
+ const/16 v2, 0xa0
+
+ invoke-virtual {v0, v1, v2}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
.line 297
return-object p0
.end method
.method public setScreenHeight(I)Lcom/android/vending/model/DeviceConfiguration;
- .registers 4
+ .registers 5
.parameter "screenHeight"
.prologue
@@ -1227,7 +1229,9 @@
const/16 v1, 0xd
- invoke-virtual {v0, v1, p1}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
+ const/16 v2, 0x1e0
+
+ invoke-virtual {v0, v1, v2}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
.line 319
return-object p0
@@ -1254,7 +1258,7 @@
.end method
.method public setScreenWidth(I)Lcom/android/vending/model/DeviceConfiguration;
- .registers 4
+ .registers 5
.parameter "screenWidth"
.prologue
@@ -1263,7 +1267,9 @@
const/16 v1, 0xc
- invoke-virtual {v0, v1, p1}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
+ const/16 v2, 0x140
+
+ invoke-virtual {v0, v1, v2}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
.line 308
return-object p0