Commit Graph

6305 Commits

Author SHA1 Message Date
Hall Liu
6b7885f153 Add new columns in CallLog
Add new column definitions in the call log db to support storing the new
call composer elements in the call log. Also refactor addCall to use a
builder pattern, and add READ_VOICEMAIL for shell in order to support
new CTS tests

Test: atest CallLogTest
Bug: 174798736
Change-Id: I00e127510c382d9ff0ffc70f4c5ad7179ac7319a
2021-01-19 16:06:13 -08:00
Peter Wang
c77d2826b4 Merge "Add an API for LPA (SIM Manager) to bring up pages related to managing SIM profiles." 2021-01-15 18:36:46 +00:00
TreeHugger Robot
b4e8c32677 Merge "Revert "Create setting key for emergency gesture call number override"" 2021-01-15 03:50:25 +00:00
Peter Wang
74f0d22468 Add an API for LPA (SIM Manager) to bring up pages related to managing SIM profiles.
Bug: 170507492
Test: Build
Change-Id: I8a2c4e86cb3ffd6ef0dac03ec2e4968839202e7d
2021-01-14 17:27:03 -08:00
Fan Zhang
02bd0389e3 Revert "Create setting key for emergency gesture call number override"
This reverts commit 8e089728c7.

Reason for revert: It turns out we don't need this feature

Change-Id: Ibc042e451d66a1b87ed416bed41461df52f70a66
2021-01-14 22:55:48 +00:00
Hall Liu
6b4ce33480 Merge "Add API for uploading call composer pictures" 2021-01-13 02:31:34 +00:00
Hall Liu
963b83ced9 Merge "Add multiuser and shadow support for call composer" 2021-01-12 18:54:09 +00:00
Hall Liu
9df4a2db81 Add API for uploading call composer pictures
Bug: 175435766
Test: atest CallComposerTest
Change-Id: Ieff0e87ca22162aac42f8ebe705ef6167b1edb33
2021-01-11 16:48:35 -08:00
Hall Liu
5cab473874 Add multiuser and shadow support for call composer
Add code to support copying call composer pictures between users and the
shadow call log when booting into the DE state.

Bug: 174798736
Test: atest ShadowCallLogTest
Change-Id: Ic70f7b74362e797617d66796407a082c19e0c4f4
2021-01-11 16:21:56 -08:00
Jeff DeCew
b1e9252d65 Merge changes from topic "decorate_custom_notifs"
* changes:
  Improve RemoteViews to simplify notification view hierarchy.
  Fully custom view notifications now receive minimal decoration when targeting S.
2021-01-11 21:48:22 +00:00
Kevin Han
68b31b017e Add feature flag for app hibernation.
Add feature flag for app hibernation so that we can begin implementing
behind a feature flag.

We use DeviceConfig as per instructions at go/android-flags-setup so
that we may eventually roll this out to dogfood devices using P/H and
Mendel.

This is the downstream merge of http://aosp/1542244

Bug: 175829330
Test: Builds
Change-Id: I27b4bdd9b6ed25b06fc685183f0dc872094f1b5c
2021-01-08 15:23:01 -08:00
Jeff DeCew
d9e18369bf Fully custom view notifications now receive minimal decoration when targeting S.
* The level of decoration for fully custom notifications can be customized with FULLY_CUSTOM_VIEW_NOTIF_DECORATION
* The level of decoration for decorated notifications can be customized with DECORATED_CUSTOM_VIEW_NOTIF_DECORATION
* Adds some helpful logic when "backporting" S logic so that we can see what UNDO notifications will really look like.

Note: this patch now includes code that used to be in separate reviews: I700472b9c8fba2563b447f570cab7dd60a0a3984 and I55e12843a3edc6e9a78e5b8c848400a8f9228d1c

Test: Manual
Bug: 173522761
Change-Id: I7aba1aec2ba3023857735754c000977c4491b774
2021-01-08 17:01:11 -05:00
Andrei-Valentin Onea
04f02686b8 Merge changes from topic "preinstall-overrides" am: 29ed176b46 am: d1ebbf5086 am: dd1d1cbacc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1520701

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifbdca1201aa118e59b45f7dd89441a210fc2fa9c
2021-01-07 17:52:57 +00:00
Andrei-Valentin Onea
dd1d1cbacc Merge changes from topic "preinstall-overrides" am: 29ed176b46 am: d1ebbf5086
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1520701

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I94c9aca60ff8d5eec190434a2a22338cb04d5922
2021-01-07 17:35:17 +00:00
Jason Hsu
4cd499cad1 Merge "Add accessibility floating menu settings key" 2021-01-07 05:18:42 +00:00
jasonwshsu
d6d96c74c4 Add accessibility floating menu settings key
* ACCESSIBILITY_FLOATING_MENU_SIZE: control different size
* ACCESSIBILITY_FLOATING_MENU_ICON_TYPE: control icon type
* ACCESSIBILITY_FLOATING_MENU_OPACITY: control the opacity value for fade out effect

Bug: 173940865
Test: atest SettingsProviderTest
Change-Id: I0399366b6ea05268e3d3ad1f24962fffde8d686a
2021-01-07 13:00:33 +08:00
Varun Shah
3e81038837 DO NOT MERGE: Disable StrictMode VM Policy check. am: f20d333ada
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13286399

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7276ffe8b50b5668cf21166a9ff9fad725d6fc6a
2021-01-05 23:06:16 +00:00
Varun Shah
f20d333ada DO NOT MERGE: Disable StrictMode VM Policy check.
Disable the VM policy violation for intents that contain a content URI
but don't have FLAG_GRANT_URI_PERMISSION when scheduling alarms.

Fixes: 160426113
Test: atest CalendarProvider2Test
Change-Id: If6e4a03609fc3d03dde66bcaa3136b23662ccaeb
(cherry picked from commit 224822ecaf)
2021-01-05 21:27:13 +00:00
TreeHugger Robot
b26f201709 Merge "Disable StrictMode VM Policy check." 2021-01-05 16:42:13 +00:00
TreeHugger Robot
b93cb1be81 Merge "Update Column value types for BaseColumn." 2021-01-05 15:34:47 +00:00
Andrei Onea
46111c8ea0 Add force_non_debuggable_final_build_for_compat
This flag forces the compat framework to assume we're on a
non-debuggable build, and use stricter rules for enforcing
the change id override policy.
On a non-debuggable build, this flag has no effect.

Test: atest OverrideValidatorImplTest
Bug: 158696818
Change-Id: I3b13f1898e7ff00580140debe2ced9f8074502ea
2020-12-30 14:52:51 +00:00
Varun Shah
224822ecaf Disable StrictMode VM Policy check.
Disable the VM policy violation for intents that contain a content URI
but don't have FLAG_GRANT_URI_PERMISSION when scheduling alarms.

Fixes: 160426113
Test: atest CalendarProvider2Test
Change-Id: If6e4a03609fc3d03dde66bcaa3136b23662ccaeb
2020-12-29 15:24:43 -08:00
TreeHugger Robot
6e158b5a1f Merge "Add Restricted Mode handling to NetworkPolicyManager" 2020-12-28 19:39:29 +00:00
Patrick Rohr
5197d1bd33 Add Restricted Mode handling to NetworkPolicyManager
Adds Restricted Mode functionality to NetworkPolicyManager. When this
mode is turned on (via setting), only apps with
android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS will be able to
use the network. For all other apps, the network will be blocked by the
firewall. This is controlled by a new allowlist firewall chain
fw_restricted_mode.

As a first step, this implementation still requires a reboot after the
enabling / disabling the mode to take effect. I will provide the dynamic
configuration in the next CL.

Test: atest CtsHostsideNetworkTests && atest
NetworkPolicyManagerServiceTest
Bug: 170322816
Bug: 157505406
Bug: 170322455
Bug: 175281879

Change-Id: I0731fa842c69683953baaf9ec3a9a03454f4c607
2020-12-28 18:01:34 +01:00
TreeHugger Robot
a6075e692e Merge changes from topic "testing_s_notifications"
* changes:
  Apps targeting S can't be exempt from having an expanded view.
  Add a setting to test the new notification rules on existing apps.
2020-12-28 16:00:18 +00:00
Jason Hsu
51ab47ec28 Merge "Add key ACCESSIBILITY_BUTTON_MODE" 2020-12-24 11:26:46 +00:00
Treehugger Robot
bee02f2ab3 Merge "Add SettingsProvider team as OWNERS of android.provider.Settings" am: d83aa0243b am: f3b68805b1 am: 03b5b82cdf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1535814

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I84e7050524fc10d73056cbda897e9672856aeb1c
2020-12-23 21:49:43 +00:00
Treehugger Robot
03b5b82cdf Merge "Add SettingsProvider team as OWNERS of android.provider.Settings" am: d83aa0243b am: f3b68805b1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1535814

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I301c695f862fee869d6dba3eaf6966ba273fc3ca
2020-12-23 21:38:56 +00:00
Jeff DeCew
2ce46560c3 Add a setting to test the new notification rules on existing apps.
Test: manual
Change-Id: I560ac597bf8e8320d1d9e404ffcf1e6464cfe82d
2020-12-23 14:29:00 -05:00
Varun Shah
c427b2e843 Update Column value types for BaseColumn.
Fixes: 174343753
Test: n/a
Change-Id: I00b002096c14e5841d9b759fe27465eeef104866
2020-12-23 10:45:54 -08:00
Jeff DeCew
9f74d0a408 Add SettingsProvider team as OWNERS of android.provider.Settings
Change-Id: Ifa4a11780bb934f7b644ad150f3c09493b23f9f4
2020-12-23 16:35:05 +00:00
jasonwshsu
203940051c Add key ACCESSIBILITY_BUTTON_MODE
To support accessibility floating action menu, this key is needed to store the different modes of accessibility button.

Bug: 173940962
Test: atest SettingsProviderTest
Change-Id: I79330dd8ca4a9eaf24900ac399d6f732907411e4
2020-12-22 20:29:29 +08:00
Allen Su
103627d3bc Merge "[RCS]Add new carrier configs for presence" am: f2fdcff51e am: 992b4ffdf8 am: 2fc4cc29bc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1511319

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I704895d43045983426ea3fff2363bfed8e9281b8
2020-12-22 07:16:06 +00:00
Allen Su
2fc4cc29bc Merge "[RCS]Add new carrier configs for presence" am: f2fdcff51e am: 992b4ffdf8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1511319

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2cf63aec6a876ca56a464f02e0ce7997ecd94b01
2020-12-22 01:35:07 +00:00
Allen Su
f2fdcff51e Merge "[RCS]Add new carrier configs for presence" 2020-12-22 00:26:52 +00:00
Hui Wang
ec8bb25be6 Merge "RCS Provisioning APIs for Single Registration" am: 7c9eef5613 am: 81b3cfc4fe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1532778

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic7bcf565faab1a95185f0b6ecdcc6e9dd8c03e53
2020-12-17 23:18:25 +00:00
Hui Wang
7c9eef5613 Merge "RCS Provisioning APIs for Single Registration" 2020-12-17 22:53:31 +00:00
Hui Wang
e92ddfef4f RCS Provisioning APIs for Single Registration
Bug: 154864150
Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Merged-In: Ie9445dd450d175e0dc94b63b487dda5cde729123
Change-Id: Ie9445dd450d175e0dc94b63b487dda5cde729123
2020-12-17 17:13:24 +00:00
Hui Wang
a82cdddff4 Merge "Added cross sim calling settings support" am: 7f6a8a9648 am: aa7996126a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1532259

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7e2954338461b79f069c5efc6f15acb38c0538fc
2020-12-17 16:52:04 +00:00
Hui Wang
7f6a8a9648 Merge "Added cross sim calling settings support" 2020-12-17 15:14:42 +00:00
Automerger Merge Worker
bf0626bc36 Merge "Merge "Additional OWNERS coverage for storage." am: d111833fd3 am: c7077507d0" into rvc-qpr-dev-plus-aosp am: f11186b845
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1531982

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I472de486642f4fbc6bc37ba58cb88e196c5d7a39
2020-12-17 05:10:39 +00:00
Hui Wang
ce026fd5b9 Added cross sim calling settings support
Added a telephony provider entry for storing the
user's settings.

Fix: 173250681
Test: Manual
Merged-In: I081c7e5fcc98f51a97c41a0a9a2b9b628c8d0415
Change-Id: I081c7e5fcc98f51a97c41a0a9a2b9b628c8d0415
2020-12-17 00:57:18 +00:00
Jeff Sharkey
95dfa1a859 Merge "Additional OWNERS coverage for storage." am: d111833fd3 am: c7077507d0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1531982

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic8835ec5c6b26fa726ea83801e7ffb4d706dd4df
2020-12-16 22:33:44 +00:00
Hui Wang
0b54fc0d49 Merge "RCS Provisioning APIs for Single Registration" 2020-12-16 22:32:08 +00:00
Jeff Sharkey
9ac773a60b Additional OWNERS coverage for storage.
Bug: 174932174
Test: none
Change-Id: I265ebd077d27d0d52d97a2c3c4a7147368be2498
2020-12-16 14:47:45 -07:00
Hui Wang
b8ea95e289 RCS Provisioning APIs for Single Registration
Bug: 154864150
Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Change-Id: Ie9445dd450d175e0dc94b63b487dda5cde729123
2020-12-16 17:10:26 +00:00
Gary Mai
519fb38710 Merge "Update FDN and SDN constants" 2020-12-16 04:31:52 +00:00
Gary Mai
fc652f2457 Update FDN and SDN constants
These should mirror IccConstants usage for consistency.

Test: Manual build and flash
Bug: 170653527
Change-Id: I5ff335eeae99cd5b6f8ebfb809c826843d6abd77
2020-12-15 15:16:36 -08:00
Tianjie Xu
d4dbfe6bf8 Merge changes Icf10d577,Ia9d3cae7 am: 6083210d17 am: a258be9df5 am: 2fd269494a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519582

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iee05827a112e9ea8a6ab29fb7c00cea8e8b8a9bb
2020-12-15 00:36:01 +00:00
Mady Mellor
ff06288dd2 Merge "Expose NotificationManager#getBubblePreference" 2020-12-15 00:05:39 +00:00