Messaging: Implement per conversation channels

Test: manual - Tested the messaging UI. Ran the following CTS tests on Emulator.

$ make -j
$ make messagingtests -j
$ find out -name "messaging*.apk" -print -exec ls -l {} \;
out/target/product/generic_x86/system/product/app/messaging/messaging.apk
-rw-r--r-- 1 luca users 10253068 Sep 10 16:05 out/target/product/generic_x86/system/product/app/messaging/messaging.apk
out/target/product/generic_x86/testcases/messaging/messaging.apk
-rw-r--r-- 1 luca users 10253068 Sep 10 12:57 out/target/product/generic_x86/testcases/messaging/messaging.apk

$ adb install -r -d out/target/product/generic_x86/system/product/app/messaging/messaging.apk
$ adb install -r -d out/target/product/generic_x86/testcases/messagingtests/x86/messagingtests.apk

$ adb shell am instrument -w com.android.messaging.test
  Time: 12.766
  OK (113 tests)

CTS tests for Mesaging app
---------------------------
$ ./development/testrunner/runtest.py --path cts/tests/app/src/android/app/cts/NotificationTest.java
  adb  shell am instrument -e class 'android.app.cts.NotificationTest' -w 'android.app.cts/androidx.test.runner.AndroidJUnitRunner'
  android.app.cts.NotificationTest:...........................
  Time: 0.2
  OK (27 tests)

atest
-----
$ cd packages/apps/Messaging
$ atest
  Summary
  -------
  messagingtests: Passed: 113, Failed: 0, Ignored: 0

Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Signed-off-by: Joey <joey@lineageos.org>
Signed-off-by: Danny Baumann <dannybaumann@web.de>
Signed-off-by: Arne Coucheron <arco68@gmail.com>
Change-Id: Idb39ca32751d40b3376934775d2119dd6cc7e297
66 files changed