Julia Reynolds
14289bd356
Add pref for notification swipe direction
...
And move that and other settings under an 'advanced' category
Test: robotests
Fixes: 124099692
Change-Id: I89df276a8bc1cd56ce8530239ca02b2c4b43fa65
2019-02-20 10:36:50 -05:00
TreeHugger Robot
6dca5ef8e9
Merge "Fix doubling of channel listing"
2019-02-15 22:46:15 +00:00
TreeHugger Robot
2195fd721a
Merge "Fix legacy app notification pages"
2019-02-15 22:36:12 +00:00
Julia Reynolds
0b6d652d20
Fix doubling of channel listing
...
Test: toggle a notification group on/off
Change-Id: Ia93cf8084aee0c886a591301cba764975e5e0147
Fixes: 124384280
2019-02-15 20:42:24 +00:00
Julia Reynolds
7d914f509a
Fix legacy app notification pages
...
Test: view legacy app notification page
Change-Id: Id0d7ac53bc0d9e4d7084bea7ff44d4d8a082cb74
Fixes: 124453411
2019-02-15 13:15:50 -05:00
Fan Zhang
7db118e367
Mass clean up: don't cast class when not needed.
...
Bug: none
Test: rebuild
Change-Id: Ie3f58a3d5ae99ade28a33dcac80c18de90d4d5b2
2019-02-14 12:26:09 -08:00
Julia Reynolds
0c45775a5d
Add settings for notification bubbling
...
Globally, as well as at the app and channel level
Test: atest
Bug: 123543052
Change-Id: I1668b592c5d175d77d6a38f35e7576d641175d44
2019-02-04 18:08:41 -05:00
Julia Reynolds
12cec79889
Merge "More tests for silent status bar setting"
2019-02-01 20:37:41 +00:00
Tajinder Gadh
eb1aa063ed
If the ramping ringer adaptive volume is enabled then do not show
...
this setting. It will be injected from settings intelligence with
additional user options
Test: Build locally and validated
Change-Id: I6f79eea460e86d643d92c04e8ea126b99b9bed8b
2019-01-31 03:48:46 +00:00
Julia Reynolds
f74ff06731
More tests for silent status bar setting
...
Test: this
Change-Id: I2f1890a4843438684c089b837cf74bd520b352e6
Fixes: 123419917
2019-01-30 12:55:00 -05:00
Julia Reynolds
6d905451bf
Merge "Add silent status bar icon setting"
2019-01-30 13:41:08 +00:00
Daniel Sandler
30f0643c9e
Merge "Fix dsandler's email address."
2019-01-30 02:09:54 +00:00
Julia Reynolds
c04425fe38
Add silent status bar icon setting
...
Test: atest
Bug: 123419917
Change-Id: I40fe580b76589c45a70365c09a966a76b5bc882b
2019-01-30 00:41:51 +00:00
Dan Sandler
3d0078766d
Fix dsandler's email address.
...
Test: dsandler can give OWNERS approval again
Change-Id: I8a59453ec95b98ce74703bbe003c9039e2a96f22
2019-01-29 14:41:54 -05:00
Amin Shaikh
9391361438
Move SettingsLib icons to android.
...
Bug: 122263617
Test: make
Change-Id: Ia2ab06561824656951fbd0019e9c921442c714e1
2019-01-28 13:46:54 -05:00
pastychang
9bdb59a764
Rename ButtonFooterMixin to FooterBarMixin
...
1. Change to FooterBarMixin
2. Move FooterButton to the same package with FooterBarMixin
Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: Ic6937e3cbc515dd7bf877c9193932cd5800ac801
2019-01-24 16:18:28 +08:00
Yanting Yang
aa29da44d8
Add Notification Channel slice to Contextual Settings Homepage
...
Bug: 119831690
Test: visual, robotests
Change-Id: Ia8d020dcdab181497d4ae4bf968ea641b6908622
2019-01-19 17:09:25 +08:00
Fan Zhang
31b210017b
Migrate all MetricsProto enums to SettingsEnums
...
Bug: 122855168
Test: rebuild
Change-Id: I962d9a71179f86b7cae9dc5e9a00e0aa1557dc76
2019-01-17 14:55:42 -08:00
Julia Reynolds
e88f7ab7a7
Update appearance of channel preferences
...
Test: atest
Change-Id: Ie58e7a27601ee23b1cd2caf990cc5c10006c0162
Fixes: 122671854
2019-01-14 13:04:22 -05:00
Julia Reynolds
08ebca3804
Fix NPE
...
Test: manual
Change-Id: Ie9fe536f28d05953519a9fd477c5eaa3923be991
Fixes: 122685915
2019-01-11 09:17:27 -05:00
Pasty Chang
43bb34e15c
Merge "Rename prefix from suw to sud"
2019-01-10 06:56:20 +00:00
Julia Reynolds
8ddeb521ec
Fix notification widget's alerting logs
...
- Use last alerted time if available
- Read from channel
Test: manual
Change-Id: I5e3ab7e234c9c6766a1a4dffb5636a633f6b5f2e
Fixes: 74495461
2019-01-04 11:09:35 -05:00
pastychang
79614823cb
Rename prefix from suw to sud
...
Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: I44a399b586671c100cb9d85c97effbfb1a379413
2019-01-04 10:46:20 +08:00
pastychang
908501e40f
Apply FooterButton builder
...
FotterButton constructor in setupcompat will be deprecated, change to
use builder.
Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: Ic84b0c91205bf3c770bc658e8eaf2626e4d7bddd
2018-12-26 14:56:44 +08:00
pastychang
5dfdb4ff45
Migrating to new footer button for lockscreen pages.
...
Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: I12d68cd2eaa750eecd2c40e172efd6b6b16a0849
2018-12-26 11:12:46 +08:00
TreeHugger Robot
19ce37648a
Merge "Add custom dnd pages for each dnd auto rule"
2018-12-21 21:16:38 +00:00
Beverly
b9f38af689
Add custom dnd pages for each dnd auto rule
...
- Fix strings
- Add zen custom settings dialog when custom settings are being applied
Test: make RunSettingsRoboTests -j40
Bug: 111475013
Fixes: 120787133
Fixes: 120796642
Fixes: 120865472
Change-Id: I34d6b4b23d36277e3704416d65e2418418c124e1
2018-12-20 15:06:01 -05:00
Raff Tsai
736eae02bd
Fix talkback speaks "double tap to activate" on preference
...
Talkback will speak "double tap to activate" on clickable view.
But the SliderPreference is not clickable. Because it is default
clickable for Preference. We should set android:selectable in every
SliderPreference.
Change-Id: I7bf09c2a7e2d8688352e35c1882674b6e73e5db7
Fixes: 121111172
Test: Manual
2018-12-20 06:57:52 +08:00
Julia Reynolds
ec84a9367f
Link to the appropriate config activity for dnd rules
...
Test: atest, manual
Bug: 111474881
Change-Id: I0c1d7b14abe3cf65762167f3c412fa8f2be1d842
2018-12-14 14:41:48 -05:00
Beverly
48903ccefe
Add edit and delete buttons to zen rules
...
Test: atest ZenModeScheduleRuleSettingsTest ZenModeEventRuleSettingsTest
Test: manual
Bug: 111475013
Fixes: 120787343
Fixes: 120758763
Change-Id: If81ce2972e6887fb2a85d4b7262e81b26162e19c
2018-12-11 13:56:05 -05:00
Beverly
fdebb9632b
Update DND strings
...
Fixes: 120497233
Bug: 111475013
Test: manually flash and check strings
Test: make RunSettingsRoboTests -j40
Change-Id: I0a8971226a485f8ec41d83c167e51dac1a9c8107
2018-12-05 17:13:49 -05:00
Beverly
6afe8365a9
Update Zen Automatic Rule Settings page
...
Test: atest ZenModeBackend
Test: make RunSettingsRoboTests
Bug: 111475013
Change-Id: I86cc2c35002cd3a74d21f080eaf6d0fc29fa6a17
2018-12-03 14:17:42 -05:00
Raff Tsai
626c6e0b17
Replace SliceAction deprecated method
...
- Replace new SliceAction with SliceAction.createDeeplink() or
SliceAction.create()
Test: make RunSettingsRoboTests
Change-Id: Ied34469d2220d8220a2dcc6c2fb4d32dd9cd9b8c
Fixes: 119879284
2018-12-01 06:21:01 +08:00
Fan Zhang
53f75f0df9
Move all custom slice uris to a registry class.
...
Change-Id: I192320f95ac81d14c8891ce2531d603912e59f56
Fixes: 119776308
Test: robotests
2018-11-29 16:41:21 -08:00
tmfang
dce94bb237
Use SettingsLib's LayoutPreference
...
- Remove LayoutPreference in Settings source code.
- Remove unused style, layout
- Replace old imports to com.android.settingslib.widget.LayoutPreference
- Replace old XML tag to com.android.settingslib.widget.LayoutPreference
Test: robotest, manual test
Bug: 120005054
Change-Id: I9ae1ae14a16f443e11ac5d75b6038c7c5e253844
2018-11-27 13:12:53 +08:00
Beverly
c94da8b7ce
Remove "Allow alarms" from top level DND settings
...
Test: manual
Bug: 111475013
Change-Id: Ieb2539a7f0a389738a936cb9210951d07121e69a
2018-11-21 13:23:37 -05:00
Beverly
7973c635c9
Add new settings page for apps overriding dnd
...
Close starred contacts cursor
Test: atest ZenModeAllBypassingAppsPreferenceControllerTest
Test: atest ZenModeBypassingAppsPreferenceControllerTest
Bug: 111475013
Change-Id: I84d259aaef1bc5cc907ec5bef08beade91a8b904
2018-11-14 15:56:29 -05:00
Beverly
8228c6ee02
Set modified=true when user changes zen rule name
...
Test: make RunSettingsRoboTests -j40
Bug: 118789422
Change-Id: I3df3ce4c86a100c2c1287e3650d7fb331d5fa71c
2018-11-02 13:43:17 -04:00
Beverly
69d11b2874
Dnd settings pages redesign (round 1)
...
Test: make RunSettingsRoboTests -j40
Bug: 111475013
Change-Id: Idb6bbfdfe377b61a8fe1f7e81171bbefe23a4ebf
2018-11-01 09:24:46 -04:00
Fan Zhang
cdf284b732
Make Settings robotest work with tot Robolectric
...
Bug: 116278591
Test: make -j RunSettingsRoboTests
Change-Id: I32cb2fcf6094675f79d2fc24702ef6298a9691e4
2018-10-31 17:59:17 -07:00
Philip P. Moltmann
b9a83d584d
Merge "Use SYSTEM_... window manager flags"
2018-10-15 16:28:39 +00:00
Doris Ling
fa8ee79760
Get the ringtone name in background thread.
...
- to prevent anr, retrieve the current ringtone in background thread.
Change-Id: I701adfa618553c03aa24719b2550ea3ee97d9bfa
Fixes: 117124470
Test: make RunSettingsRoboTests
2018-10-09 17:48:34 -07:00
Philip P. Moltmann
fc9951091f
Use SYSTEM_... window manager flags
...
Test: Built
Bug: 116798569
Change-Id: Iac0728b348b6105b843d83415f0abde2de3cb074
2018-10-09 13:45:10 -07:00
Beverly
833119a4e2
Allow DND events rule to choose custom calendars
...
For the System DND Events rule, users can now select
custom calendars they are contributors to that are
synced to their device.
Test: atest /extra/master/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ZenModeEventRuleSettingsTest.java
Bug: 113368047
Change-Id: I1b81c528655b8f68867d881cee8125aa2b027eaa
2018-10-05 14:58:00 -04:00
TreeHugger Robot
09b181c771
Merge "Set the layoutPreference not selectable"
2018-10-03 00:23:42 +00:00
Beverly
5fbdeaae7c
Use BidiFormatter in ZenDeleteRuleDialog
...
Test: visual inspection
Change-Id: I99231ed5801f3286421f331554fc5c51c2a2d08c
Fixes: 35960612
2018-10-01 14:47:28 -04:00
jackqdyulei
e04daba671
Set the layoutPreference not selectable
...
In this way it won't yell out "Double-tap to activate"
Change-Id: Ie5d97f91d32ab7db1f1cec308521e7327d1fbaa4
Fixes: 116666315
Test: Manual
2018-09-26 15:41:40 -07:00
Julia Reynolds
7217c4421f
Prevent non-blockable app from being blocked
...
In the recent notifications display.
Test: manual
Change-Id: I0b14dfbcb8c4a971bb028def7751d083d37958de
Fixes: 111863327
2018-09-13 14:02:50 -04:00
Julia Reynolds
cbacfc5753
Fix settings crash if launched with null args
...
Test: manual
Change-Id: I81990d63606074fc670cc39471c91ee61a73f1fc
Fixes: 73666426
2018-09-07 15:24:09 -04:00
Philip P. Moltmann
e3f721132a
RestrictedLockUtils was split into ...Internal
...
This means that in some cases RestrictedLockUtils has to be used and in
some RestrictedLockUtilsInternal.
This causes a lot of trivial code changes.
I also updated the ordering of the imports in all affected files.
Bug: 110953302
Test: Built
make -j RunSettingsRoboTests
Change-Id: I9bdf8b89134f853bae4f38c81af436715c73e924
2018-08-30 08:11:39 -07:00