Commit Graph

6058 Commits

Author SHA1 Message Date
Alex Mang
570fc4b20a Merge "Cache Feedback Enabled Setting in Controller" 2020-08-03 17:23:04 +00:00
Peiyong Lin
78ea35bef3 Merge "Use more inclusive terms." into rvc-dev-plus-aosp am: 094c85c93a am: 8d7604a4cb am: a5220103f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12272621

Change-Id: I389a17b987a5a3bc40e2ecc70f348f4cec045245
2020-08-01 07:28:43 +00:00
Peiyong Lin
a5220103f1 Merge "Use more inclusive terms." into rvc-dev-plus-aosp am: 094c85c93a am: 8d7604a4cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12272621

Change-Id: I4bbdb5252dcf1e73bdd0b05e382bb8a6482bd8df
2020-08-01 07:01:51 +00:00
Peiyong Lin
8d7604a4cb Merge "Use more inclusive terms." into rvc-dev-plus-aosp am: 094c85c93a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12272621

Change-Id: I4caee590c4fdd4f0d595ae091332555dff3654a8
2020-08-01 06:40:51 +00:00
Alex Mang
9b421ee9da Cache Feedback Enabled Setting in Controller
AssistantFeedbackController#isFeedbackEnabled was making a binder call every time.  We are caching this state in the feedback controller now and listening to changes in the setting.
This change also moves the NOTIFICATION_FEEDBACK_ENABLED setting to Settings.Global.

Bug: 161512521
Test: atest AssistantFeedbackControllerTest
Change-Id: I79526f36577de2b170b703e3cbc89a29dbb0649b
2020-07-31 13:03:15 -07:00
Blake Kragten
02a3a455bf Merge "Remove Enhanced Connectivity Dev Option" into rvc-d1-dev am: f4c4ca2327 am: 44d92fce4d am: 7766abe213
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12174522

Change-Id: I71559142500e3e727a43878555e6a9b69dfc74d5
2020-07-30 00:06:55 +00:00
Blake Kragten
7766abe213 Merge "Remove Enhanced Connectivity Dev Option" into rvc-d1-dev am: f4c4ca2327 am: 44d92fce4d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12174522

Change-Id: Ibdbe411dddcdae75effcffc20790047a5efe5bcd
2020-07-29 23:45:51 +00:00
Blake Kragten
44d92fce4d Merge "Remove Enhanced Connectivity Dev Option" into rvc-d1-dev am: f4c4ca2327
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12174522

Change-Id: I09d21b8405050e4ef1474444ca5ec0b7f71406be
2020-07-29 23:27:51 +00:00
Blake Kragten
9c50208f54 Merge "Remove Enhanced Connectivity Dev Option" into rvc-d1-dev am: f4c4ca2327
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12174522

Change-Id: Ibed4b20e1ebe8c0c464a0f068ffaa3dc46ad1764
2020-07-29 23:26:26 +00:00
Peiyong Lin
7bc64bdf00 Use more inclusive terms.
BUG: b/162288333
Test: N/A
Change-Id: Icd58adb5eb19395548f20bd9349639e84a0cce88
2020-07-29 16:23:28 -07:00
Nathalie Le Clair
6117d617e9 Merge "CEC Standby messages when going to sleep" 2020-07-29 08:07:46 +00:00
Blake Kragten
c09d09906a Remove Enhanced Connectivity Dev Option
Applying to d1-dev as this change will be propagated to qpr branch.

Remove Developer Option Enhanced Connectivity. Remove controller and
layout variables/tests.

Bug: 162231796
Test: On Device Custom Build. Testing BSM trigger. Developer Option does
not appear anymore.

Change-Id: I58938faa299e30d4f357ed4e094b8548964b9dcc
2020-07-28 22:44:27 +00:00
Peiyong Lin
3ac9212130 Merge "Use more inclusive terms inside GraphicsEnvironment." into rvc-dev-plus-aosp am: adda6254d8 am: 057d3ace10 am: e5133fac3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12245299

Change-Id: Ia1bfa28ad6254ac2b36f8037e2480903022bc632
2020-07-28 19:33:29 +00:00
Peiyong Lin
e5133fac3a Merge "Use more inclusive terms inside GraphicsEnvironment." into rvc-dev-plus-aosp am: adda6254d8 am: 057d3ace10
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12245299

Change-Id: If6852756f543023a23b10a2070962c297f8d81cd
2020-07-28 19:11:05 +00:00
Peiyong Lin
057d3ace10 Merge "Use more inclusive terms inside GraphicsEnvironment." into rvc-dev-plus-aosp am: adda6254d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12245299

Change-Id: Ibccd82b97a3baf95aee0407eedc6da428237e2ca
2020-07-28 18:57:07 +00:00
Peiyong Lin
b967a4c381 Use more inclusive terms inside GraphicsEnvironment.
Bug: b/162288333
Test: N/A
Change-Id: I2f1f13a892be0c8ff3f89e0ceabe39058390727d
2020-07-27 23:57:50 -07:00
Nathalie Le Clair
348f498252 CEC Standby messages when going to sleep
Setting the target audience of the CEC <Standby> message when going to sleep

Before this change: sent to the TV only
After this change: a setting initialized by a system property determines whether to send it to the TV only (default), all devices or not at all

Test: atest HdmiCecLocalDevicePlaybackTest and manually tested that system property takes effect.

Bug: 161205654
Change-Id: I3a3ba3d40acbb4f6bf65e402c446b0683500b4dc
2020-07-24 14:56:56 +02:00
Sergey Nikolaienkov
4d8d93b55c Merge "Make ANR dialog settings visible to tests" 2020-07-22 12:14:40 +00:00
TreeHugger Robot
dc91aaab2d Merge "Remove TimeController constants." 2020-07-20 12:11:10 +00:00
Treehugger Robot
3ec3713a1d Merge "Show subId info for getMessagesFromIntent log if it available only" am: 6478559721 am: 83b308025a am: 40b66a14d8 am: d2d9f54da1 am: f386456e8c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1318274

Change-Id: Id86689a868d3d1c0244d95891d87d4a27ee967ea
2020-07-16 02:04:24 +00:00
Treehugger Robot
f386456e8c Merge "Show subId info for getMessagesFromIntent log if it available only" am: 6478559721 am: 83b308025a am: 40b66a14d8 am: d2d9f54da1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1318274

Change-Id: Ib2c6beaf4782b2014c65914647270af7d660e2cf
2020-07-16 01:53:34 +00:00
Treehugger Robot
d2d9f54da1 Merge "Show subId info for getMessagesFromIntent log if it available only" am: 6478559721 am: 83b308025a am: 40b66a14d8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1318274

Change-Id: I5a4a4454d4e0ee958e3b2fdab0e456f942ec5b6b
2020-07-16 01:33:36 +00:00
Treehugger Robot
40b66a14d8 Merge "Show subId info for getMessagesFromIntent log if it available only" am: 6478559721 am: 83b308025a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1318274

Change-Id: I07a163cbfaf5e76f94d758953fed8d48c6cc66d8
2020-07-16 01:18:14 +00:00
Hall Liu
b637852572 Merge "Allow empty tokens in strict grammar" into rvc-qpr-dev am: b5954fba49
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12150923

Change-Id: I73f2188ffd12e3018849c1f2672f6c7d64bf1f43
2020-07-15 16:24:10 +00:00
Hall Liu
a3986a5def Allow empty tokens in strict grammar
Allow empty tokens in SQLiteQueryBuilder's strict grammar enforcement

Bug: 143230980
Test: atest SQLiteQueryBuilderTest, manual
Change-Id: Ie82dded77a3eaa75095333b0e77f10e21c9f7caf
Merged-In: Ie82dded77a3eaa75095333b0e77f10e21c9f7caf
2020-07-14 20:42:25 +00:00
Kweku Adams
917235f045 Remove TimeController constants.
The only flag in TimeController constants is no longer needed, so we
don't need the constants infrastructure here. Any new constants we need
can make use of the DeviceConfig infrastructure we're adding.

Bug: 124466289
Bug: 141645789
Test: atest com.android.server.job.controllers.TimeControllerTest
Test: atest CtsJobSchedulerTestCases
Test: atest SettingsProviderTest:SettingsBackupTest
Change-Id: I15e99617a8afee446839a4212377aa5543776422
2020-07-14 11:30:01 -07:00
Taesu Lee
7e26fe7ce3 Show subId info for getMessagesFromIntent log if it available only
getMessagesFromIntent with default SMS subId log is shown from
AppSmsManager for MT SMS always since an intent without subId info is
delivered to AppSmsManager first.
It might be confusing when checking MT SMS log for multi-sim devices.

Bug: 161156506
Test: MT SMS and Check log

Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Change-Id: I66da0d5d9802c4427572cb1674be452582066450
2020-07-14 12:14:07 +09:00
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
Nikolas Havrikov
79331e77f1 Make ANR dialog settings visible to tests
Bug: 159443507
Test: atest CtsWindowManagerDeviceTestCases:UnsupportedDialogTests on local device

Change-Id: I837ecd008fec7d31fd348f1529148afa5b7aa231
2020-07-09 12:50:35 +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
TreeHugger Robot
6208d9f85d Merge "Fixed that data connections not tearing down when APN set id changes" into rvc-d1-dev am: 89749a90da
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12102524

Change-Id: I89074c2299610d27aa1bcb6ee458f9fa9e24b89e
2020-07-08 22:27:57 +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
Sarah Chin
957f0a5285 Add Setting for NR screen off indications
Test: build
Bug: 154241884
Change-Id: Ifa485230f6d27eaa7a665a396e3eac33e00feadb
Merged-In: Ifa485230f6d27eaa7a665a396e3eac33e00feadb
2020-06-22 16:15:03 -07: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