[TIMOB-2778] Android: add xhigh to the displayCaps getDensity() method
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T02:00:04.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.6.0 M06 |
| Components | Android |
| Labels | android, feature, release-1.6.0 |
| Reporter | Bill Dawson |
| Assignee | Don Thorp |
| Created | 2011-04-15T03:29:19.000+0000 |
| Updated | 2011-04-17T02:00:04.000+0000 |
Needs to go in before we ship 1.6.0.
Adding https://github.com/appcelerator/titanium_mobile/commit/89812897efec53a5efc687181599481f4348d928"> commit failed to auto update.
Your code looks right but I couldn't get "xhigh" to return correctly in a Gingerbread / 2.3.1 emulator I created w/ 320 dpi (it only returned high). Thoughts?
Might have to compile it as minSDK 9.
passing by inspection for now, we can reopen if/when we get a real emulator or device to test with