* Saving them doesn't work otherwise
* We don't have to care about MediaScanner and DownloadManager
anymore that way, either
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/8573
Change-Id: I7a3b1dc6916feff4849bdfa2b8937460c32bc5a2
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
(cherry picked from commit 93bd39838d4a395dd710796b0e71ada1ec1f5ff2)
Set IMPORTANCE_HIGH so that message notifications will pop on screen
by default.
Issue: calyxos#2984
Change-Id: I6d6d823310bc0ad5f06a47df69446ebf502894dd
packages/apps/Messaging/src/com/android/messaging/ui/ContactIconView.java:60: error: cannot find symbol
final int iconSizeId = a.getInt(R.styleable.ContactIconView_iconSize, 0);
^
symbol: variable ContactIconView_iconSize
location: class styleable
Change-Id: I83b0d869a02971c43eb1aa8b80d418832900471c
* Apparently in QPR2, Material Design specifies iconSize which is set
as a dimension (18dp) and overwrites ours which is an enum
* Fix it by choosing a unique name for the styleable
Change-Id: I0e9f93dc5bf8d450ea987f3b1fde9641827f2f99
* 80% opacity is not what we want anymore
* The status bar in the conversation list is also supposed to be
tinted properly - so why not do it?
Change-Id: I03c05595cd7f5a3f8f7dea120e14f3f3e0fff0b5
* Following recommendation of AS
* Also add the missing newlines at the end - they should be there and a
separate change doesn't make sense
Change-Id: I90ce1574910275458f51a151c8dcd6da49433504
* The only thing we need is reading one Tag, which the androidx
implementation can do just fine.
* Apart from that there is so much unused code there...
Change-Id: I248a9e5450f1823e3eca589b8e17610940b26d01
* mmslib contains basically the same code as android.support.v7.mms.pdu
does, so align them code-wise and remove the mmslib duplicates
* Since mmslib contains a few usages that are now not accessible
anymore, make the classes or methods public where it complains
Change-Id: I10b8716c0e45079e4795fda4489dc1a9535026f3
* AsyncTask is deprecated
* Executors and Handlers can achieve the same thing and
are not deprecated
Change-Id: I5271bb73b848ce885eeaf5632c1da27853c56c4a
* We don't have strings.xml in the translation pipe yet so move it to
our own strings instead
* Add an explainer comment as well
Change-Id: I392837e194c7c5d5b4b44d5cbba2ef2f521857ed
Since these have no effect on sdk 33 and up and everything works without
them we can get rid of those
Change-Id: I0482d8b8772dc2c64bb1930fbc6ba4852f4b4c61
On light background they stand out lighter, but on dark they just blend
in - we can reuse the attachment background to fix that!
Change-Id: I0e0f09d0cd305ce1bc8aa07c3a20b79993d40e60
* With dark theme, they suddenly don't stand out from the background
anymore
* Give them more rounding but not as much as the chat bubbles
Change-Id: I32c1036bda348e0c58e1cb37edbe9c7fc72309e7
* We don't need two settings basically doing the same
* Handling the change needs to happen via RoleIntent, not
ACTION_CHANGE_DEFAULT
* Our own name sometimes can't be retrieved from package manager (?) -
just use it from strings
Change-Id: I28abc52329f00b33a316533f12a54a517cba3514
The view doesn't have a "no items available" element and it doesn't
make sense to have one since the menu item is only visible once a contact
is blocked - so after removing the last blocked contact, simply return
back to the conversation list
Change-Id: I3372e26361f6919502cac6fd27ae849d559a4c05
* NotificationBuilder.addPerson(String) -> .addPerson(Person)
* Wearableextenter.addPage deprecated without replacement
* Html.fromHtml(String) -> .fromHtml(String, int)
* Handlers need Loopers
* Resource-IDs are not final by default (if-else instead of switch-case)
* call super.onFinishInflate() in override of onFinishInflate()
* Configuration.locale -> configuration.getLocales().get(0)
* SimpleDateFormat needs localization as well
* AudioAttributes instead of setAudioStreamType()
* isDataEnabled() is a public method, no need for reflection anymore
Change-Id: Icd830768b86edca3e0b44f1edc6c57facc9f731a