17373 Commits

Author SHA1 Message Date
Casey Burkhardt
5e8b980c5d Target selection for Accessibility button
Allows for selecting a single accessibility service or feature
to be triggered by the accessibility button in the navigation bar

Bug: 34720082
Test: Manual
Change-Id: I320febede0398b1eff38a87d4db31fd7dfc53062
2017-03-24 19:17:12 -07:00
TreeHugger Robot
84acb2e042 Merge "Added support for maxAspectRatio manifest attribute." 2017-03-24 22:42:16 +00:00
Phil Weaver
582fae1cf4 Merge "Restructure a11y shortcut settings" 2017-03-24 22:31:18 +00:00
Wale Ogunwale
55ddf8f9e5 Added support for maxAspectRatio manifest attribute.
- Allows an app to specify the maximum aspect ratio it supports.
- Support for overriding configuration and bounds at the activity
record and app window token level.

Test: cts/.../run-test CtsAppTestCases android.app.cts.AspectRatioTests
Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerTests
Test: bit FrameworksServicesTests:com.android.server.wm.WindowFrameTests
Bug: 36505427
Bug: 33205955
Bug: 35810513
Change-Id: Ib2d46ed0c546dd903d09d6bb7162a98bd390ba81
2017-03-24 13:48:40 -07:00
Lei Yu
a635e8d18d Merge "Add theme Theme.DeviceDefault.Settings.Dialog.NoActionBar" 2017-03-24 20:01:29 +00:00
Charles He
6111298d81 Enterprise string clean-up for O
Bug: 34326838
Test: make
Change-Id: I70db223ea4ef77e791eb7ce98638909442a593aa
2017-03-24 11:36:34 +00:00
TreeHugger Robot
81b034d4f8 Merge "Added shadow to RemoteViews used by authentication requests." 2017-03-24 07:26:05 +00:00
Felipe Leme
17b3afcb7e Added shadow to RemoteViews used by authentication requests.
Also removed obsolete autofill symbols and dimensions.

Fixes: 36492836
Bug: 36569941

Test: visual verification
Test: CtsAutoFillServiceTestCases pass

Change-Id: Id8169358bf426af5d70a82fa315e92304d06c159
2017-03-23 19:54:59 -07:00
TreeHugger Robot
c5bab3f695 Merge "Minor string change to screen pinning" 2017-03-24 02:39:32 +00:00
Jaewan Kim
92477b88c4 Merge "PIP: Move TV PIP location to the bottom right" 2017-03-24 00:44:07 +00:00
Doris Xi
0b121ab010 Merge "Notification for MM reject cause code" into stage-aosp-master am: 9febdd0e9a
am: 0fe66163f0

Change-Id: Ibc29f409049cf24f83078d170d9979831e550943
2017-03-23 19:41:54 +00:00
Doris Xi
0fe66163f0 Merge "Notification for MM reject cause code" into stage-aosp-master
am: 9febdd0e9a

Change-Id: I3ee98f4869c8e1dc08d4ca9dd5ea0c81848b2165
2017-03-23 19:36:20 +00:00
Jason Monk
be124fdca4 Minor string change to screen pinning
Change-Id: I0e601923afaa1aa2187e51c574b6261f8dac6e1f
Fixes: 32192150
Test: visual
2017-03-23 13:25:58 -04:00
Doris Xi
98b90a866a Notification for MM reject cause code
Display notification when UE fails to register network with specific
reject cause code. Define strings for each reject cause code and add
icon to be shown in notification.

Test: manual with simulated RIL
Bug: 28923693
Change-Id: I95d5d768b6daa49a59d34e2af8cb1d225362f0a8
2017-03-23 09:38:00 -07:00
TreeHugger Robot
b64a98e3e6 Merge "Provide docs for the XML attributes related to fonts" 2017-03-23 16:05:34 +00:00
TreeHugger Robot
a7a3830d6c Merge "Import translations. DO NOT MERGE" 2017-03-23 15:55:47 +00:00
Clara Bayarri
c0605bb0d9 Provide docs for the XML attributes related to fonts
Test: none
Bug: 35763094, 35763904, 35763272
Change-Id: I01a5a3add755143903363bf47dcfe6dd986b9a28
2017-03-23 13:48:14 +00:00
Bill Yi
d34c2f9532 Import translations. DO NOT MERGE
Change-Id: Ib7c9e0e8ddae61448eb54bc87493537577ef45d8
Auto-generated-cl: translation import
2017-03-23 00:24:52 -07:00
Jaewan Kim
58a4b11a24 PIP: Move TV PIP location to the bottom right
Bug: 36275692
Test: Manual test (video is attached to the issue)
Change-Id: I3fc4c5238f82f2db732653e162893f2d573b110d
2017-03-23 13:51:42 +09:00
Makoto Onuki
4120ee3d44 Add ACTION_USER_RESTRICTIONS_CHANGED to protetced-broadcast.
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsDevicePolicyManagerTestCases -t 'com.android.cts.devicepolicy.UserRestrictionsTest#testUserRestrictions_deviceOwnerOnly'
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsDevicePolicyManagerTestCases -t 'com.android.cts.devicepolicy.UserRestrictionsTest#testUserRestrictions_primaryProfileOwnerOnly'
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsDevicePolicyManagerTestCases -t 'com.android.cts.devicepolicy.UserRestrictionsTest#testUserRestrictions_secondaryProfileOwnerOnly'

Bug: 36355208
Change-Id: I7a002c1f796a3d1f6241577e6284a8e74bb96749
2017-03-22 17:50:45 -07:00
Phil Weaver
ce687c5e4a Restructure a11y shortcut settings
Separating the shortcut on/off from the shortcut service.
Enabling the shortcut to work from the lock screen if the
user wants it to.

Bug: 35872328
Bug: 35219988
Bug: 35443593
Test: Adjusted tests for shortcut controller, manually
activated shortcut in a variety of conditions.
Change-Id: Id39d33ec62eb5f11b76b2972089167dc7d4c625b
2017-03-22 16:36:12 -07:00
jackqdyulei
15e1c33c1e Add theme Theme.DeviceDefault.Settings.Dialog.NoActionBar
Bug: 36099867
Test: manual
Change-Id: Ie6f791e7f8275481dc7ed0f3ca135bcafdea3d31
2017-03-22 13:37:39 -07:00
Kirill Grouchnikov
6eea0d2a4c Add support for tinting icon menus
Test: CTS tests in separate CL (same topic)
Bug: 31545315
Change-Id: I8877c77dab9b7b229b4246012b9380beadeb4790
2017-03-22 11:05:49 -04:00
Clara Bayarri
fb483cc90c XML Support for non system font providers
The certs needed to identify non preinstalled providers
can now be declared in XML, using a resources array.

Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
runtest --path frameworks/base/core/tests/coretests/src/android/content/res/FontResourcesParserTest.java
Bug: 35025705
Change-Id: Ibf12ad409aa5a873ddb32b1383c147728e664c23
2017-03-22 11:47:51 +00:00
TreeHugger Robot
a6906adf59 Merge "Explicitly call out email in "social" category." 2017-03-22 04:22:19 +00:00
TreeHugger Robot
bc5af4b47b Merge "Generalize min/max docs." 2017-03-22 04:21:45 +00:00
Jeff Sharkey
0e5b66ca62 Generalize min/max docs.
Test: builds, boots
Bug: 35854472
Change-Id: Ic2505978f5872322affdc1a1ec23d84c7f1a1522
2017-03-21 20:49:32 -06:00
TreeHugger Robot
ac9e6f7453 Merge "Implement runtime account update notifications." 2017-03-22 02:19:28 +00:00
Fyodor Kupolov
c1bacbd2f6 Merge "Support expiration of preloaded file cache" 2017-03-22 01:56:07 +00:00
Jeff Sharkey
d2b69100f4 Explicitly call out email in "social" category.
Test: builds, boots
Bug: 35294569
Change-Id: I08b2c1b1b95b6c2fc6fd7be417cd0f9547c8237b
2017-03-21 19:41:29 -06:00
Fyodor Kupolov
d225f0bfd5 Support expiration of preloaded file cache
When device is provisioned, we delete all files from /data/preloads
except file_cache. We should do best effort to keep file_cache during
the first config_keepPreloadsMinDays. After that,
persist.sys.preloads.file_cache_expired is set to 1, which indicates
that cache can be deleted when additional storage space is requested.

Bug: 34690396
Test: Manual + RetailDemoModeServiceTest
Change-Id: Ie584a9dd6689bcc5e6b3cb448e95dfe5f73d2eeb
2017-03-21 16:51:25 -07:00
TreeHugger Robot
6a0b9d4379 Merge "Update string from cellular to mobile." 2017-03-21 23:24:02 +00:00
TreeHugger Robot
52b6bde402 Merge "Allow multi line preference title." 2017-03-21 23:23:15 +00:00
Dmitry Dementyev
8882d881f9 Implement runtime account update notifications.
Test: manual, cts.
Change-Id: Iaf9fe4814c3d3c2ca2dca0a5bfa0f997e060bfeb
2017-03-21 15:54:00 -07:00
Fan Zhang
538ec83a12 Update string from cellular to mobile.
Change-Id: I8ec79b436cb4c22bf0180e881eef07397fce35a9
Fix: 36290223
Test: builds
2017-03-21 13:14:10 -07:00
Joachim Sauer
68745b2a55 Merge "Update to 2017a." am: 2ca0abc8de am: eeca6add23
am: 2fc77f78f5

Change-Id: I52889a24c3a81875d6e26897034634677836e426
2017-03-21 18:32:27 +00:00
Joachim Sauer
2fc77f78f5 Merge "Update to 2017a." am: 2ca0abc8de
am: eeca6add23

Change-Id: I7dd23af7452ed9836fb26dad0d7774ce9aef1c36
2017-03-21 18:28:16 +00:00
Joachim Sauer
eeca6add23 Merge "Update to 2017a."
am: 2ca0abc8de

Change-Id: I0a6dd7f5cef6f7f3634413d012c8f1c84c807aac
2017-03-21 18:22:44 +00:00
Doris Ling
2cb4bab1a8 Allow multi line preference title.
Add an attribute to Preference to specify whether single line is to
be used for the preference

Change-Id: I578b496cdc4c5b0e3b3146183c6c30c4dee02eab
Fix: 36389770
Test: manual
2017-03-21 10:19:43 -07:00
TreeHugger Robot
2bcca1d624 Merge "BZZZZZZT! BZZZZZT! New Vibrator APIs" 2017-03-21 13:40:36 +00:00
Joachim Sauer
8c0d36854b Update to 2017a.
This commit adds America/Punta_Arenas to time_zones_by_country.xml to
allow it to automatically be picked based on cell network information.

Bug: 35861784
Test: builds & boots & automatic timezone detection still works
Change-Id: I1bfa327fbb58f82eb951028e288fad819bf0f231
2017-03-21 12:49:31 +00:00
Jack Yu
0f127ea929 Merge "Added ETWS primary message default message support" am: 2d3fb48b39
am: dfe1743b37

Change-Id: I71a1be66cb84ed8030df4ab9d406c390872f5346
2017-03-21 09:26:51 +00:00
Jack Yu
dfe1743b37 Merge "Added ETWS primary message default message support"
am: 2d3fb48b39

Change-Id: Ib03378e2f9c2da53b5efbedde08b20acc0b8c199
2017-03-21 09:20:17 +00:00
Jack Yu
5889c0d3b5 Added ETWS primary message default message support
ETWS primary message does not contain messagy body. We used
to use hardcoded "ETWS" as the body, which is not easy for
end users to understand what happened. Added the built-in
default messages provided by Japanese government guideline
for earthquake, Tsunami, test, and other channels support to
enhance the user experience.

Test: manual
bug: 33595007
Merged-In: I53659298d8ce3b3ba5c751c14c1b36e76d6dc562
Change-Id: I53659298d8ce3b3ba5c751c14c1b36e76d6dc562
2017-03-21 00:39:54 -07:00
Jack Yu
e3070ede55 Added ETWS primary message default message support
ETWS primary message does not contain messagy body. We used
to use hardcoded "ETWS" as the body, which is not easy for
end users to understand what happened. Added the built-in
default messages provided by Japanese government guideline
for earthquake, Tsunami, test, and other channels support to
enhance the user experience.

Test: manual
bug: 33595007
Change-Id: I53659298d8ce3b3ba5c751c14c1b36e76d6dc562
2017-03-20 22:37:50 -07:00
Sid Soundararajan
4b9f18f002 Merge "Add Long Press to Launch All Apps View" 2017-03-20 22:17:10 +00:00
Christine Franks
3910adfb62 Merge "Add color temperature preference for Night Display" 2017-03-20 18:03:49 +00:00
Sid Soundararajan
ff662fa937 Add Long Press to Launch All Apps View
Test: On TV long-press HOME will bring a panel on the right
(left on RTL), showing a grid of apps.

BUG: 35806605
Change-Id: Ia2aec6b17e9522b9e6f1450f9d58f6a095d3ccf7
2017-03-20 10:45:25 -07:00
TreeHugger Robot
6388efb405 Merge "Inline Notification Controls to full spec" 2017-03-20 16:24:50 +00:00
Michael Wright
7121697a5e BZZZZZZT! BZZZZZT! New Vibrator APIs
Replace the existing Vibrator APIs with a new class to encapsulate the
haptic effect information, and add the ability to control the vibration
strength.

Test: cts-tradefed run commandAndExit cts-dev -m CtsOsTestCases -t android.os.cts.VibratorTest
      cts-tradefed run commandAndExit cts-dev -m CtsOsTestCases -t android.os.cts.VibrationEffectTest
      runtest systemui-notification
      Manual testing with $T/google_experimental/users/michaelwr/Vibrator

Bug: 30961353

Change-Id: Idbb9864a7b084c85e7b7de3257a0e6b40d9d91d6
2017-03-20 16:09:51 +00:00