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

Android: Galaxy S4 always returns Ti.Platform.displayCaps.density as 'medium'

    Details

      Description

      On Samsung Galaxy S4, Titanium API returns Ti.Platform.displayCaps.density as `medium`.

      Note: It has high resolution 1080 x 1920 pixels screen and high pixel density 441 ppi.

      Test Case:

      Ti.API.info("density: " + Ti.Platform.displayCaps.density);
      

      1. Run code, should see 'density: xxhigh'

        Attachments

          Activity

            People

            • Assignee:
              hpham Hieu Pham
              Reporter:
              mpathak Meenakshi Pathak
              Reviewer:
              Ping Wang
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code