Phone blacklist: block private numbers functionality
Change-Id: Ib271a79889e6e5ade6107c024301b045596ee151
Signed-off-by: ChampionSwimmer <android@championswimmer.tk>
Allow notification expansion if multiple calls were missed or
blacklisted.

The expanded notification shows a list of the missed/blacklisted calls (up to 6) in
that case.

Change-Id: I63db3eb6e773119a0bf8c0c430fcaa6f32d5e6f2
Signed-off-by: ChampionSwimmer <android@championswimmer.tk>
Phone: Add blacklist unknown numbers functionality

	This way you can choose to block numbers not
	in your contact list

	Add counters to missed and blacklisted calls
	notifications

Patchset 4:
	- Remove counters for a single call
	- Reformat
	- Move the dependency of the "unknown numbers" preference
	  under that of "private numbers", that is the logical
	  parent

Patchset 5:
	- Fix formatting

Patchset 6:
	- Solve a bug in which a private number would be blocked
	  as unknown, with the message "Unknown number: 0000"
	- Code the dependency between the two preference sets,
	  "Block private numbers" and "Block unknown numbers"
	- Make some code lines cleaner

Patchset 7 - 13
	- Some more corrections, spaces and tabs fixing.

Change-Id: I02ff2eaed4d9b8e60c968349620bf100534390f2
Signed-off-by: ChampionSwimmer <android@championswimmer.tk>
Phone: Add summary to block private numbers functionality

This commit adds a summary text to the block private numbers
functionality to avoid ugly ellipsizes in languages where the
translations get longer (e.g. German).

Change-Id: Ie57cb2a41ec6689855c1d6879f66f439bb9e8b7a
Signed-off-by: ChampionSwimmer <android@championswimmer.tk>
Do not attempt to do any matching against the '0000' number.

Additionally, uncheck 'block unknown' when its dependency 'block
private' is unchecked to make the shared pref values follow the expected
behaviour.

Change-Id: Id62e45a374c8c104924e6397f90c274ec9726cb8