Commit Graph

79406 Commits

Author SHA1 Message Date
Richard Ledley
db96b03495 Merge "Remove selection on nonselectable text (which would be there if a user tapped Linkified text) if a TextView loses focus." 2018-02-06 21:34:45 +00:00
Adam Lesinski
cffb3604ae Merge changes from topic "assetmanager2"
* changes:
  libandroidfw: Improve performance of AssetManager2
  libandroidfw: Add ApplyStyle and SetConfiguration benchmark
  Make idiomatic use of ApkAssets and AssetManager
  libandroidfw: Make sure to set the 'app as lib' flag
  Replace AssetManager with AssetManager2 implementation
2018-02-06 19:52:36 +00:00
TreeHugger Robot
8744f57386 Merge "[Magnifier - 19] Add non-basic CTS tests" 2018-02-06 18:53:33 +00:00
TreeHugger Robot
bc38a217b9 Merge "Call ImageDecoder directly in ResourcesImpl" 2018-02-06 18:34:40 +00:00
Richard Ledley
5f2f820c81 Remove selection on nonselectable text (which would be there if a user tapped Linkified text) if a TextView loses focus.
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest

Bug: 67629726
Change-Id: Ifc3039f0c814c422b2d727f837ca9c88abc2ebe8
2018-02-06 18:09:49 +00:00
TreeHugger Robot
bbfebc3c93 Merge "Removes instant app visibility metadata check" 2018-02-06 17:35:03 +00:00
Vladislav Kuzkokov
999ea9fb7e Merge "Make printing policy a restriction." 2018-02-06 17:11:07 +00:00
Beverly Tai
c65eb44437 Merge "Wireless charging sound used for wired charging" 2018-02-06 16:29:09 +00:00
Patrick Baumann
a290039e92 Removes instant app visibility metadata check
Change-Id: I94c0ba08a429a60b3f7149e60f6e94f5c8e5617d
Fixes: 36551762
Test: atest EphemeralTest succeeds
2018-02-06 16:01:49 +00:00
TreeHugger Robot
df7f370558 Merge "Fix TimePicker keyboard UI num digits for min" 2018-02-06 15:52:53 +00:00
Leon Scroggins III
40c59fdef0 Call ImageDecoder directly in ResourcesImpl
Test: Existing tests

Add a new (hidden) ImageDecoder.Source that accepts an AssetInputStream.
This allows us to create an AnimatedImageDrawable without fear of the
client closing the stream.

Call it from ResourcesImpl instead of Drawable.createFromResourceStream.

Change-Id: I07e00ca60c97538335a6310e830b73211fd8e7bb
2018-02-06 10:21:36 -05:00
Mihai Popa
137b5843d6 [Magnifier - 19] Add non-basic CTS tests
This CL adds two @TestApis required for the magnifier CTS tests.

Bug: 69407609
Bug: 63531115
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: I49e53223730f5fbbf353f6574429c1b1a3d877a1
2018-02-06 15:14:44 +00:00
TreeHugger Robot
ea26b2a470 Merge "Allowing models to support multiple languages" 2018-02-06 14:51:03 +00:00
David Ogutu
93ac6d01bb Fix TimePicker keyboard UI num digits for min
Force the minutes to always format to 2 digits. This is a temporary fix
that's not quite fully Locale aware but fixes UI issue. Will need to
refactor code to seperate Locale info, share code with non-keyboard UI
and use more native Locale functions to determine number of digits.

Test: Manual https://drive.google.com/file/d/1iabh2Zzl0YRhj17gbVKr8GvVDXEHUnWI/view?usp=sharing
Bug: 72041032
Change-Id: I0eb479b9aece4726db7bf7fba04dc50ad0f175c5
2018-02-06 09:22:20 -05:00
Julia Reynolds
348f19e6a3 Merge "Grant uri access to notification listeners." 2018-02-06 13:46:31 +00:00
TreeHugger Robot
738471a962 Merge "Make phone number actions dependent on user privileges" 2018-02-06 11:01:53 +00:00
Jan Althaus
ef0156d707 Allowing models to support multiple languages
Note that there are edge cases where this diverges from O behaviour.
Specifically in the case where there is a more specific factory than
update model.
For example: system language is "en-us", factory model is v3 "en-us",
update model is v4 "en". In O, we would have selected the factory model,
now we select the update one.

This also fixes a bug that caused model versions to not get logged.

Test: Ran framework core tests, and tested manually.
Bug: 72427364
Change-Id: Ied35335512563e2cbaaeb5790b425b1e9fffbaa8
2018-02-06 11:52:47 +01:00
TreeHugger Robot
705c01a542 Merge "Dump autofill compat packages." 2018-02-06 10:24:16 +00:00
Adam Lesinski
fbde6988ac Merge "OMS: handle overlay package upgrades, uninstalls" 2018-02-06 05:21:51 +00:00
Android Build Merger (Role)
d83226fd8d Merge "Merge "Add function to change LE Tx Data Length" am: 383a7d432f am: cffe307fa5 am: 3a19b325c1" 2018-02-06 04:23:20 +00:00
Stanley Tng
8c3e3d178e Merge "Add function to change LE Tx Data Length" am: 383a7d432f am: cffe307fa5
am: 3a19b325c1

Change-Id: I717bfaa6fa452be311b493199dfc59a9124a73f0
2018-02-06 04:18:57 +00:00
Hans Boehm
6e9162075f Merge "Increase CRASH_AT_SIZE to 20000" 2018-02-06 04:15:56 +00:00
Stanley Tng
3a19b325c1 Merge "Add function to change LE Tx Data Length" am: 383a7d432f
am: cffe307fa5

Change-Id: I02a15bfc36d8c8817c45e4c6f56ebbfbbf571338
2018-02-06 03:27:07 +00:00
Mårten Kongstad
db0e34ed83 OMS: handle overlay package upgrades, uninstalls
Teach the overlay manager about upgrades and uninstalls of overlay
packages. Add two transient overlay states STATE_TARGET_UPGRADING and
STATE_OVERLAY_UPGRADING.

Test: atest OverlayHostTests
Change-Id: I2d04204150f9e749f070b4e4363eacbd59355014
2018-02-05 19:26:24 -08:00
Stanley Tng
cffe307fa5 Merge "Add function to change LE Tx Data Length"
am: 383a7d432f

Change-Id: I5e4e634b7265d3673a2142fc629d381d4b16b491
2018-02-06 03:06:49 +00:00
TreeHugger Robot
c437b8ecde Merge "Camera2: Add API to expose all physical camera metadata" 2018-02-06 02:47:40 +00:00
Adam Lesinski
633085456e Make idiomatic use of ApkAssets and AssetManager
Move away from using deprecated addAssetPath methods
and cache the instances of ApkAssets created.

Test: CTS passes
Change-Id: Ie95cd5a9e205a35806e7b142df5af02aa90d83ca
2018-02-05 18:38:57 -08:00
Adam Lesinski
1187590da3 Replace AssetManager with AssetManager2 implementation
Test: atest CtsContentTestCases:android.content.res.cts
Test: make libandroidfw_tests
Change-Id: I2bb6d7656d2516d371e83e541ed02f91405f6d94
2018-02-05 18:38:49 -08:00
TreeHugger Robot
4b1f8e2f2d Merge "Require only ACTION_VIEW for web instant apps" 2018-02-06 01:29:05 +00:00
Stanley Tng
383a7d432f Merge "Add function to change LE Tx Data Length" 2018-02-06 01:02:33 +00:00
TreeHugger Robot
b80a4052c7 Merge "Add Settings Global value for anomaly config" 2018-02-06 00:55:21 +00:00
TreeHugger Robot
35232df401 Merge "Exempt system apps from hidden API warnings" 2018-02-06 00:07:40 +00:00
Fyodor Kupolov
f3f6f000ed Merge "Make MATCH_FACTORY_ONLY @TestApi" 2018-02-05 23:44:31 +00:00
Patrick Baumann
0da8537cf6 Require only ACTION_VIEW for web instant apps
When generic intent resolution support was added to instant apps, it
added the requirement that web instant app resolution also require the
BROWSABLE category. This change relaxes that requirement.

Test: manual - sent intent without browsable and observed resolution
Change-Id: I7d4d891484f538b46d37f2c8e7c040b370b46b9e
Fixes: 72835413
2018-02-05 23:21:47 +00:00
TreeHugger Robot
d205cde576 Merge "Revert "Add debug logs"" 2018-02-05 23:09:24 +00:00
jackqdyulei
fa81bee278 Add Settings Global value for anomaly config
1. ANOMALY_CONFIG_VERSION: version of the anomlay config
2. ANOMALY_CONFIG: a base64-encoded string of raw config.

Bug: 72385333
Test: Build
Change-Id: If990d2e00e019cc6d6a6c601de9a08bd5e649654
2018-02-05 14:40:40 -08:00
Hans Boehm
a2a39f2c00 Increase CRASH_AT_SIZE to 20000
Bug: 71353150
Test: Build and boot master
Change-Id: I2c9a8a93b01ae3eff0db657cb515a48502eaacbc
2018-02-05 14:30:00 -08:00
TreeHugger Robot
b60f46802f Merge "Avoid improperly removing views during transitions" 2018-02-05 22:16:32 +00:00
TreeHugger Robot
edace1cc15 Merge "Add DEFAULT dump priority for services" 2018-02-05 21:39:36 +00:00
Hall Liu
04674a0ef9 Merge "Add setting and logging for RTT" 2018-02-05 21:30:51 +00:00
Vladislav Kuzkokov
622b9f9212 Make printing policy a restriction.
Use existing API instead of creating new method.

Bug: 64140119
Test: cts-tradefed run cts-dev --module CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.MixedDeviceOwnerTest#testPrintingPolicy

Change-Id: I9ff94f4d73824e7bf9aedbb64811ad60fccf9779
2018-02-05 22:30:05 +01:00
TreeHugger Robot
62d8fc2594 Merge "camera: Extend the multiple capture request requirements" 2018-02-05 21:13:21 +00:00
Vishnu Nair
df6c6e7c55 Add DEFAULT dump priority for services
- Adds a new DEFAULT priority for services which is treated the same as NORMAL priority but dumpsys does not send "--dump-priority" arguments to the service.

Bug: 27429130
Test: Manually generate bugrepot (default version) and check for any issues
Test: Load bugreport on ABT
Test: mmm -j56 frameworks/native/cmds/dumpstate && \
      adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test && \
      printf "\n\n#### ALL TESTS PASSED ####\n"

Change-Id: Ia90ae16d56d0144e679cf39ebfbf4473dd21f167
2018-02-05 13:04:55 -08:00
Todd Kennedy
96d601bd10 Revert "Add debug logs"
This reverts commit f996b76623.

Change-Id: I855a61070411b2a1fa8f1add10998aaabcef43f6
Fixes: 72369036
Test: Manual; builds and runs
2018-02-05 12:50:30 -08:00
David Brazdil
9e93d57221 Exempt system apps from hidden API warnings
Bug: 64382372
Test: make
Change-Id: Ib9bb92f29858dea4f53b0b1ba3b40bdf22b897c9
2018-02-05 20:04:16 +00:00
Hall Liu
d4d2a8a658 Add setting and logging for RTT
Add a system setting to store preferred RTT mode for calls. Add logging
for RTT in Telecom base classes.

Bug: 63934808
Test: manual
Change-Id: Ie26fac800931604379bbe7b8abfed7caa8c0236d
2018-02-05 11:47:30 -08:00
TreeHugger Robot
4b909212b3 Merge "STOPSHIP: Add UidCpuPower global setting" 2018-02-05 18:10:37 +00:00
Julia Reynolds
e0d711f435 Grant uri access to notification listeners.
Bug: 9069730
Bug: 63708826
Test: runtest systemui-notification
Change-Id: I87e9dffde35e1afc5e23137df09e0c093d656e23
2018-02-05 17:17:01 +00:00
Julia Reynolds
30b82786c1 Merge "Rename broadcast constants" 2018-02-05 17:07:13 +00:00
Richard Ledley
309f009127 Merge "Linkify documentation updates." 2018-02-05 17:06:53 +00:00