Fix a bug in DrawShadow matrix calculation. Recorded matrix does
not need to be applied, because parent display lists have already
replayed matrix transformations.
Test: added a new HWUI unit test that is passing only after this fix
Bug: 33103723
Change-Id: I7a47dbe879df6b9e5920a47c0e1168d9902a3e70
Fixes an issue where swiping away a notification on AOD2 would
expose the next notification.
Bug: 34716110
Test: receive notification while phone is off, swipe away notification, verify that the next notification does not become visible
Change-Id: I2f8cab37912e6b1edcc129c994a7138c80da7af9
A bug could lead to the icon being hidden
even if it should not have been possible
Test: runtest systemui
Fixes: 34660898
Change-Id: Ia585c396462a371dd213f4de59217013fcc482e4
Local geomagnetic field strength, declination, inclination information
is useful for magnetometer calibration. It also benefits rotation
vector sensor implementation as it gives a baseline that aids detecting
magnetic field disturbance.
Bug: 30958130
Test: Tested with marlin. Modified hal implementation can get local
geomagnetic field.
Change-Id: I373fe74d5a091a3adb80ff3c61e441edcf5a253b
- When showing the menu via accessibility it will stay on screen until
the user focuses away, but exploring via talkback still sends
onUserInteraction() callbacks which would post it anew. We need to
save the timeout state whenever the menu is shown and check it there
as well.
Bug: 36103023
Test: Enter PIP with talk back, touch button but don't do anything for
the timeout (~4s), verify menu does not close.
Change-Id: I03ce14531fcde84440122bfb0fc70899f5178d5b
for normal web url resolution, we don't want to drop a log entry.
this is likely going to be too verbose [i.e. will drop a log for
every link clicked on in the browser].
Change-Id: I622b7f27ccebc440b837daa420e34c16ec0e2a4d
Fixes: 36563095
Test: Manual; resolve ephemeral links and see logs
Test: Manual; resolve non-ephemeral links and see no logs
The file has fallen out of date since it was fundamentally
updated in commit 50e9b86. This change brings it up to date
with 2017b.
This change also switches back to using zone.tab as a source
of time zone IDs. In commit 50e9b86 the source was switched
to zone1970.tab. Although this switch wouldn't have
meaningfully affected time zone calculations it does alter
the exemplar locations for automatically detected time zones.
This information may surfaced to users in some places and
can lead to confusion because zone1970.tab uses zones that
span multiple countries, while zone.tab zones tend to be
more local. Reverting should lead to a subtly better
localization experience.
During this work a number of unexpected differences between
zone.tab and zone1970.tab were uncovered. These have been
questioned upstream via the IANA mailing list on 31st March
2017.
Notable other updates:
Addition of Asia/Famagusta for Cyprus.
Addition of Asia/Atyrau for Kazakhstan.
Addition of Europe/Saratov for Russia.
The following have been queried with IANA and differ between
zone.tab and zone1970.tab:
Removal of Indian/Reunion for French Southern Territories
Removal of Pacific/Honolulu for United States Minor Outlying Islands
Removal of Asia/Bangkok for Vietnam.
Bug: 25338903
Test: Build / CtsUtilTestCases
(cherry picked from commit 11e51123865d0fdde39407e50038371d88fee302)
Change-Id: Ia5f078af704af06b1cc9ac456c9c2edde74eecfe
Migrate the value of NETWORK_SCORER_APP to the USE_OPEN_WIFI_PACKAGE
Setting if the following conditions are true:
* NETWORK_SCORER_APP has a value
* An active scorer/recommender is present.
* The active scorer specifies a valid UseOpenWifiActivity.
* The NETWORK_SCORER_APP value matches the package name of the
UseOpenWifiActivity or the active scorer.
Test: runtest frameworks-services -c com.android.server.NetworkScorerAppManagerTest
Bug: 36718516
Change-Id: I7d7a56c62b4a7f4a0e43824fbb2075e80d7a753b
Platform is now providing autofill feature. Disable WebView's simple
form data save feature for platform O and above.
Test: Removing the functionality and the test
Bug: 36869838
Change-Id: If6b9fc12edbe4146fca99d9c6ef8fde36d61f852
Typeface.NORMAL/BOLD/ITALIC/ITALIC_BOLD is used for specifying relative
from current Typeface. For example
Typeface face = Typeface.create("serif");
Typeface thickerFace = Typeface.create(face, Typeface.BOLD);
Typeface moreThickerFace = Typeface.create(tickerFace, Typface.BOLD);
For the purpose of providing font information, we should use weight/italic
value instead of style in Typeface.
The Columns.STYLE field was kept for preventing runtime crash of demo
apps.
Test: Manually
Change-Id: I732e8ee04a66f61321fc0a98dbfb8fdc0a4dd7a4
Note: BaseColumns(API 1) and BaseTvColumns(API 21) remains public due to
the backward compatability. Plus, inheritence between BaseProgramColumns
and BasePreviewColumns is also removed to follow patterns in other
Contracts.
Test: cts-tradefed run cts -m CtsTvTestCases -t android.media.tv.cts.TvContractTest
Bug: 36395855
Change-Id: Ie73a2e48217676be53f373f8524afd04f7d8fc37
Change-Id: I9d91e9080b99690ff1e50dc28b01df0dcda4e97a
Fixes: 36566927
Test: Manual; stop gms:persistent process using "kill -9"
Test: Manual; stop process using "adb shell am force-stop com.google.android.gms"
Test: Manual; stop process using "adb install -r PrebuiltGmsCore.apk"
The shared libraries for the package need to be updated before calling
performDexOpt so that they can be populated and passed down to dexOpt.
This isn't missing in the AOSP version, so the fix is only for master.
Bug: 36698836
Test: cts-tradefed run singleCommand cts -d --module
CtsAppSecurityHostTestCases -t
android.appsecurity.cts.UsesLibraryHostTest
Change-Id: Id58bd50a13e5115af03c9167d4eb7f4b1d1dc9da
(cherry picked from commit 1d643dabe543f3f1b7d96485d6317eece7836a4e)
Will need a better optimization written by someone who knows the
code better than me.
Bug: 36099320
Test: Try to change theme, twice
Change-Id: Ief50bb98725de5a281c13d6d6572867925228d62
This is fixed in Skia by passing the appropriate flag when the shader is
generated. The fix in HWUI is to reverse the premultiplication and
interpolation steps.
Test: bit CtsUiRenderingTestCases:.testclasses.ShaderTests
Bug: 34323783
Change-Id: I3417141949f62fcc696b6d8213a4b446d7d0cbf8
Allows enabling/disabling IMEs on TV.
Moves InputMethodPreference to SettingsLib.
Also minor code tidying
Bug: 36079941
Test: Keyboard settings still work on Fugu and Ryu
Change-Id: I0c7e66c10ca9fe7404dc8e1e384922a7e37f5f5a
(cherry picked from commit 1bb992d802330ad127dab2dbefadd4dd9c739152)
Also warns when LayerDrawable is created with an invalid child. This
is not guaranteed to fail, but it's usually a bad sign.
Bug: 33124798
Test: LayerDrawableTest, DrawableContainerTest
Change-Id: Ie3e4200b27a9814cee7f5711d7df9710db513953
Changes the logic of getEphemeralResolverSettingsLPr() to resolve
a settings component in any of the packages whitelisted to provide
the instant apps installer.
Test: Boots
Bug: 36840581
Change-Id: Iac5e3dfa2cb97a630092212322f9c983c2d29926
(cherry picked from commit d4310934905aea48079dd5e3a590cd4e2427dcac)