Commit Graph

6014 Commits

Author SHA1 Message Date
Fan Zhang
f9a9fcf7bb Create settings key for panic button (emergency sos).
This setting will control enable/disable panic button gesture, which triggers launching a UI flow that calls emergency services via emergency dialer.

Test: manually flashed device
Change-Id: Id6c2dde85e0a4a8343e4473d7baaa66dd7210e5f
2020-07-13 23:12:27 +00:00
TreeHugger Robot
f8307e008e Merge "Fixed that data connections not tearing down when APN set id changes" into rvc-d1-dev am: 89749a90da am: be2ed83e02 am: 7b6275dd3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12102524

Change-Id: I82af7aa849467333091893057cfb24b66e4810b6
2020-07-08 22:50:25 +00:00
TreeHugger Robot
7b6275dd3e Merge "Fixed that data connections not tearing down when APN set id changes" into rvc-d1-dev am: 89749a90da am: be2ed83e02
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12102524

Change-Id: I9946e5fa01da0c702a76b8cc47266fc39121fa75
2020-07-08 22:37:19 +00:00
Jack Yu
715073fc69 Fixed that data connections not tearing down when APN set id changes
When APN set id changes (by changing the preferred APN in settings),
the existing data connections from previous APN set id should be
torn down. Fixed by checking the APN set id when building the
waiting APN list and tethering APN list.

Fix: 159761970
Test: DcTrackerTest
Change-Id: I626f871b64d50127feece80f018272e51ad1c66c
2020-07-07 17:21:17 -07:00
Jerry Chang
9de45c97b8 Add Settings keys definition for swipe bottom gesture
Add Settings keys definition for swipe bottom to expand notification
gesture and support user settings backup/restore.

Gesture settings toggle located at:
Settings > System > Gesture > Swipe for notification

Bug: 154080211
Test: manual check settings works properly
Change-Id: Ibfe3f57020c386a01407e1c579d64304d04d2537
2020-07-02 19:21:33 +08:00
Kweku Adams
2a365580c0 Merge "Disable restricted bucket." into rvc-dev am: 6cca001863 am: aea41aec2b am: ebba61330d am: 303ddce2ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11740346

Change-Id: I105331902d59d2f56f30ebbaaaf45680bdc72f20
2020-06-23 01:07:14 +00:00
Kweku Adams
aea41aec2b Merge "Disable restricted bucket." into rvc-dev am: 6cca001863
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11740346

Change-Id: If3eb3f5bcb9b99e3bed7f89ba03048bb8f7d3f05
2020-06-23 00:18:30 +00:00
Kweku Adams
6cca001863 Merge "Disable restricted bucket." into rvc-dev 2020-06-23 00:13:41 +00:00
Beth Thibodeau
05c03e2609 Support toggling resumption in Settings
Moved setting so we can use Tunable:
adb shell settings put secure qs_media_resumption 1

If setting is changed, removes all existing resume players

Bug: 154039093
Test: manual
Test: atest SettingsProviderTest
Test: atest com.android.systemui.media

Change-Id: Iad056fbad4520cfe762d9e9f5ed62d38ea1117b1
2020-06-20 01:40:12 +00:00
Beth Thibodeau
7a2dfd3422 [DO NOT MERGE] Support toggling resumption in Settings am: c1bc307bce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11817534

Change-Id: Ie0520c407c27112a05049ef6627528e204ffdff2
2020-06-19 22:40:39 +00:00
Jack Yu
ca0f56c553 Merge "Removed the hardcoded database column string" 2020-06-19 17:23:32 +00:00
Jack Yu
322467efec Removed the hardcoded database column string
Made the ETWS isPrimary column name a system API

Bug: 157699377
Test: CtsTelephonyTestCases & CellBroadcastServiceTests
Change-Id: Ic4c78a12fb7e85328e6dea31b927f5f39420fbea
2020-06-18 17:17:58 -07:00
Beth Thibodeau
c1bc307bce [DO NOT MERGE] Support toggling resumption in Settings
Moved setting so we can use Tunable:
adb shell settings put secure qs_media_resumption 1

If setting is changed, removes all existing resume players

Bug: 154039093
Test: manual
Test: atest SettingsProviderTest
Test: atest com.android.systemui.media

Change-Id: Iad056fbad4520cfe762d9e9f5ed62d38ea1117b1
2020-06-18 23:58:11 +00:00
Alex Mang
41f94e585f Merge changes from topic "feedback"
* changes:
  Flag guarding all notification feedback UI
  Adding automatic option in long press menu
  Adding notification guts to feedback icon
  Add notification feedback indicator icon.
2020-06-18 20:38:37 +00:00
Hunter Knepshield
537f835e2b Merge changes from topic "bugreport-stub" into rvc-dev am: 9568960297 am: a7dad0b5cc am: 8a01758622 am: bc8fec3027
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11856802

Change-Id: Ie2dc8d2094be3f42eb13e561bda9aa4ef24332cc
2020-06-18 18:07:44 +00:00
Hunter Knepshield
8a01758622 Merge changes from topic "bugreport-stub" into rvc-dev am: 9568960297 am: a7dad0b5cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11856802

Change-Id: I38f827361f1f234e49c086953d0c0d7426e0d70f
2020-06-18 17:18:19 +00:00
Hunter Knepshield
5b622bb7bf Merge changes from topic "bugreport-stub" into rvc-dev am: 9568960297
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11856802

Change-Id: I29f29e33157cec7f99d2966acc2a57940ff346d3
2020-06-18 17:03:41 +00:00
Hunter Knepshield
9568960297 Merge changes from topic "bugreport-stub" into rvc-dev
* changes:
  Reevaluate some carrier-associated apps' status on SDK changes.
  Add new "addedInSdk" attribute to carrier-associated apps.
2020-06-18 17:01:01 +00:00
Hunter Knepshield
87cd4b0761 Reevaluate some carrier-associated apps' status on SDK changes.
If a carrier-associated app is added to the system image after the
device is initially launched (e.g. Q -> R OTA), the logic to disable
apps without a corresponding SIM will not run, leaving the app in an
enabled state in more cases than there should be.

To safely account for this, we only reevaluate on SDK change for apps
whose addedInSdk value falls within the range since the last time we
evaluated carrier apps' statuses. Apps that set lower (or higher)
SDK versions are ignored. We choose *not* to use minimum or target SDK
version here because it's more likely to change with each OTA /
prebuilt, which could cause unintended disable operations (or lack
thereof).

Bug: 154872019
Test: manual, QA, atest FrameworksTelephonyTests:CarrierAppUtilsTest
Change-Id: I97ddfa03f34e7d00e66ce7cd508d6d2a5e83fbc2
2020-06-16 16:48:58 -07:00
TreeHugger Robot
3fda7a6302 Merge "Document ACTION_WEBVIEW_SETTINGS possible unavailability" into rvc-dev am: 3b915e51e1 am: 9a815ca899 am: cd2ff042ff am: 3f03ee3a76
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11602072

Change-Id: Ia7f193808a14f4a61e488a86d71a55f3e7eaec36
2020-06-16 22:10:25 +00:00
TreeHugger Robot
9a815ca899 Merge "Document ACTION_WEBVIEW_SETTINGS possible unavailability" into rvc-dev am: 3b915e51e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11602072

Change-Id: I62f59621a7a29e162462141e187bf6a4a51a6d6c
2020-06-16 21:12:04 +00:00
TreeHugger Robot
3b915e51e1 Merge "Document ACTION_WEBVIEW_SETTINGS possible unavailability" into rvc-dev 2020-06-16 20:53:01 +00:00
Alex Mang
f2a3160b07 Flag guarding all notification feedback UI
Test: manually on device
Change-Id: I1597e35f0a39f6594e47d8f2a6956befd4f100ea
2020-06-14 00:34:24 -07:00
TreeHugger Robot
80e217699f Merge "Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi" into rvc-dev am: 7883b53e28 am: 42c810bd0b am: 9d8332613a am: 9c0f429dc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838104

Change-Id: I6cdaa006a7e8777f4fc48f55242f4eb20888bcff
2020-06-12 18:07:18 +00:00
TreeHugger Robot
9c0f429dc5 Merge "Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi" into rvc-dev am: 7883b53e28 am: 42c810bd0b am: 9d8332613a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838104

Change-Id: I7179ff57b899a67561422a8cdfb97e60a655fc31
2020-06-12 17:45:34 +00:00
TreeHugger Robot
147c54f9a0 Merge "Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi" into rvc-dev am: 7883b53e28
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838104

Change-Id: If75d4ad04b34ec43542ade9b9589f359007bd10b
2020-06-12 17:16:51 +00:00
Adrian Roos
cb32080a8f Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi
Bug: 158637229
Test: atest WindowInsetsAnimationControllerTests
Change-Id: Ic4e1c97e728aa170670356db22d66677710ac2a3
2020-06-12 15:31:20 +02:00
Kweku Adams
71eac9ebe7 Disable restricted bucket.
Bug: 158099599
Test: atest CtsUsageStatsTestCases:UsageStatsTest
Test: atest FrameworksServicesTests:AppIdleHistoryTests
Test: atest FrameworksServicesTests:AppStandbyControllerTests
Change-Id: I40e769037148177530edc43ae0c01d4d29aec857
2020-06-05 20:04:11 +00:00
Automerger Merge Worker
b2862a5e03 Merge "Merge "Removed Settings.Global.LAST_ACTIVE_USER_ID." into rvc-dev am: 3bf4ec139b am: 0a8e4234ad am: 7bac8096ae" into rvc-qpr-dev-plus-aosp am: 86ef4adc56
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11723878

Change-Id: I405b7290571a985bb0d9c939f4f72d9bbc1ee691
2020-06-04 19:55:20 +00:00
Felipe Leme
467b6410f7 Merge "Removed Settings.Global.LAST_ACTIVE_USER_ID." into rvc-dev am: 3bf4ec139b am: 0a8e4234ad am: 7bac8096ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11723878

Change-Id: I700b45479e1f688b3443f1bda3773052d73f131a
2020-06-04 19:42:12 +00:00
Felipe Leme
b3303cf967 Merge "Removed Settings.Global.LAST_ACTIVE_USER_ID." into rvc-dev am: 3bf4ec139b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11723878

Change-Id: I561b709f88f8ea91ead53fcd91000293bc1dd273
2020-06-04 19:18:42 +00:00
Felipe Leme
3bf4ec139b Merge "Removed Settings.Global.LAST_ACTIVE_USER_ID." into rvc-dev 2020-06-04 19:13:20 +00:00
Automerger Merge Worker
b58765d362 Merge "Merge "Store ETWS primary information in the database" into rvc-dev am: dc9e545bd1 am: 74f7d0ffda am: b493bbddb9" into rvc-qpr-dev-plus-aosp am: 800e6d0786
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712801

Change-Id: I61636d6147c8448bfcbbc2e3debf505d6371d066
2020-06-04 01:31:30 +00:00
Jack Yu
b493bbddb9 Merge "Store ETWS primary information in the database" into rvc-dev am: dc9e545bd1 am: 74f7d0ffda
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712801

Change-Id: Iddffa7a9d9245aef8ee7126dcb2e832b344a4652
2020-06-04 01:03:49 +00:00
Jack Yu
28becbf0b8 Merge "Store ETWS primary information in the database" into rvc-dev am: dc9e545bd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712801

Change-Id: I2a353c1939bdd2487ffcc4df71b3903e95cdffb6
2020-06-04 00:54:08 +00:00
Jack Yu
dc9e545bd1 Merge "Store ETWS primary information in the database" into rvc-dev 2020-06-04 00:46:07 +00:00
Jack Yu
059be24240 Store ETWS primary information in the database
ETWS primary/secondary flag needs to be saved in the
database in order to perform duplicate check later. Used the
hardcoded database column name because Android R API freezes.
Will remove the hardcode in the next Android release.

Fix: 157699377
Test: CtsTelephonyTestCases & CellBroadcastServiceTests
Change-Id: Iedec92a1f435f60ceb9f36637a1718adbbd7e2ae
2020-06-03 21:18:54 +00:00
Felipe Leme
4bf9bc6ab0 Removed Settings.Global.LAST_ACTIVE_USER_ID.
This property was only used by Automotive and was added on frameworks/base
because it used be accessed by a class on frameworks/opt/services/car, but
it's now only accessed under packages/services/car (so it was moved to
CarSettings).

Test: atest SettingsBackupTest
Bug: 156567994

Change-Id: Idaff4a249600517c5250cd3821d75ce85fc9eeee
2020-06-03 12:34:07 -07:00
Julia Reynolds
6e9cd469f2 Merge "Update conversation priority onboarding" into rvc-dev am: ff182768f7 am: 85f4e8e85e am: 4a5aafccb8 am: 4ecd6d8f09
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11707052

Change-Id: Ie2bc16abc2b854d76b2e01eb48c9b165e4a6f576
2020-06-03 12:15:59 +00:00
Julia Reynolds
4a5aafccb8 Merge "Update conversation priority onboarding" into rvc-dev am: ff182768f7 am: 85f4e8e85e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11707052

Change-Id: I62090e9f5a24336940a5d9f8dbe9d99cfd341500
2020-06-03 11:49:39 +00:00
Julia Reynolds
a48633b907 Merge "Update conversation priority onboarding" into rvc-dev am: ff182768f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11707052

Change-Id: I786e0bc02a819e90eeb70b534f34ef5871a9f974
2020-06-03 11:34:32 +00:00
Julia Reynolds
e03aa8f751 Update conversation priority onboarding
And fix a bug with toggling priority I noticed while testing

Test: atest
Fixes: 157988478
Bug: 155490513
Change-Id: I8f5a6076ed2aa6c862a187bac15f3ad9af3cd141
2020-06-02 16:49:39 -04:00
Zach Johnson
1eec532a8e Add NAMESPACE_BLUETOOTH for bluetooth feature experiments
Exempt-From-Owner-Approval: exact cherry-pick from already approved master CL.
Test: compile
Bug: 156757711
Merged-In: I330b8cc5aeb14ebcc15fb88c605ac72770497040
Change-Id: I330b8cc5aeb14ebcc15fb88c605ac72770497040
(cherry picked from commit 9b9235981c)
2020-05-27 02:01:21 +00:00
TreeHugger Robot
30d0ab9a23 Merge "Add NAMESPACE_BLUETOOTH for bluetooth feature experiments" 2020-05-26 22:56:03 +00:00
Automerger Merge Worker
b1efbe58d3 Merge "Merge "Add Setting for NR screen off indications" into rvc-dev am: 8300a64490 am: a7dfbb4186 am: d86daf1232" into rvc-qpr-dev-plus-aosp am: c15c1bb4e3
Change-Id: I00bf6c1073948abac877af9a4290037dd63170be
2020-05-26 22:43:47 +00:00
Sarah Chin
6118896275 Merge "Add Setting for NR screen off indications" into rvc-dev am: 8300a64490 am: a7dfbb4186 am: d86daf1232
Change-Id: I849e8eb69da9d6f2e18e3e55e14a3f793fa9bda7
2020-05-26 22:10:57 +00:00
Sarah Chin
8fde1df057 Merge "Add Setting for NR screen off indications" into rvc-dev am: 8300a64490
Change-Id: Id94543e228ff6693045e102a74f728c7b22975da
2020-05-26 22:02:50 +00:00
Sarah Chin
8300a64490 Merge "Add Setting for NR screen off indications" into rvc-dev 2020-05-26 21:56:42 +00:00
Zach Johnson
9b9235981c Add NAMESPACE_BLUETOOTH for bluetooth feature experiments
Test: compile
Bug: 156757711
Change-Id: I330b8cc5aeb14ebcc15fb88c605ac72770497040
2020-05-26 13:59:56 -07:00
Christopher Tate
0d6c076846 Document ACTION_WEBVIEW_SETTINGS possible unavailability
In some situations the activity start Intent
Settings#ACTION_WEBVIEW_SETTINGS might not resolve to any launchable
activity.  Make sure this is reflected in its reference documentation.

Bug: 157267574
Test: atest CtsSystemIntentTestCases
Test: atest CtsSystemIntentTestCases --user-type secondary_user
Change-Id: I59289cab764d06cb74e35722bd26986a3159e5d6
2020-05-26 10:08:20 -07:00