Commit Graph

281 Commits

Author SHA1 Message Date
Julia Reynolds
992422fd5e Catch rule creation exceptions.
Bug: 28775583
Change-Id: I54c4af0352c88b27717660741709ec54e4749656
2016-05-16 09:53:23 -04:00
Adrian Roos
ef505d628a Merge "Allow DPMs to restrict Remote Input on Keyguard" into nyc-dev 2016-05-12 20:52:25 +00:00
Adrian Roos
059b0fa060 Allow DPMs to restrict Remote Input on Keyguard
Change-Id: I84b90b4047129794f1397351f9c8624f0048ad41
Fixes: 26981262
2016-05-12 19:12:17 +00:00
Sudheer Shanka
2ad6adbd58 Add policy transparency to app notification settings on lockscreen.
Bug: 28390118
Change-Id: I395440b0f7e93da90f9f346574afa5501761d473
2016-05-09 10:57:34 -07:00
Adrian Roos
4bd42073d4 Properly handle rotation in NotificationLockscreenPreference
There were some issues because we didn't explicitly
track and restore the selected position upon rotating,
so the fragment's oppinion of which item was selected
didn't match the ListView's.

Change-Id: Ia86e25dab36b44931297f8bcc7bcb7d6974f4b76
Fixes: 27921546
2016-04-29 14:37:16 -07:00
Julia Reynolds
21fd269ea3 Show 'on the lockscreen' setting in more contexts.
- For managed profile apps
- When 'auto' importance is on.

Bug: 28405255
Change-Id: Ia4c0bc6010f157cac18a828069bbcf54087fc663
2016-04-27 12:46:43 -04:00
Julia Reynolds
1e5d0e731e Merge "Don't crash on apps only installed for other users." into nyc-dev 2016-04-26 15:28:20 +00:00
Julia Reynolds
e39066c309 Swap star tint.
Bug: 27558254
Change-Id: Iedcc61f326813047b50b1d68b4e82ac08ede5623
2016-04-26 09:17:47 -04:00
Julia Reynolds
175bba9ed9 Don't crash on apps only installed for other users.
Change-Id: I13d415441aa1c7d09df7adccd4e2d2f9bbd3dbfb
Fixes: 28151314
2016-04-25 16:45:49 -04:00
Julia Reynolds
472526e53f Don't save a rule without a name.
Bug: 28282339
Change-Id: Ie0a66f980c920354d172be4f0b91584338efce69
2016-04-20 16:08:30 -04:00
Julia Reynolds
8b01df5d78 Merge "Notification slider changes." into nyc-dev 2016-04-15 15:20:21 +00:00
Julia Reynolds
088fb52ef8 Notification slider changes.
Bug: 27558254
Change-Id: I15635ae19e82a57d6e6fcb2f8f946f31bebf5d0f
2016-04-15 11:04:13 -04:00
Ricky Wai
af67c3b576 Show "work mode off" dialog when work notification setting is clicked
Bug: 28158297
Change-Id: Iea4eaa32f3c4b2e605b6eace82ee4443e387fb4b
2016-04-15 14:43:44 +01:00
Ricky Wai
29d59dd21f Merge "Force to unlock work challenge before reply inline notification" into nyc-dev 2016-04-14 17:59:27 +00:00
Julia Reynolds
83f35ba88d Notification listeners have full DND access.
Bug: 27976092
Change-Id: I9603d900d7cee5666ec3567b4f42fee6d93ae5f8
2016-04-13 16:55:31 -04:00
Ricky Wai
9b753da2b7 Force to unlock work challenge before reply inline notification
Bug: 28036566
Change-Id: Ida63ce5003b7e3ec79e1575815d70d1350ffed2d
2016-04-12 13:41:00 +00:00
Chris Wren
6b11a06035 update station to show ranking and autobundles
Bug: 26919636
Change-Id: I5f1ce737ca2d06e6706c3248bd09bd40ef36774f
2016-04-11 12:26:50 -04:00
Daniel U
9f4ad67fad Merge "Allow user to hide sensitive notifications with no work challenge" into nyc-dev 2016-04-08 15:44:44 +00:00
Julia Reynolds
c736efcb61 Fix ringtone persistance after device rotation.
Bug: 26122624
Change-Id: I187fe673dea250e93c6e9603239f01845ed378a3
2016-04-04 15:20:11 -04:00
Daniel U
6e556092f5 Allow user to hide sensitive notifications with no work challenge
When a user upgrades to N, her work profile is automatically
unified even though no work challenge setting is shown to the user
if the user has not upgraded her DPC. Allow the user to hide
sensitive notifications based on whethere there's a profile, but not
on whether there is a work challenge.

Bug:27673591
Change-Id: Iec41dda2d9e479597b3e593e7f9b7f1c0fcd2a49
2016-04-04 14:55:56 +01:00
Julia Reynolds
e605e32522 Hide repeat callers instead of disabling.
Bug: 27724390
Change-Id: I4f538138d010f306ce6467122c8aef89eaa81ed5
2016-04-01 10:54:34 -04:00
Julia Reynolds
2bcb0778c3 Rules without a configuration activity aren't clickable.
Bug: 27823109
Change-Id: Ifa2291627846e562f9a04ec1e85582833ab234de
2016-03-24 15:10:25 -07:00
Adrian Roos
e6d60877b2 Fix NotificationLockscreenPreference
Remote-Input-on-Lockscreen setting was inverted.

Bug: 27638447
Change-Id: I4ca17854dae7c6a47e4fe22be2e862e96742f457
2016-03-14 23:08:40 -07:00
Jason Monk
222be28d13 Merge "Move temporary metrics constants to proto" into nyc-dev 2016-03-09 14:03:34 +00:00
Julia Reynolds
184da33bba Don't reference the notification led if it doesn't exist.
Bug: 27318491
Change-Id: Ic43f1e8c0c7cf376b19278ab6c2661abc1052ddb
2016-03-08 16:23:03 -05:00
Julia Reynolds
3e912e7ea5 Notification summary updates.
Change-Id: I6b824acf27743637ca661b38b51c639ecf099208
2016-03-08 16:08:12 -05:00
Jason Monk
3e19fc5600 Move temporary metrics constants to proto
Change-Id: I8fb3ac22df7bdc52039dd640f7696ebd32281f0b
2016-03-08 14:18:30 -05:00
Ruben Brunk
e1c98ca821 Add settings VR listener service.
Bug: 22855417
Bug: 26724891

- Adds a settings panel allowing users to toggle the
  enabled/disabled state of each VrListenerService
  component installed.
- If disabled, a VrListenerService will not be bound
  from the framework, even when requested by a VR
  application.

Change-Id: I606eb712c011d160b9fbdd3c0e8fd744c653ef07
2016-03-04 16:07:09 -08:00
Sudheer Shanka
6e2b469651 Merge "Avoid checking the restricted items in the list." into nyc-dev 2016-03-04 22:27:44 +00:00
Sudheer Shanka
54dc9d52d0 Avoid checking the restricted items in the list.
Since we are not auto-closing the dialog any more, need to
make sure the restricted item in not checked when selected by user.

Change-Id: I7c02844d3071ae62222cdbdbda96780bd5d922de
2016-03-04 13:53:24 -08:00
Julia Reynolds
d53f90d0d1 Remove DND & Notification access screen links.
These should only be available from 'special access.'

Change-Id: I9e49be9263b3e880031906345422459a5ad23d7f
2016-03-04 09:44:34 -05:00
Adrian Roos
a792664794 Merge "Add remote input setting to redaction interstitial" into nyc-dev 2016-03-03 21:43:59 +00:00
Adrian Roos
e37d209029 Merge "Fix NotificationLockscreenPreference" into nyc-dev 2016-03-03 20:48:36 +00:00
Adrian Roos
6f4edf822f Add remote input setting to redaction interstitial
Bug: 26440855
Change-Id: I8cd16074c63778defab767096261bcc99956b8fc
2016-03-02 15:37:52 -08:00
Adrian Roos
20f53b7cbb Fix NotificationLockscreenPreference
Show remote input on lockscreen checkbox
when showing all notification content.

Bug: 26440855
Change-Id: I90475d4c39797858b2dc8cdefab5bca6bb63daef
2016-03-02 11:55:49 -08:00
Julia Reynolds
60e90ac07c Allow notifications be to hidden from the lockscreen by app.
Bug: 26642033
Change-Id: I932defebe00c566c0a930a0cabc118238c349272
2016-03-02 14:20:57 -05:00
Clara Bayarri
fe3ac82dde Merge "Add Work Challenge Notifications Setting" into nyc-dev 2016-03-01 23:11:59 +00:00
Clara Bayarri
462cce1a4c Add Work Challenge Notifications Setting
Bug: 26844582
Change-Id: Ib1eb28cfebcc0c8d23ec8669f2777ccb822d7bf3
2016-03-01 10:22:05 -08:00
Daniel Sandler
c9a8abb538 Merge "Fix CharSequence nonsense in NotificationStation." into nyc-dev 2016-03-01 16:19:25 +00:00
Julia Reynolds
a20dff1ebf Merge "Api review: AutomaticZenRule" into nyc-dev 2016-03-01 15:05:34 +00:00
Dan Sandler
8b797c2df8 Fix CharSequence nonsense in NotificationStation.
Also clean up the lifecycle so we unbind and rebind on pause
and resume, instead of create and destroy.

Bug: 27389947
Change-Id: I2b7b7934a25a6bd528b9d399ffed487ea724b30b
2016-02-29 22:29:10 -05:00
Andy Hung
a77940d0f5 Merge changes from topic 'update mono audio' into nyc-dev
* changes:
  Add mono audio to AccessibilitySettings
  Remove mono audio from SoundSettings
2016-02-27 02:50:06 +00:00
Julia Reynolds
1d33d59be2 Api review: AutomaticZenRule
Bug: 27364144
Change-Id: Ic0ea5d4958711cf5216e87ad8054460ad4246856
2016-02-26 18:38:50 -05:00
Andy Hung
f892e21696 Remove mono audio from SoundSettings
Mono audio will move to AccessibilitySettings only.
This reverts commit 0863ea40cd.

Bug: 15283594
Change-Id: I2cc744c96a9f6a6454b0bf533a44bb2eb56b745a
2016-02-26 14:17:29 -08:00
Julia Reynolds
c2bcc727d9 Merge "Introduce IMPORTANCE_MIN." into nyc-dev 2016-02-26 16:14:33 +00:00
Julia Reynolds
518b93f565 Introduce IMPORTANCE_MIN.
Bug: 22960980
Change-Id: Ia3876e0b3b5dae19553fd467313b46408fcbb0f4
2016-02-25 13:06:57 -05:00
Adrian Roos
d553f4f9a9 Add setting to allow RemoteInput on keyguard
Bug: 26440855
Change-Id: I57e02876c615f558eee279f2dc7edca8b28fc495
2016-02-25 09:22:14 -08:00
Julia Reynolds
d4559a8035 Replace slider with switches; move slider to tuner.
Bug: 22451710
Change-Id: I86a57479757b3c7a43a789b0b3d7a81afb6d0cf9
2016-02-24 12:52:31 -05:00
Dan Sandler
7a038ebb1c Enhanced notification details.
Bug: 26919636
Change-Id: I378dc088a6b51e3b33607937c3a12e8d51a97e5e
2016-02-22 12:52:38 -05:00
Sudheer Shanka
7dbbe13168 Add disabled by policy empty views to more screens.
Bug: 27214401
Change-Id: I6cd4292a63610671070bf2134105e9e348c3ab32
2016-02-19 20:18:43 +00:00