For now it only whitelists packages, not activities.
Test: atest CtsContentCaptureServiceTestCases
Bug: 122595322
Change-Id: I5beb9b027eb704510e68f3af15e84e14bda07eb2
Added ContextThemeWrapper#setTheme(Theme) method to programmatically
assign the theme without using a resource id
Change-Id: I043253e65a535abdf8d89d9421d2cff2b41bdb05
Fixes: 123768723
Test: Added CTS test to verify setTheme
Plus fixed a few minor TODOs.
Test: atest AugmentedLoginActivityTest
Test: m update-api
Bug: 122654591
Fixes: 123233342
Change-Id: Ie5040077255ffab8fee019ca6a0a122fe9f2e03d
Added public setter/getter APIs on View to set/get the track/thumb
Drawables for the vertical and horizontal scroll bars to support
configuring scrollbars programmatically in addition to xml
attributes
Change-Id: Ic0b42742e8a795fe616887369dd0e592cde5c2fa
Fixes: 123769505
Test: Added View.java test cases to verify new setter/getters
getAttributeResolutionStack was not enough for cases where View
subclasses called obtainstyledattributes with different defStyle values.
Bug: 111439551
Test: updated CTS tests
Change-Id: I81403bdfd5e6f6b34ce34824689d0cef9c32ae44
The test config has an option to use package filter, which does not
work with another TEST_MAPPING which has the same test but use a
class filter.
startop/view_compiler/TEST_MAPPING
Bug: 124248633
Test: none
Change-Id: Id989d9df8983e7a08be38616e92e10f70fe4846a
Setting this field with reflection leaves AccessibilityManager in
improper state. Restrict access to this field in future apis
Bug: b/124052733
Test: accessibility tests passed
Change-Id: I776e1092ab33cf9660f593a22585695c17852e1e
In LayoutInflater, sConstructorMap was marked with @UnsupportedAppUsage.
After doing some research, the main reason for accessing this appears to
be related to classloaders (fixed in CL=839342, method=verifyClassLoader).
As this is fixed and creating a public API for a cache doesn't seem
apropriate, dark grey listing it seems the best solution.
Bug: 123769490
Test: android.view.cts.LayoutInflaterTest
Change-Id: I104ce17bb4083f7049bbb512090b31f8360cb23b
This is a follow up CL to my previous CL [1], which declared that
InputMethodManger.showSoftInputUnchecked() was deprecated and should
have never be used any more.
At that time, however, we could not simply remove that hidden API
because android.support.v7.widget.SearchView had been used it via
reflection and the reflection code was already statically linked into
many apps in the ecosystem. What we could do at that time was getting
rid of this hidden API dependency from support lib v26 [2] and making
sure that a clear warning was shown in logcat if apps were still using
older support lib [3].
Almost two years later now, it's probably time to step forward towards
true deprecation of this hidden API. With this CL, apps that target
Q+ can no longer call this method.
[1]: I20983e4ce1d625e098a8c2335ce75994cfa43235
5cfc1b4c10
[2]: Iaac4673a85c141c787b96fb39806346ccfb85fb3
fd44fffced7cce36c1ce0d62dfe2542aa6a7c6e9
[3]: If01316a0c2a210f9ea03b53700d0ef651955ba9c
101ae464fc
Bug: 36015425
Fix: 123768499
Test: make -j checkbuild
Change-Id: Ie7362f62f1e947ee5a21b90f5150c69f2970d73d
Also makes "minScalingSpan" accessible to developers
via ViewConfiguration in case developers were accessing
mMinSpan in order to simply read the value of the field,
since that was previously the only way to read the value.
Fixes: 123768938
Test: android.view.cts.ViewConfigurationTest
Change-Id: Ib179aa153f00a55b6913c7497a1e43bd101f41d3