Commit Graph

27324 Commits

Author SHA1 Message Date
TreeHugger Robot
87bb84da38 Merge "Add query functionalities to query all of crates" 2019-12-19 07:16:37 +00:00
Zoey Chen
6d52aabe88 Merge "[Settings] Expose @hide #isApnMetered as @SystemApi" 2019-12-19 03:40:48 +00:00
Shuzhen Wang
f8aca7b463 Merge "Camera: Add support for CONTROL_ZOOM_RATIO" 2019-12-19 03:32:59 +00:00
TreeHugger Robot
92f2b0da89 Merge "Make MediaController.getTag public" 2019-12-19 03:01:05 +00:00
Sungsoo Lim
46effee5ee Make MediaController.getTag public
Bug: 146527402
Test: build
Change-Id: Iff105885aec205422d34f19fcf51340c6b6cdc71
2019-12-19 03:00:37 +00:00
Ahmed ElArabawy
64bae6b78f Merge "Wifi: Update AP Bands to include 6GHz" 2019-12-19 02:30:14 +00:00
Automerger Merge Worker
9cb5cdae99 Merge "Expose ACTION_NETWORK_SET_TIME as system API" am: d3adef0662 am: 2bebf8f83b am: 63ccc52096
Change-Id: I3d1071de60c06134d055f02d4bc759ea19a6261e
2019-12-19 01:01:37 +00:00
Automerger Merge Worker
63ccc52096 Merge "Expose ACTION_NETWORK_SET_TIME as system API" am: d3adef0662 am: 2bebf8f83b
Change-Id: I9dd2456ce684fd3c5ce3c3f4c07e7e5d96393d98
2019-12-19 00:47:33 +00:00
Jayachandran Chinnakkannu
d3adef0662 Merge "Expose ACTION_NETWORK_SET_TIME as system API" 2019-12-19 00:24:57 +00:00
Automerger Merge Worker
21b26dd979 Merge "Add post-call screen API." am: f5b6267d93 am: 1ad17b6ded am: 7e749b24bf
Change-Id: I6ecd2f7626c2f4686a7e02347a5ffacc6aaf5817
2019-12-18 22:03:06 +00:00
Automerger Merge Worker
48fb7f1424 Merge "Expose Circle and Polygon as SystemApi" am: ac2b27aed1 am: 66cd02ff4e am: 208fcd6196
Change-Id: I4d33ca2e468a2a98b61400a4e3f5de08daf72e29
2019-12-18 22:02:33 +00:00
Automerger Merge Worker
7e749b24bf Merge "Add post-call screen API." am: f5b6267d93 am: 1ad17b6ded
Change-Id: Iae4072e134946cc76b0c3474e6c8856513a9c9f3
2019-12-18 21:44:52 +00:00
Automerger Merge Worker
208fcd6196 Merge "Expose Circle and Polygon as SystemApi" am: ac2b27aed1 am: 66cd02ff4e
Change-Id: Ibaec635c2b76e8aa8a4152841b4888830ad9e7db
2019-12-18 21:44:19 +00:00
Grace Jia
91cec6ee8f Add post-call screen API.
Test: manual
Bug: 135929421
Change-Id: I63043646bb96b8543849c617ce1ccd41a558f24d
2019-12-18 21:07:40 +00:00
Jordan Liu
ac2b27aed1 Merge "Expose Circle and Polygon as SystemApi" 2019-12-18 20:56:22 +00:00
Kevin Chyn
a04597b8c7 Merge "Deprecate ACTION_FINGERPRINT_ENROLL and add ACTION_BIOMETRIC_ENROLL" 2019-12-18 19:37:29 +00:00
Daniel Huang
53484a4946 Merge "Add more error codes." 2019-12-18 18:22:08 +00:00
David Su
9ec3b95dc1 Merge "Expose getters for WifiP2pConfig fields" 2019-12-18 18:15:24 +00:00
Felka Chang
71e3efed54 Add query functionalities to query all of crates
Once the application called Context.getCrateDir(), the crates root
directory is also created. The application can mkdir directory under the
crates root. Each child directory in crates root is one crate.

Each crate information is descibed by CrateInfo. CrateInfo contains
the following information.
* Label:
    It is used to display text to the users.
    Default is the folder name.
* Expiration:
    When the system needs more space. The system will clean the files
    in the crates according to the expired or not.
    Default is 0.

Test: atest \
    CtsOsTestCases:android.os.storage.cts.CrateInfoTest \
    CtsOsTestCases:android.os.storage.cts.StorageCrateTest \
    CtsOsTestCases:android.os.storage.cts.StorageStatsManagerTest

Bug: 141660526

Change-Id: Icdc8123c481ef7c5b4fd68ffcfd334ffbfc9d655
2019-12-18 23:04:15 +08:00
danielwbhuang
7e4b4629d0 Add more error codes.
1. Add error codes for setPreferredOpportunisticDataSubscription and updateAvailableNetworks
2. Use Compatibility Framework to remap them.

Test: run atest.
1.atest TelephonyManagerTest#testPreferredOpportunisticDataSubscription
2.atest TelephonyManagerTest#testUpdateAvailableNetworks

Bug: 130595455
Merged-In: I6f386bfcf75236e30141fab89e2b62ee3a8cb59e
Change-Id: I6f386bfcf75236e30141fab89e2b62ee3a8cb59e
2019-12-18 06:13:51 +00:00
David Su
8f24cd9db3 Expose getters for WifiP2pConfig fields
CTS cannot test @hide fields, need public getters.

Bug: 146463839
Test: atest WifiP2pConfigTest
Change-Id: Iaa6cb069fb445d65778c8c6b6a238a82160d376f
2019-12-17 22:13:41 -08:00
Felka Chang
0384736c1d Merge "Add the root of crates by Context.getCrateDir" 2019-12-18 03:44:30 +00:00
Jeff Sharkey
e0ae4a4d5b Merge "Shuffling to prepare for MediaProvider APEX." 2019-12-18 01:44:59 +00:00
Jeff Sharkey
04b4ba1e15 Shuffling to prepare for MediaProvider APEX.
An upcoming change will move MediaStore to be within the recently
created MediaProvider APEX.  This means that MediaStore will need to
be fully built against @SystemApi, and so this CL adjusts APIs to
support a clean transition:

-- Listing of "recent" storage volumes and scan paths for "internal"
storage is now handled by StorageManager directly, so that partners
retain control over what is deemed recent.
-- StorageVolume now returns the MediaStore volume name and the
filesystem directory where its contents are presented to apps.
-- Conversion of legacy thumbnail "kind" values to dimensions now
happens directly inside MediaStore.
-- PendingParams and PendingSession are completely removed.
-- Contributed media APIs are completely removed.
-- Media for demo users is now surfaced as a unique StorageVolume.
-- Migrate most MediaStore APIs to accept ContentResolver, which
supports easy usage of ContentResolver.wrap().

Bug: 144247087, 137890034
Test: atest --test-mapping packages/providers/MediaProvider
Exempt-From-Owner-Approval: in-place refactoring
Change-Id: I445528b2779bb37b9f2558e67a3cfc9f60412092
2019-12-18 01:35:46 +00:00
Adam He
b50bc1f669 Merge "API for autofill integration with keyboard." 2019-12-18 00:39:13 +00:00
Automerger Merge Worker
fe71eb644a Merge "Define a telephony database column for uicc applications enabled or not." am: fbfe850906 am: b790d2e3ea
Change-Id: Ia27cc3fa37ebc15fe71a1e45b0bda01d199e2def
2019-12-18 00:22:06 +00:00
Automerger Merge Worker
23a632b19d Merge "Telephony: Get SIM card capacity count of SMS" am: 1017905980 am: f8772763e3 am: f368715dc8
Change-Id: I14a94428c3b75912afbdc17bb38e3080d6b47b4e
2019-12-18 00:07:18 +00:00
Xiangyu/Malcolm Chen
fbfe850906 Merge "Define a telephony database column for uicc applications enabled or not." 2019-12-17 23:56:41 +00:00
Taran Singh
a4e4cd1a3d Merge "Add alpha support to Insets API" 2019-12-17 23:52:31 +00:00
Automerger Merge Worker
f368715dc8 Merge "Telephony: Get SIM card capacity count of SMS" am: 1017905980 am: f8772763e3
Change-Id: I85299e0f38f7ea3fe657f265a9799f73aaecb045
2019-12-17 23:52:22 +00:00
Tyler Gunn
1017905980 Merge "Telephony: Get SIM card capacity count of SMS" 2019-12-17 23:31:15 +00:00
Kevin Chyn
5660e918cf Deprecate ACTION_FINGERPRINT_ENROLL and add ACTION_BIOMETRIC_ENROLL
Fixes: 145601433

Test: adb shell am start -a android.settings.BIOMETRIC_ENROLL --ei "android.provider.extra.BIOMETRIC_MINIMUM_STRENGTH_REQUIRED" 1

Change-Id: Icf57e0a8978cae13cfd1b8dca6e75c30e773cf7d
2019-12-17 15:22:31 -08:00
Shuo Qian
cd880e9596 Merge "Make ModemActivityInfo isValid system" 2019-12-17 22:59:54 +00:00
Jordan Liu
8cd7a4cb4a Expose Circle and Polygon as SystemApi
Bug: 145956003
Test: manual
Change-Id: I1af173a6e3772fad8bde2ac93177af894178b18c
2019-12-17 14:59:01 -08:00
Automerger Merge Worker
d22755ae7a Merge "IMS-VT: Add config to control holding a video call" am: fc72e79558 am: 0336989eb8 am: ebf4a71ef1
Change-Id: Icf23f0ce92c4596929260c1537163d5df9a417cf
2019-12-17 21:49:05 +00:00
Automerger Merge Worker
f35a764e81 Merge "User cannot reject a waiting call after a switch call fails" am: ffd2e964c1 am: 86df43feba am: c5fa3f6e33
Change-Id: Id6a189032b12594630721ef450de488711691bc2
2019-12-17 21:48:17 +00:00
Automerger Merge Worker
ebf4a71ef1 Merge "IMS-VT: Add config to control holding a video call" am: fc72e79558 am: 0336989eb8
Change-Id: Icd4ccb99623f3a7d56e682bb1686e963d0765aae
2019-12-17 21:27:33 +00:00
Automerger Merge Worker
c5fa3f6e33 Merge "User cannot reject a waiting call after a switch call fails" am: ffd2e964c1 am: 86df43feba
Change-Id: Ia35d403cc7cfeaa75c627242ec05dac8d4620b55
2019-12-17 21:26:36 +00:00
Shuo Qian
3349553a99 Make ModemActivityInfo isValid system
Make ModemActivityInfo.isValid system because
 getIdleTimeMillis(), getSleepTimeMillis(), and getReceiveTimeMillis()
 are system.

Bug: 146436760
Test: build
Change-Id: Ifc1a1853fe0b7ca143ef95fe3a1abe70e2dc70d4
2019-12-17 21:12:36 +00:00
Tyler Gunn
fc72e79558 Merge "IMS-VT: Add config to control holding a video call" 2019-12-17 21:11:54 +00:00
Tyler Gunn
ffd2e964c1 Merge "User cannot reject a waiting call after a switch call fails" 2019-12-17 21:09:56 +00:00
Jeff Sharkey
e65b0918cf Merge "Methods to streamline bulk media operations." 2019-12-17 20:54:30 +00:00
Alexander Dorokhine
463e5e2d5c Merge "Move framework-appsearch out of framework.jar." 2019-12-17 20:50:51 +00:00
Alex Mang
1165084c1d Merge "Support for NotificationAssistantService to rerank notifications." 2019-12-17 20:40:22 +00:00
Alex Mang
730d949e6d Support for NotificationAssistantService to rerank notifications.
NotificationAssistantService passes a RankingScore via an Adjustment to
NotificationRecord. NotificationManagerService sorts notification using
rank as part of NotificationComparator.

Bug: 146443378
Test: atest NotificationComparatorTest
Change-Id: I9f4d03c7d0ccf5adba4f26f48eb2638aa6caa49b
2019-12-17 20:33:16 +00:00
Nathan Harold
04eaf14fc9 Merge "Expose PreciseDataConnectionState to Public API" 2019-12-17 20:24:50 +00:00
Tarandeep Singh
699aa679a3 Add alpha support to Insets API
All insets side may want to animate with transparency with or without
insets. This change allows any side to do that.
Also, this CL adds fade to IME when its not controlled by app.
This tries to replicate original IME animation.

Bug: 111084606
Test: Manually using test app.

Change-Id: I1ecd4715336a58cd904b2898bb36462e5ce2b6ab
2019-12-17 11:59:25 -08:00
TreeHugger Robot
acdcaf85ad Merge "Create new Carrier configuration for separate MMTEL/RCS features" 2019-12-17 19:50:06 +00:00
Automerger Merge Worker
b9a1b31df1 Merge "Mainline Network Policy constants public" am: 56fcc024bc am: 242454626f am: 9d3d79199b
Change-Id: I34b0cf150df25cfd245cadd51eb37d236b2c4b08
2019-12-17 19:27:46 +00:00
David Su
073ec93bbe Merge "Expose @hide APIs needed by ParceledListSlice" 2019-12-17 19:24:41 +00:00