Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18767

Android: displayCaps.density returns "medium" on "xxxhigh" devices

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.5.1, Release 4.0.0
    • Fix Version/s: Release 4.0.0, Release 4.0.2
    • Component/s: Android
    • Labels:
      None
    • Environment:

      master

    • Sprint:
      2015 Sprint 07 SDK, 2015 Sprint 08 SDK

      Description

      Ti.Platform.displayCaps.density returns medium when the device is xxxhigh because the code doesn't check for 640 dpi and defaults to medium.

      Perhaps the logic could be made more future proof by defaulting to the highest if the dpi is > then the highest on record?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hpham Hieu Pham
                Reporter:
                fokkezb Fokke Zandbergen
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-19834
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code