Commit e832b63
committed
Revert change to setInitialScale() to take display density into account.
Updated WebView documentation to clarify this behavior.
Additionally, if target-densityDpi is specified in the meta viewport
tag, update the display density in ZoomManager.
Bug: 5477652
Bug: 5327492
Change-Id: I176e87489f76a2ee6595d76a006e302b07595de11 parent 6a54a99 commit e832b63
File tree
4 files changed
+14
-5
lines changed- core/java/android/webkit
4 files changed
+14
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
| 802 | + | |
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
1344 | | - | |
| 1344 | + | |
1345 | 1345 | | |
1346 | 1346 | | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
1347 | 1351 | | |
1348 | 1352 | | |
1349 | 1353 | | |
| |||
2469 | 2473 | | |
2470 | 2474 | | |
2471 | 2475 | | |
2472 | | - | |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
2473 | 2479 | | |
2474 | 2480 | | |
2475 | 2481 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2336 | 2336 | | |
2337 | 2337 | | |
2338 | 2338 | | |
| 2339 | + | |
| 2340 | + | |
| 2341 | + | |
2339 | 2342 | | |
2340 | 2343 | | |
2341 | 2344 | | |
| |||
2546 | 2549 | | |
2547 | 2550 | | |
2548 | 2551 | | |
2549 | | - | |
| 2552 | + | |
2550 | 2553 | | |
2551 | 2554 | | |
2552 | 2555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| |||
0 commit comments