OSDN Git Service

Allow max aspect ratio to be specified by meta-data tag.
authorBryce Lee <brycelee@google.com>
Fri, 7 Jul 2017 22:54:18 +0000 (15:54 -0700)
committerBryce Lee <brycelee@google.com>
Wed, 12 Jul 2017 17:16:50 +0000 (10:16 -0700)
commit22571db5a6f2f24720ab33adf920b64a9725e6eb
tree4ee6526a0e89a511cf77626ab056ce0cb2a129a0
parent2f87ca16377a0069d473edb38d199b701181ec49
Allow max aspect ratio to be specified by meta-data tag.

This changelist identifies aspect ratios set via meta-data tags on
the activity or application and applies them to the proper scope.
Values specified via styled attribute take precedence, and values
specified by the activity take priority over values in at the
application level.

Fixes: 63386222
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsAppTestCases android.app.cts.AspectRatioTests
Test: go/wm-smoke
Change-Id: I0d8d6b2778e7fc12bb9feb85c651e5ec22927f5f
core/java/android/content/pm/PackageParser.java