Commit Graph

21674 Commits

Author SHA1 Message Date
Jimmy Chen
f20ea0fa14 Merge "p2p: WiFi Direct API for requesting p2p info" 2018-11-29 04:57:32 +00:00
Sudheer Shanka
c2b3462713 Merge "Add Downloads collection in MediaProvider." 2018-11-29 02:14:24 +00:00
yuemingw
4bcea96bde Add APIs for cross profile calendar whitelist in DPM.
Bug: 118444029
Test: atest DevicePolicyManagerTest#testCrossProfileCalendar_failIfNotProfileOwner
atest ManagedProfileTest#testCrossProfileCalendarPackage

Change-Id: Id7e6a2fc32ec8bcf770700df1596378c858168c2
2018-11-28 23:46:41 +00:00
Siyamed Sinir
2535f534ec Merge "Make TextView.getTextDirectionHeuristic public" 2018-11-28 20:09:58 +00:00
TreeHugger Robot
471bb616ee Merge "Expose Context Hub Service PendingIntent APIs" 2018-11-28 19:53:57 +00:00
Jeff Sharkey
c583071b97 Merge changes from topic "exifz"
* changes:
  Track attribute ranges, parse additional times.
  Sane undefined behaviors for XmlUtils.
2018-11-28 16:03:04 +00:00
Martijn Coenen
ce871128cd Merge "Add useAppZygote attibute to <service>." 2018-11-28 08:25:20 +00:00
TreeHugger Robot
ea2cc72610 Merge "Remove static for getSubscriptionIds" 2018-11-28 07:30:25 +00:00
TreeHugger Robot
39ba1b71fb Merge "Add new API for returning max custom fallback families" 2018-11-28 03:11:29 +00:00
Siyamed Sinir
a1e851c873 Make TextView.getTextDirectionHeuristic public
Test: Added new CTS tests under cts.TextViewTest
Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest

Bug: 117521460
Change-Id: I27391f69f2387cc761a7fc859423bd921601bea9
2018-11-27 17:59:18 -08:00
TreeHugger Robot
d8a9db8486 Merge "Add interface for SMS message read for financial app mainline module." 2018-11-27 21:54:23 +00:00
TreeHugger Robot
e3a6d9450a Merge "Add "dictionary" entity type" 2018-11-27 21:51:45 +00:00
Arthur Ishiguro
edf1e0fc13 Expose Context Hub Service PendingIntent APIs
Exposes APIs related to new PendingIntent-based APIs of
ContextHubManager, allowing the creation of persistent
ContextHubClients.

Bug: 117612105
Test: Compile only
Change-Id: Iaddbc4685285ffa8186b867def21fbbff370756c
2018-11-27 13:11:00 -08:00
Haoyu Zhang
19b3c371d3 Merge "Make LineHeightSpan.Standard a ParcelableSpan" 2018-11-27 21:02:25 +00:00
Jeff Sharkey
dffaa69997 Track attribute ranges, parse additional times.
An upcoming privacy feature is interesting in knowing the exact
offset and length of specific Exif tags, similar to how the thumbnail
range is already being returned.  Detect the case where we've modified
the underlying file, meaning ranges are no longer valid.

Add constructor to accept best-practices File object.  Add method to
ask if a given tag has been defined.  Add methods to parse additional
timestamp values.

Bug: 115377970, 111892141
Test: atest android.media.cts.ExifInterfaceTest
Change-Id: Iac35bb65ff7b3605d6c32ec3ca3d29b17e65cff8
2018-11-27 13:39:03 -07:00
Abodunrinwa Toki
f14f2b63dc Merge "Do not linkify text with RLO/LRO characters." 2018-11-27 20:19:35 +00:00
Sudheer Shanka
9b98edb2d6 Add Downloads collection in MediaProvider.
+ Added needed logic to contribute files to this
  downloads collection using MediaStore.PendingSession.

Bug: 120050687
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Test: atest MediaProviderTests

Change-Id: Ic83731e3f54908614cea13a84f717252062428dc
2018-11-27 12:07:06 -08:00
TreeHugger Robot
20dbbf22b8 Merge "Add onSuggestedReplySent in NotificationAssistantService" 2018-11-27 19:51:55 +00:00
TreeHugger Robot
02fc5ccc54 Merge "Made ImageView.animateTransform(Matrix) public" 2018-11-27 19:09:24 +00:00
Tony Mak
e1f3ac064c Add "dictionary" entity type
We will classify the word as "dictionary" if we think user may want to look
it up. A "Dictionary" option will be shown in the floating toolbar
if users select words of this entity type.

A new Intent action is introduced to bring up the dictionary app.

The model that supports this entity type is not checked-in yet.
So no behavior change can be seen for now.

Test: Check-in the WIP model and try to select a "dictionary word".
Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/IntentFactoryTest.java

BUG: 68238822

Change-Id: Ib318d5b2abf79d61e55b33e397065a0714573121
2018-11-27 18:20:10 +00:00
Tony Mak
2999670406 Add onSuggestedReplySent in NotificationAssistantService
This is added to report clicks on smart reply buttons to NAS.

Also refactored the code a bit by having SmartReplyView to use
SmartReplies and SmartActions object, rather than passing a long list
of arguments.

Test: atest SystemUITests
Test: Manual. Tapped on the reply and observed the log.
BUG: 111437455

Change-Id: I897fb46a304f4f7b80b2a6bc4db0ac39f6dc6e8f
2018-11-27 18:18:21 +00:00
Martijn Coenen
e066c5c1d4 Add useAppZygote attibute to <service>.
To allow isolated services to indicate that they want to spawn
from an application zygote instead of the regular zygote.

Bug: 111434506
Test: builds
Change-Id: I181cb1111169e195879a5f481b675956e383251e
2018-11-27 19:09:19 +01:00
TreeHugger Robot
9ba4a5ceea Merge "Remove unneeded API." 2018-11-27 15:55:11 +00:00
Andrey Kulikov
3ac312acf0 Made ImageView.animateTransform(Matrix) public
ImageView.animateTransform(Matrix) is now public so we can use it in AndroidX Transitions without a reflection.
Also I fixed a bug that we forgot to clear mDrawMatrix when we provide null matrix into a method. Before it doesn't work as expected if ImageView already calculated some draw matix and we wan't to override it.

Bug: 117521477
Test: Added new cts tests for both usages with null and not null matrix
Change-Id: I9e25e1f673fabdfeb227fabc0b3635056de0a6fd
2018-11-27 15:52:17 +00:00
Jeff Sharkey
a789183401 Merge "Iterate on storage permissions model." 2018-11-27 15:51:14 +00:00
Abodunrinwa Toki
adc194032b Do not linkify text with RLO/LRO characters.
Also don't show smart actions for selections in text with unsupported
characters.

Bug: 116321860
Test: atest android.view.textclassifier.TextClassifierTest \
            android.text.util.cts.LinkifyTest \
	    android.text.util.LinkifyTest \
	    android.widget.TextViewActivityTest

Change-Id: Id271cab8aef6b9b13ef17f1a8654c7616f75cf13
2018-11-27 15:11:41 +00:00
TreeHugger Robot
18ff896138 Merge "Introduce Message.USER_LOCAL and added logic to map person to user id" 2018-11-27 13:44:39 +00:00
TreeHugger Robot
88dbb1b2d4 Merge "Make View#transformMatrixToLocal/Global public" 2018-11-27 12:53:16 +00:00
TreeHugger Robot
83026e5488 Merge "Introduce onNotificationExpansionChanged and onNotificationDirectReplied .. in NAS" 2018-11-27 12:21:43 +00:00
Abodunrinwa Toki
8df4152469 Merge "Introduce Translate intent." 2018-11-27 12:09:26 +00:00
Clara Bayarri
c127cbe76c Make View#transformMatrixToLocal/Global public
These methods are being reflected into and seem generally useful
to developers.

Bug: 117521349
Bug: 117521191
Test: new CTS in topic
Change-Id: I86e8a379e458aefe7fb2fe936b57eeeffa5ad42d
2018-11-27 09:37:23 +00:00
Felipe Leme
fc8b2460c3 Merge "Initial implementation of Augmented Autofill." 2018-11-27 06:46:20 +00:00
Felipe Leme
284ad1c3e2 Initial implementation of Augmented Autofill.
Augmented Autofill is a mechanism that will let a system-provided service
provide autofill suggestions when the stardand autofill can't.

Because the Augmented Autofill service is a system app, it has less restrictions
than the standard service; in particular, this service will be responsible for
drawing the autofill UI, although the framework will provide a mechanism to host
the window. Right now, it's creating a TYPE_APPLICATION_OVERLAY window in the
service process roughly below the focused view, but in the long-term it will
use the IME suggestion window to display it.

This CL provides the initial APIs and end-to-end workflow for the simplest
scenario, but it's still full of TODO's.

Test: atest CtsAutoFillServiceTestCases # to make sure it doesn't break it
Test: atest FrameworksCoreTests:SettingsBackupTest
Test: mmm -j150 packages/experimental/FillService &&\
  adb install -r ${OUT}/data/app/FillService/FillService.apk &&\
  adb shell settings put secure intel_service foo.bar.fill/.AiaiService &&\
  adb shell settings put global autofill_smart_suggestion_emulation_flags 2 &&\
  adb shell pm grant foo.bar.fill android.permission.SYSTEM_ALERT_WINDOW

Bug: 119638877

Change-Id: I8d59b4eab3e530cd89b81456681a72fdab532756
2018-11-27 05:09:06 +00:00
wilsonshih
968b30ee74 Support wallpaper on secondary displays.(4/N)
Provides a flag to let the system server and wallpaper picker know
if this wallpaper service supports multiple displays.

Bug: 115486823
Test: Manually test with modified wallpaper sample app.
Change-Id: I0c8b2c5d00bfd97d069511dda9965c557b5733c6
2018-11-27 04:47:46 +00:00
Hall Liu
497fe21a71 Merge "Make MBMS group call API changes" am: 50cc796c28 am: 000e80e747
am: b8ac0d31a9

Change-Id: I3635e7ced8397d225096016d00046755117a1337
2018-11-26 18:49:16 -08:00
Hall Liu
b8ac0d31a9 Merge "Make MBMS group call API changes" am: 50cc796c28
am: 000e80e747

Change-Id: Ia9f198cb0b66cc7690ba9ff11f677b27714dd31d
2018-11-26 18:12:59 -08:00
Xiangyu/Malcolm Chen
f1a39cde78 Merge "Remove parentSubId and define API to set groupSubId" am: d413b5c713
am: e1015e70c4

Change-Id: I4ed0c97ac3961da37397ba1bd0ea24535a6764b8
2018-11-26 17:27:21 -08:00
Hall Liu
50cc796c28 Merge "Make MBMS group call API changes" 2018-11-27 01:06:55 +00:00
Haoyu Zhang
63a5efb46b Make LineHeightSpan.Standard a ParcelableSpan
Implement ParcelableSpan interface for LineHeightSpan.

Bug: 112621694
Test: atest LineHeightSpan_StandardTest
Change-Id: I452a2b12310b525555e908e4d04dda7101693319
2018-11-26 16:54:46 -08:00
Xiangyu/Malcolm Chen
d413b5c713 Merge "Remove parentSubId and define API to set groupSubId" 2018-11-27 00:24:00 +00:00
Roshan Pius
d5f319235b Merge "WifiNetworkConfigBuilder: Add support for SAE, OWE & SuiteB" 2018-11-27 00:13:42 +00:00
Soonil Nagarkar
176d5a2244 Merge "Deprecate location provider status callbacks" 2018-11-26 23:48:12 +00:00
Jordan Liu
5333436303 Merge "Expose ApnService as a SystemApi and use subId arg" am: 0e706db965
am: 6a0161a184

Change-Id: Ia1abe2d229a034ba0a77ac3dd7034ff3c13dde55
2018-11-26 15:40:03 -08:00
Dichen Zhang
898dd65029 Merge "Revert "Make AudioManager.generateAudioSessionId() static"" 2018-11-26 23:34:18 +00:00
Soonil Nagarkar
94749f7ad1 Deprecate location provider status callbacks
Deprecate and remove logic around location provider status.

Bug: 118885128
Test: Tested manually on device
Change-Id: I68289cb5ed22e66532847758c36155a4ce607bbc
2018-11-26 23:19:00 +00:00
Jordan Liu
0e706db965 Merge "Expose ApnService as a SystemApi and use subId arg" 2018-11-26 22:47:52 +00:00
Hall Liu
c81cba4e2b Make MBMS group call API changes
Change the API to respond to API council comments
See bug for details

Bug: 117145859
Test: CTS
Change-Id: I4342e6e95da57fbcd550c571357ff7bc1923b70a
2018-11-26 14:37:56 -08:00
Malcolm Chen
aea9b02a22 Remove parentSubId and define API to set groupSubId
Bug: 118349116
Test: unittest
Change-Id: I539a67df8f30c2f58d87a3417f78fef8b43ff56d
Merged-In: I539a67df8f30c2f58d87a3417f78fef8b43ff56d
2018-11-26 14:13:10 -08:00
TreeHugger Robot
9d7964b973 Merge "Add MIMETYPE_AUDIO_AC4 support in MediaFormat" 2018-11-26 22:11:24 +00:00
Youming Ye
8b84998fff Merge "Add CarrierConfig to hide Preset APN setting details" am: 4d73d87d83 am: e7e0dcdabe
am: 038ee2644b

Change-Id: I7c848ce780f65e5f354db0221456b2d01199ab6b
2018-11-26 14:08:29 -08:00