Commit Graph

22031 Commits

Author SHA1 Message Date
Jack Yu
a92005e6ec Merge "Renamed data/net service provider onDestroy to close" am: 47d385a5b3 am: 8c539c5eee
am: 52fdd0d508

Change-Id: I74c058f2d5f0e42e9513d1d908c32e52f9d9223e
2018-12-14 16:16:39 -08:00
Etan Cohen
c7a2502865 Merge "[AWARE] Add Wi-Fi Aware-specific Network Capabilities" 2018-12-14 23:55:53 +00:00
Jack Yu
52fdd0d508 Merge "Renamed data/net service provider onDestroy to close" am: 47d385a5b3
am: 8c539c5eee

Change-Id: If9596c83f8a5e960f4675b80ddcc1eab8f67c178
2018-12-14 15:53:13 -08:00
Haoyu Zhang
81b0715041 Merge "Add public API TextView.isHorizontallyScrolling" 2018-12-14 23:07:45 +00:00
Xiangyu/Malcolm Chen
ca3ef74bdd Merge "Make setMetered and setOpportunistic public." 2018-12-14 22:24:55 +00:00
TreeHugger Robot
b4ee870eca Merge "Hides audibly alerted icon after 30 seconds." 2018-12-14 21:58:34 +00:00
Adrian Roos
cf25be425e Merge "Add minAspectRatio" 2018-12-14 18:44:27 +00:00
Tyler Gunn
d1d6911207 Merge "Add CallerIdentification to CallScreeningService API." 2018-12-14 17:44:09 +00:00
Malcolm Chen
7e22ba6160 Make setMetered and setOpportunistic public.
Making SubscriptionManager#setMetered and #setOpportunistic public
APIs. Adding proper permission checks and descriptions.

Bug: 120138251
Test: cts, unittest

Change-Id: Id6f074b15a1c03d00ede2665d44595fa7be965e4
2018-12-14 09:26:42 -08:00
Adrian Roos
917791e1d0 Add minAspectRatio
Adds logic to enforce a minimum aspect ratio and a new manifest
attribute for requesting a minimum aspect ratio.

Bug: 120129697
Test: atest AspectRatioTests
Change-Id: Ie714541241dcdfae2bdf3bfd969a4e26829fbb4b
2018-12-14 16:13:27 +01:00
Gus Prevas
7306b90554 Hides audibly alerted icon after 30 seconds.
Bug: 116622974
Test: atest SystemUITests FrameworksUiServicesTests
Change-Id: I9074e46b5e557c7c65f601ee118dfa7e3751652a
2018-12-14 10:07:48 -05:00
Abodunrinwa Toki
bebe372372 Merge changes from topics "tcevent", "tc-ca-id"
* changes:
  Introduce TextClassifierEvent
  Add id to ConversationActions and conversationId to its Request
2018-12-14 12:41:40 +00:00
TreeHugger Robot
c14e1f95df Merge changes from topic "stream_combinations"
* changes:
  Camera: Implement legacy device stream combination query
  Camera: Add reprocessable mandatory stream combinations
  Camera: Add support for mandatory stream combinations
2018-12-14 10:03:07 +00:00
Jack Yu
cd67c02f1c Renamed data/net service provider onDestroy to close
Renamed them to avoid confusion with Android services'
onDestroy().

Test: Telephony sanity tests
Bug: 73659459
Change-Id: I05f68ced65498d6bfeb9e3c9ed3fb6164643bbaa
2018-12-14 00:22:02 -08:00
Abodunrinwa Toki
37ccedcc12 Introduce TextClassifierEvent
This serves as a general TextClassifier event object for reporting
any textclassifier event and will replace the SelectionEvent class.

Example:

// Smart link clicked.
new TextClassifierEvent.Builder(CATEGORY_LINKIFY, TYPE_LINK_CLICKED)
  .setEventContext(new TextClassificationContext.Builder(
      pkgname, WIDGET_TYPE_TEXTVIEW)
      .build())
  .setEntityType(TextClassifier.EMAIL)
  .setResultId(textclassification.getId())
  .setEventIndex(0)
  .setEventTime(now)
  .setStart(0)
  .setEnd(3)
  .build();

Bug: 120837847
Test: See related cts CL
Test: atest cts/tests/tests/view/src/android/view/textclassifier/cts \
      frameworks/base/core/tests/coretests/src/android/view/textclassifier
Change-Id: Ifd84a45fc5c46ffdb200dcb9600f6a470ce792bb
2018-12-14 15:49:01 +08:00
Tony Mak
c4359bf17f Add id to ConversationActions and conversationId to its Request
ID is used as session id when logging.
Conversation id is used for TextClassifier to keep track of ongoing
conversation.

BUG: 120803809
Test: atest TextClassifierTest.java
Test: atest ConversationActionsTest.java

Change-Id: Ifa2e25005efa9b16e480d9a06b376d726ea6d6d3
2018-12-14 15:49:01 +08:00
Youming Ye
159c83c57b Merge "Propagation of additional Ims Call Fail Causes" am: 97ee6295e9 am: 9834928c12
am: c8dad0200a

Change-Id: Ia000a059426943a03898416b54168778e64b6597
2018-12-13 17:25:41 -08:00
Vishnu Nair
f85dddfd0c Merge "Pip: Use raw input coordiates when calculating pip movement offsets" 2018-12-14 01:04:53 +00:00
Youming Ye
c8dad0200a Merge "Propagation of additional Ims Call Fail Causes" am: 97ee6295e9
am: 9834928c12

Change-Id: Ie3d7b237e3d7cfe2c53498807ff18bdbbfae61e9
2018-12-13 16:24:50 -08:00
Haoyu Zhang
ba75b55566 Add public API TextView.isHorizontallyScrolling
The original purpose is to remove @hide annotation on
TextView.getHorizontallyScrolling, but the function name conflicts
with our API naming convention. So, I created public API
isHorizontallyScrolling instead.

Bug: 117520716
Test: atest TextViewTest
Test: make offline-sdk-docs
Change-Id: I79666c8920cdfcb9dc68ae3701c6599f063df5fd
2018-12-13 15:58:49 -08:00
Eric Laurent
f5320502e2 Merge "AudioEffect: make effect descriptor parcelable" 2018-12-13 22:36:26 +00:00
Jeff Sharkey
0132344dc4 Merge "This is a giant mess." 2018-12-13 21:04:14 +00:00
Nader Jawad
8168f6fa28 Merge "Added support for additional Blend Modes" 2018-12-13 21:02:37 +00:00
Eric Laurent
7674052684 AudioEffect: make effect descriptor parcelable
Make AudioEffect.Descriptor class parcelable so that a list of
active effects can be included into AudioRecordingConfiguration.

Note: AudioEffect.Descriptor class was made final but it is OK as it
was never consumed by any SDK API.

Bug: 111438757
Test: make
Change-Id: I238b4ea47c613fd2abacc8729d9baf31423283a4
2018-12-13 10:49:51 -08:00
Narayan Kamath
2c07da7945 Merge "Add ModuleInfo class" 2018-12-13 17:34:24 +00:00
Vishnu Nair
1899955c1c Pip: Use raw input coordiates when calculating pip movement offsets
* Recently the pip_input_consumer changed to move with the pinned stack bounds.
* Change the touch logic to use raw input coordinates so that we do not have to
  account for the pip_input_consumer position.
* Add workaround for velocity tracker to support moving input frame.
* Use getActionMasked instead of getAction for MotionEvents. This fixes b/120942892.

Test: Test moving pip window in YouTube and Chrome
Bug: 120663157, 120942892
Change-Id: I0a8b2eea7ee5930a6651ad037eaa0f898fe8635d
2018-12-13 09:28:11 -08:00
Jeff Sharkey
28d437142d This is a giant mess.
Bug: 120846329
Test: none
Change-Id: Ide0325d9f8e6accc961f456296125f3306aaca54
2018-12-13 10:03:06 -07:00
Emilian Peev
275da0ba0d Camera: Add reprocessable mandatory stream combinations
Mandatory reprocessable stream combinations must include
at least one input stream and one ZSL output with the same
format and size.

Bug: 111593096
Test: Camera CTS
Change-Id: I4bdfb8b540ccce583b01ea200d8c7e252dd72b12
2018-12-13 15:05:38 +00:00
Emilian Peev
423cbd7107 Camera: Add support for mandatory stream combinations
Generate static mandatory stream combinations according
to the camera device capabilities.

Bug: 111593096
Test: Camera CTS
Change-Id: I18014575090baa61785f213afded46a857928bc8
2018-12-13 15:05:27 +00:00
Olivier Gaillard
f2aff2c42c Merge "Make work source APIs visible to system apps." 2018-12-13 09:04:25 +00:00
Hyundo Moon
339df28878 Merge "AML: Make config_mediaMetadataBitmapMaxSize as @SystemApi" 2018-12-13 06:52:31 +00:00
TreeHugger Robot
e64ba8b491 Merge "fragileUserData-apps might keep data on uninstall" 2018-12-13 06:24:34 +00:00
Jordan Liu
6f6fbb09db Merge "Add API to get card ID for default eUICC" am: 97c68169b8 am: b957efea96
am: f59b035894

Change-Id: I873ce26013e2c9f4fa84b4fef07f33a5be983247
2018-12-12 21:07:19 -08:00
Jordan Liu
f59b035894 Merge "Add API to get card ID for default eUICC" am: 97c68169b8
am: b957efea96

Change-Id: Ic2f23ca2bd7721468207de9e3342d7808bf87fd3
2018-12-12 20:28:30 -08:00
Lifu Tang
8bac1090ee Merge "Undeprecate injector API to allow change summary" 2018-12-13 03:59:40 +00:00
TreeHugger Robot
8c93e2b28b Merge "Introduce EXTRA_FROM_TEXT_CLASSIFIER" 2018-12-13 02:10:46 +00:00
Tony Mak
c5a4612ffa Introduce EXTRA_FROM_TEXT_CLASSIFIER
To indicate the intent is from text classifier, so apps can log
the traffic from text classifier.

Test: atest IntentFactoryTest
Test: atest TextClassifierTest
BUG: 120944241

Change-Id: I6584504a39c0db3c1de1eaab6915b26b30adadcd
2018-12-13 02:09:08 +00:00
Jesse Fuentes
b9c35c1c0c Propagation of additional Ims Call Fail Causes
-Added new ImsReasonInfo error codes
-Add the new error codes in system-current.txt

Test:Manual
Bug:115925183

Change-Id: Id10651d08de2b77f0562e3c8733be76032a9611e
2018-12-12 17:49:50 -08:00
TreeHugger Robot
d348897131 Merge "Add getAccessibilityWindowId system process API" 2018-12-12 23:57:09 +00:00
TreeHugger Robot
4510b4444f Merge "Add system APIs to query intent components and application info." 2018-12-12 23:53:49 +00:00
Hai Zhang
8c7e93b1d0 Add system APIs to query intent components and application info.
This change adds the system APIs to query intent components and
application info, which is required for the Default apps UI in
permission controller to work for work profile.

Bug: 110557011
Test: build
Change-Id: I7e2d92f9ccae2e764a1ce0040a7f84bc4f21dbb5
2018-12-12 23:49:35 +00:00
TreeHugger Robot
a44e66a504 Merge changes from topic "reference_time_tc"
* changes:
  Populate person and reference time, uses more than the last message in NAS
  Pass reference time / locales of messages to the model
2018-12-12 23:30:02 +00:00
Tyler Gunn
7e45b7241b Add CallerIdentification to CallScreeningService API.
Updating the CallScreeningService to support passing call identification
information for incoming/outgoing calls.
Updating call log to log call identification information.

Bug: 63966743
Test: Manual with test app.
Change-Id: Ie6c172c09007eb5f4853d36ae0a99b782bfb5ddb
2018-12-12 15:12:31 -08:00
Jordan Liu
97c68169b8 Merge "Add API to get card ID for default eUICC" 2018-12-12 22:20:03 +00:00
Philip P. Moltmann
ae4a4b987b fragileUserData-apps might keep data on uninstall
If an app declares that is has flagile user data, all the user to choose
to keep the app-data on uninstall.

Test: Unistalled apps that set the new flag and app that did not.
      Verified that the KEEP_DATA flag was set when checkbox was
      clicked.
Change-Id: I032fb21854352bbc175934ae5eb68a1430b1d403
Fixes: 117578306
2018-12-12 13:37:44 -08:00
Varun Shah
fcfb51fa4e Merge "Moved getWellbeingPackage() from SystemApi to TestApi." 2018-12-12 21:34:53 +00:00
Youming Ye
dcd62ad6c3 Merge "Enable Telecom to bind third party InCallServices." 2018-12-12 21:18:35 +00:00
TreeHugger Robot
559ff8acbc Merge "New API for getting the screen lock complexity" 2018-12-12 21:12:43 +00:00
Hui Yu
b8f2dff7c6 Merge "UsageStats tracking of screen usage." 2018-12-12 20:51:00 +00:00
Michele Berionne
fe07ee9128 Merge "Remove @hide annotation from KEY_CARRIER_CONFIG_VERSION_STRING" am: ac9e1f5580 am: e4176ca234
am: eda9958c6d

Change-Id: Ief7fe2af1bc4bbf6b6028d5a801c1929c5f7a3a6
2018-12-12 11:46:41 -08:00