Commit Graph

439264 Commits

Author SHA1 Message Date
Malcolm Chen
4ece3db113 Expose setUiccApplicationsEnabled as @SystemApi for eSIM to call upon slot
mapping change.

Because currently we rely on eSIM module to do handle some slot mapping
change and single to dual SIM config change, eSIM needs to also make
sure uicc applications are enabled for certain scenarios. So we expose
the SubscriptionManager#setUiccApplicationsEnabled as @SystemApi

Bug: 141018421
Test: unittest
Change-Id: I9844e71260ea009afd0928a0f4be4426e7d12358
Merged-In: I9844e71260ea009afd0928a0f4be4426e7d12358
2020-01-08 13:56:27 -08:00
Malcolm Chen
443ba6fc8d Mainline: remove usage of hiddepn API SubscriptionManager#getPhoneId
Re-submit Iee05686bb935b9459e1f20654ec016c7c42e01af with unittest fixes.

Bug: 140908357
Test: build
Change-Id: Ia997291dc13487dad43519641369b4a357614602
Merged-In: Ia997291dc13487dad43519641369b4a357614602
2020-01-08 13:50:41 -08:00
Malcolm Chen
2619a9b138 [Mainline] Make canManageSubscription(SubscriptionInfo, String)
System API.

Bug: 146900942
Test: Build flash and bootup
Change-Id: I824582f9203b950d1153091181de345629adfe65
Merged-In: I824582f9203b950d1153091181de345629adfe65
2020-01-08 13:39:36 -08:00
Hall Liu
f428f58080 Merge "Add setDisabledForSimNetworkLock to StatusBarManager" 2020-01-08 20:54:48 +00:00
Andrei-Valentin Onea
e7194bfdfc Merge changes from topic "fix-policy"
* changes:
  Refactor CompatConfigTest and PlatformCompatTest
  Add test for OverrideValidatorImpl
  Enforce overriding methods for IPlatformCompat
2020-01-08 18:42:44 +00:00
Yifan Hong
d0c62b9dab Merge changes from topics "vab_allocate", "vab_wait"
* changes:
  Use @ErrorCode for UpdateEngineCallback
  Add @ErrorCode annotation to UpdateEngine APIs
  Add UpdateEngine.cleanupSuccessfulUpdate
  Add UpdateEngine.allocateSpace
2020-01-08 18:37:16 +00:00
nchalko
53379f83d1 Merge "Add hearingImpaired information to TvTrackInfo" 2020-01-08 18:27:36 +00:00
Xin Li
45fa8ce95e Merge "DO NOT MERGE - Merge January 2020 Security Release into master" 2020-01-08 17:39:17 +00:00
Treehugger Robot
9395887931 Merge "Use new UnsupportedAppUsage annotation." 2020-01-08 16:49:24 +00:00
Sunny Goyal
d92149a76a Merge "Remove AppWidgetManagerInternal instance before adding to global registry of LocalServices" 2020-01-08 15:22:09 +00:00
Artur Satayev
33f9217695 Use new UnsupportedAppUsage annotation.
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.

Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I0c336de56bc4a041dc97ff9b7927f62f0b44b457
Merged-In: I0c336de56bc4a041dc97ff9b7927f62f0b44b457
2020-01-08 14:04:40 +00:00
Kyeongkab.Nam
8bbcf8aae5 Add hearingImpaired information to TvTrackInfo
Add TIF API for getting hearing impaired attribute for audio and
subtitle tracks in order for TV App to use it.

Test: build
Bug: 112835103
Change-Id: I4046b5d49fcec2b944972bc532e844f0bdab9476
2020-01-08 17:51:27 +09:00
Rick Yiu
e716ff86af Merge "Revert "Implement the ThreadPrioritySetter interface"" 2020-01-08 06:49:37 +00:00
SongFerng Wang
995d20337f Merge "[Mainline] Create getDataRegistrationState and expose as system api" 2020-01-08 06:38:27 +00:00
Aaron Huang
b5b0b321f6 Merge "Make Context.NETWORK_POLICY_SERVICE @SystemApi" 2020-01-08 03:22:43 +00:00
Po-Chien Hsueh
00cf589f45 Merge "Remove notification right after clicking on cancel" 2020-01-08 03:05:42 +00:00
Treehugger Robot
f04ee52d5a Merge "Add audio description information to TvTrackInfo" 2020-01-08 02:43:24 +00:00
Treehugger Robot
5e7e617e17 Merge "Make the BluetoothHidHost class @SystemApi" 2020-01-08 02:43:18 +00:00
Rick Yiu
6df72bd988 Revert "Implement the ThreadPrioritySetter interface"
Revert submission 1194951-ThreadPrioritySetter2

Reason for revert: need to update new API
Reverted Changes:
Iee33a26c0: Implement the ThreadPrioritySetter interface
I71c5052be: Use ThreadPrioritySetter to set thread priority

Change-Id: I38c1335bff657662d82ff8778bffade323ced620
2020-01-08 02:22:39 +00:00
Treehugger Robot
7278d6a07c Merge "Add dbright to OWNERS file" 2020-01-08 02:05:10 +00:00
Rahul Sabnis
9913cb52cf Make the BluetoothHidHost class @SystemApi
Bug: 146462547
Test: Manual
Change-Id: I2044e850583701173b51ca89e30ff8aa79bb255c
2020-01-07 17:02:22 -08:00
Treehugger Robot
7ecda7500f Merge changes from topic "fix-package-manager-usages"
* changes:
  Fix usages of PackageManager APIs in Telephony
  Fix hidden API usage in PackageChangeReceiver
2020-01-08 01:00:22 +00:00
Mark Chien
b763432e14 Merge "Fix some @hide usage in Tethering" 2020-01-08 00:37:43 +00:00
Shuo Qian
6a2dab6878 Merge "Expose getActiveSubscriptionInfoForIcc for Mainline" 2020-01-07 23:48:56 +00:00
Xin Li
055da6677a DO NOT MERGE - Merge January 2020 Security Release into master
Bug: 147314974
Change-Id: Ib01393cc7cd5fe54761e52b14763d35f2c4f90db
2020-01-07 15:25:24 -08:00
Peter Wang
18077c1587 Merge "[Telephony Mainline] Move CarrierAppUtils and LocationAccessPolicy to telephony common" 2020-01-07 22:59:17 +00:00
Daniel Bright
599866e91f Merge "Commented out NETWORK_TYPE_LTE_CA in logging function" 2020-01-07 22:47:39 +00:00
Daniel Bright
f7da4c4d8e Add dbright to OWNERS file
Bug: 147314799
Test: N/A
Change-Id: Ib6f0eb7d9697519477567e287077e994d3ae2ee8
2020-01-07 14:43:51 -08:00
Steven Moreland
663e1700be Merge "vibrator: use package as name" 2020-01-07 22:43:01 +00:00
sqian
ff8dfe7eb2 Expose getActiveSubscriptionInfoForIcc for Mainline
Test: cts; treehugger
Bug: 122015219
Change-Id: I900e36fafe009206ec7431220603fcb8f404e33e
Merged-In: I900e36fafe009206ec7431220603fcb8f404e33e
(cherry picked from commit b086534dbe)
2020-01-07 13:45:07 -08:00
Rahul Sabnis
53c8e6cbc0 Merge "Add setConnectionPolicy to BluetoothPbap"
am: c0c8c00976

Change-Id: I96a64f6a86392f1140884fc03f8059b5590e8736
2020-01-07 12:56:19 -08:00
markchien
6aca95071a Merge "Both build 32 and 64 architecture for TetheringTests"
am: 736ed507d6

Change-Id: Ifdad078ceab7a948629e5d6d8c4cca15da796359
2020-01-07 12:42:47 -08:00
Treehugger Robot
c0c8c00976 Merge "Add setConnectionPolicy to BluetoothPbap" 2020-01-07 20:33:21 +00:00
Treehugger Robot
736ed507d6 Merge "Both build 32 and 64 architecture for TetheringTests" 2020-01-07 20:30:15 +00:00
Meng Wang
2d9062cc48 Merge "Remove unused broadcast DATA_CONNECTION_FAILED"
am: d8836ba33f

Change-Id: Ibc5582f7e6ad9628baf0b2047a84048a86f001b3
2020-01-07 12:14:16 -08:00
Jordan Liu
01493ff22b Merge "Add isEmergencyApn"
am: 660a94aea9

Change-Id: I2cc69815894a426423396efb512986581b25c3e3
2020-01-07 12:10:35 -08:00
Chen Xu
78f50dfb15 Merge "Revert submission 1182953-1576003954286-8455af5a"
am: 06675f9106

Change-Id: Ib13d9717878f79649f68cb609e9ac42f575df062
2020-01-07 12:07:06 -08:00
Meng Wang
d8836ba33f Merge "Remove unused broadcast DATA_CONNECTION_FAILED" 2020-01-07 19:59:36 +00:00
Jordan Liu
660a94aea9 Merge "Add isEmergencyApn" 2020-01-07 19:29:39 +00:00
Chen Xu
06675f9106 Merge "Revert submission 1182953-1576003954286-8455af5a" 2020-01-07 19:29:08 +00:00
Hall Liu
e7baa9e91e Fix usages of PackageManager APIs in Telephony
Remove usages of the hidden PackageManager#*asUser methods from
Telephony, and add some unit tests to verify the functionality.

Test: atest FrameworksTelephonyTests
Test: atest TelephonyCommonTests
Bug: 146834818
Change-Id: I2e2ec2c421773e3ff58556373896238e1ff0678a
Merged-In: I2e2ec2c421773e3ff58556373896238e1ff0678a
2020-01-07 11:01:55 -08:00
Hall Liu
437010229d Fix hidden API usage in PackageChangeReceiver
Use Context#createContextForUser instead of calling
Context#registerReceiverForUser.

Test: atest FrameworksTelephonyTests
Bug: 146834818
Change-Id: Ia239499219218d30d1556007ac4561a5ec44b72f
Merged-In: Ia239499219218d30d1556007ac4561a5ec44b72f
2020-01-07 11:01:49 -08:00
James Lin
2072de8ff8 Merge "Do not use hidden HandlerExecutor"
am: 166c8761a4

Change-Id: I6a82684f3d12e01fb8aa7501a229348fc33ef4ea
2020-01-07 10:41:50 -08:00
James Lin
166c8761a4 Merge "Do not use hidden HandlerExecutor" 2020-01-07 18:35:07 +00:00
Neil Fuller
1d866c0bf3 Merge "Fix annotation / debugging"
am: 69bbb1904f

Change-Id: I9da174d658ada4acf399fe9f743b012aea7ebeae
2020-01-07 08:29:19 -08:00
Neil Fuller
69bbb1904f Merge "Fix annotation / debugging" 2020-01-07 16:24:38 +00:00
Neil Fuller
4d10019960 Fix annotation / debugging
Fix copy and paste errors from commit 4ab8a199de -
the API is new so does not need @UnsupportedAppUsage and
the debug log was incorrect.

Bug: 140712361
Test: build only
Change-Id: I123f76d011d7505d3dc053cb48c40353f0579d17
2020-01-07 14:32:29 +00:00
Tobias Thierer
55024898c8 Merge "android.net.http: Update OWNERS."
am: 106d798af8

Change-Id: I4f135178ae22b85d0c9196ac70ba6bc6b2793d80
2020-01-07 05:50:18 -08:00
Sooraj Sasindran
041a6d3125 Do not use hidden HandlerExecutor
Do not use hidden HandlerExecutor

Bug: 140908357
Test: Build

Change-Id: I998224991cb31d642435a23851aa18da3f00f159
Merged-In: I998224991cb31d642435a23851aa18da3f00f159
2020-01-07 13:50:12 +00:00
Treehugger Robot
106d798af8 Merge "android.net.http: Update OWNERS." 2020-01-07 13:45:20 +00:00