Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a0f8d231 authored by Fan Zhang's avatar Fan Zhang
Browse files

Add first impression type suggestion framework support

- category definition now supports "exclusiveExpireDays" attribute.
	- When set, the category is exclusive as long as it hasn't expired.
	  Once it expires, the category becomes a regular category.
	- If not set, the category is permanently exclusive
- For exclusive category, do not use smart suggestion dismiss rules.
  Instead, use the rule defined by suggestion itself.
- Add logic to ensure suggestions are unique, because there is nothing
  stopping suggestion to be placed in different categories.

Bug: 37947647
Test: make RunSettingsLibRoboTests -j40

Change-Id: I98126bbce6d68fcf1d739b6defc00b801075b877
parent 2a8ff264
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment