Commit Graph

22542 Commits

Author SHA1 Message Date
Jordan Liu
2b804df24b Merge "Trigger PhoneStateListener onCallAttributesChanged" am: cd4ca49b18 am: bbd7b9170a
am: 3be2df7b4f

Change-Id: Id1a5684693554f10159f90f607c7a4f7ad1e3d51
2019-01-18 23:30:22 -08:00
Jordan Liu
3be2df7b4f Merge "Trigger PhoneStateListener onCallAttributesChanged" am: cd4ca49b18
am: bbd7b9170a

Change-Id: Iefb3d9845b95e22f45ecfeb47f770b708951438a
2019-01-18 23:13:05 -08:00
TreeHugger Robot
84686f1140 Merge "Resolve all browsers even if there is a default browser." 2019-01-19 06:55:12 +00:00
Treehugger Robot
cd4ca49b18 Merge "Trigger PhoneStateListener onCallAttributesChanged" 2019-01-19 06:49:09 +00:00
Hai Shalom
f1845027ca Merge changes from topic "isEasyConnectSupported"
* changes:
  [DPP] Rename isDppSupported to isEasyConnectSupported
  [DPP] Add more documentation about Easy-Connect (DPP)
2019-01-19 06:39:41 +00:00
Jeff Tinker
e607b5fb2d Merge "Add support for HDCP 2.3" 2019-01-19 05:48:02 +00:00
TreeHugger Robot
4453778fb1 Merge changes from topic "DppExecutor"
* changes:
  [DPP] Use Executor instead of Handler in Easy Connect API
  [DPP] Add more documentation about stopEasyConnectSession API
2019-01-19 04:33:21 +00:00
TreeHugger Robot
1cb37aae7c Merge "ImageReader/ImageWriter: unhide newInstance methods" 2019-01-19 01:11:44 +00:00
Michele Berionne
da8ca7f8ac Merge "Carrier restriction enhancements for Android Q" am: 98391daa29
am: 941ad71f35

Change-Id: I1c9e816516eeb25d775d71fae8684af25e22fefb
2019-01-18 17:03:11 -08:00
Hai Zhang
e029713362 Resolve all browsers even if there is a default browser.
PackageManager.queryIntentActivities() handles browser intent
differently when there is a default browser, and only returns the
default browser. Previous code for querying all the browsers all
passed in the PackageManager.MATCH_ALL flag and filtered the result
manually, so we move that logic into RoleBehavior.

Bug: 110557011
Test: build
Change-Id: I928f13d27aca64d49f625dd1ffbd3262b42a06cd
2019-01-18 16:58:56 -08:00
TreeHugger Robot
55d0e93a15 Merge "Annotation processing for @InspectableProperty" 2019-01-19 00:40:07 +00:00
TreeHugger Robot
c9c272bb60 Merge "Removed ContentCaptureSession.FLAG_USER_INPUT." 2019-01-19 00:11:44 +00:00
TreeHugger Robot
8d37a6661a Merge "Bluesky change LOS from bool to float prob" 2019-01-19 00:05:47 +00:00
Varun Shah
de77b6fee7 Merge "Clarified CrossProfileApps API and documentation." 2019-01-18 23:25:07 +00:00
Jiuyu Sun
2b9f09ba7e Merge "Populate cardId in resolution intent." 2019-01-18 23:10:15 +00:00
TreeHugger Robot
2ba0d6ff68 Merge "[DPP] Add _GENERIC suffix to EASY_CONNECT_EVENT_FAILURE code" 2019-01-18 23:05:39 +00:00
Perumaal Shanmugam
b1882925b5 Merge "Add content_capture and autofill experiment namespaces" 2019-01-18 22:45:09 +00:00
Michele Berionne
a4a1ae499d Carrier restriction enhancements for Android Q
Add support for dual SIM to carrier restrictions.
Add support to exclude specific carriers in the list of carrier
restrictions.

Bug: 120313541
Test: Created test application to verify correct functionality.
Test: Added test cases for CarrierRestrictionRules.
Change-Id: I2723fb07db13efdafbc74471a87182e2d2a32718
Merged-In: I2723fb07db13efdafbc74471a87182e2d2a32718
2019-01-18 22:37:12 +00:00
Yin-Chia Yeh
d07e9ec5ae ImageReader/ImageWriter: unhide newInstance methods
ImageReader: unhide the factory method to assign usage flag
ImageWriter: unhide the factory method to assign format

Test: new CTS tests
Bug: 112171574
Change-Id: Ia2579c466cdad378ecedc6398a652bb5f4e6aeec
2019-01-18 14:21:23 -08:00
Xiangyu/Malcolm Chen
5837dcdbb5 Merge "Add System API to enable / disable a logical modem." 2019-01-18 22:20:14 +00:00
Ashley Rose
c1a4decb39 Annotation processing for @InspectableProperty
Test: atest --host view-inspector-annotation-processor-test
Bug: 117616612
Change-Id: Ia9641b4efae5f6945084849309f81f2d31faf2ec
2019-01-18 16:47:29 -05:00
Felipe Leme
21e8dcb3fc Removed ContentCaptureSession.FLAG_USER_INPUT.
This flag was meant to indicate when a text was changed by the user (for example, using IME), but
that information is not readly available and would require changes in too many parts of the system,
so it's not worth the effort (at least for now...).

Test: m update-api
Test: atest CtsContentCaptureServiceTestCases \
      FrameworksCoreTests:android.view.contentcapture.ContentCaptureSessionTest

Fixes: 121045053

Change-Id: Ifcdd5e5bb0c6c5c0f840fe0bbdbda8eca9bdb479
2019-01-18 13:13:06 -08:00
TreeHugger Robot
a431857cc2 Merge "ContentCapture: add new API to notify views deletion on batch." 2019-01-18 20:56:51 +00:00
Malcolm Chen
cf21ad751a Add System API to enable / disable a logical modem.
Bug: 122926141
Test: unittest
Change-Id: Ifeb3b135ba9ecba8982a911f369fa266468d2e45
2019-01-18 12:29:28 -08:00
Perumaal S
5c016dacb7 Add content_capture and autofill experiment namespaces
No functional changes, just @hide api changes.

Test: m update-api
Change-Id: I4e92c7dd3393edf3526ccd94dfd617fb225aa09a
Bug: 121037717
2019-01-18 12:07:38 -08:00
Alex Salo
61ae7ed2c6 Merge "Add skeleton implementation for Attention API" 2019-01-18 20:01:54 +00:00
gomo
b4635ba90d Bluesky change LOS from bool to float prob
Change the field indicating that the GNSS satellite is line of sight
or not from boolean to a float representing hte probability of being
line of sight.

Bug: 111441283
Test: Existing tests pass.
Change-Id: I746d7b16dcbb7c8968163f512a70aac7511402b6
2019-01-18 11:16:01 -08:00
TreeHugger Robot
bf62afc1fc Merge "Add Paint#get(ShadowLayer)ColorLong" 2019-01-18 17:32:08 +00:00
Peiyong Lin
9789e55ac0 Merge "Add HDR_10_PLUS to HdrCapabilities." 2019-01-18 17:24:03 +00:00
Bo Zhu
f37f0cc30a Merge "Add an optional metadata blob for recoverable application keys" 2019-01-18 17:17:53 +00:00
Christine Franks
5daa35687a Merge "Add per-app grayscale to CDS" 2019-01-18 17:13:24 +00:00
Varun Shah
bdb849f8b1 Clarified CrossProfileApps API and documentation.
Changed CrossProfileApps#startAnyActivity to #startAcitivty.

Updated documentation for the usage of startActivity vs startMainActivity.
Also clarified that the INTERACT_ACROSS_PROFILES permission is a two-way
channel between personal and managed profiles.

Bug: 122886462
Test: n/a (documentation changes only)
Change-Id: I67772aef0cf24110432a2dbde0f87c91354fd4a0
2019-01-17 22:56:03 -08:00
TreeHugger Robot
615329242c Merge "Media2: Provide a way to tell session's playback active state" 2019-01-18 05:47:41 +00:00
Felipe Leme
481a984a82 Merge "ContentCapture: new API to notify virtual views deletion on batch." 2019-01-18 03:43:01 +00:00
Hai Shalom
50b9e393bc [DPP] Rename isDppSupported to isEasyConnectSupported
Rename isDppSupported to isEasyConnectSupported to be
consistent with the rest of the API.

Bug: 123041766
Test: atest com.google.android.gts.setupwizard.DppHostTest
Test: act.py -c ../WifiDppConfig.json -tc WifiDppTest
Change-Id: I45fe54140c593b33b43fb67128c5e540859cc3ff
2019-01-17 19:02:14 -08:00
Michele Berionne
996d9f6a38 Merge "Carrier restriction enhancements for Android Q" 2019-01-18 02:56:16 +00:00
Mehdi Alizadeh
b4367b7bab Merge changes from topic "shortcuts-for-sharing"
* changes:
  Disable the use of new share target API in ShareSheet
  Loads direct share targets from ShortcutManager in ShareSheet
2019-01-18 02:42:32 +00:00
Bo Zhu
c704834cb6 Add an optional metadata blob for recoverable application keys
This metadata, if present, will be authenticated (but unencrypted)
together with the application key material.

Bug: 112191661
Test: atest FrameworksCoreTests:android.security.keystore.recovery
      atest FrameworksServicesTests:com.android.server.locksettings.recoverablekeystore
      atest -m RecoveryControllerHostTest RecoverableKeyStoreEndtoEndHostTest RecoverySessionHostTest

Change-Id: I2846952758a2c1a7b1f0849e1adda1f05a3e305e
2019-01-17 17:38:19 -08:00
Mehdi Alizadeh
fd4055bb0c Merge "Adds API to set persons and isLongLived in ShortcutInfo" 2019-01-18 01:12:01 +00:00
Holly Jiuyu Sun
da56f08b94 Populate cardId in resolution intent.
When LPA resolves a resolvable error, it needs to get an instance of
EuiccManager. Since we add cardId in EuiccManager from Q, we also need
to populate the cardId in the resolution intent so that when LPA solves
the resolvable errors, it uses the EuiccManage with the same cardId as
before.

Bug: 68941776
Test: test on phone
Change-Id: I780c39856c36516dbf1546eff28348a83d0a4fc9
2019-01-17 17:09:09 -08:00
Peiyong Lin
2893700ed9 Merge "Add DeviceConfig namespace for Game Driver." 2019-01-18 00:14:12 +00:00
Hai Shalom
77dc840540 [DPP] Use Executor instead of Handler in Easy Connect API
Following API Council review, use Executor instead of Handler
in all Easy Connect API.

Bug: 122984003
Test: atest com.google.android.gts.setupwizard.DppHostTest
Test: atest DppManagerTest
Test: act.py -c ../WifiDppConfig.json -tc WifiDppTest
Change-Id: I58f61929e4b8792d43fc495ddaa51f766737b743
2019-01-17 15:45:46 -08:00
Yifan Hong
e331390d1f Merge "Add VintfObject / VintfRuntimeInfo methods to TestApi." 2019-01-17 23:44:46 +00:00
Felipe Leme
48f363c5b2 ContentCapture: add new API to notify views deletion on batch.
Test: atest CtsContentCaptureServiceTestCases
Bug: 121050915

Change-Id: I325cfb2954c7c990c8916fe9b17a2642dcaa1c79
2019-01-17 15:29:29 -08:00
Felipe Leme
b53afba86a ContentCapture: new API to notify virtual views deletion on batch.
Test: atest CtsContentCaptureServiceTestCases:LoginActivityTest#testVirtualView_batchDisappear
Bug: 121050915

Change-Id: Ia5fc6b88819866142b883d58ab936b6a38b3288b
2019-01-17 15:29:19 -08:00
Jayachandran Chinnakkannu
212ac77c9c Merge "Revert to previous constant value for ApnSetting.TYPE_DEFAULT." am: 54ad67f884
am: 793a3dac05

Change-Id: I4496b110d3fede92f8419e8150b6bf1c2b18fb9d
2019-01-17 14:58:40 -08:00
Ecco Park
37f2ba0a3f Merge "passpoint-r2: add @systemApi for Passpoint APIs" 2019-01-17 22:32:49 +00:00
TreeHugger Robot
3b6f1ed1a9 Merge "passpoint: mark as @deprecated and add permissions" 2019-01-17 22:28:05 +00:00
Shuo Qian
e11e621d5a Merge "Add Emergency Number Test Mode" 2019-01-17 21:52:58 +00:00
Michele Berionne
39ec88f1dc Carrier restriction enhancements for Android Q
Add support for dual SIM to carrier restrictions.
Add support to exclude specific carriers in the list of carrier
restrictions.

Bug: 120313541
Test: Created test application to verify correct functionality.
Test: Added test cases for CarrierRestrictionRules.
Change-Id: I2723fb07db13efdafbc74471a87182e2d2a32718
2019-01-17 13:50:36 -08:00