Commit graph android_device_samsung_a20/universal7885-common/apps
Author SHA1 Message Date
roynatech2544
5394c3b11f universal7885: Add extra compiler defaults 2022-05-21 00:37:58 +00:00
roynatech2544
be82ebd1fe
universal7885: bpfmt 2022-05-20 18:37:24 +09:00
roynatech2544
082cd1ac46
universal7885: AARs: Update to 1.6.0 release
Link: https://mvnrepository.com/artifact/com.google.android.material/material/1.6.0
2022-05-10 21:44:20 +09:00
roynatech2544
f23f81e96f
universal7885: CameraLightSensor: Correct class name
Need to be full class name, including packagename
Also rename AIDL file to camera app's, so it will be unified
2022-05-03 21:21:17 +09:00
roynatech2544
df3f4dea62
universal7885: Add aidl for interacting with EKCamera
Also address deprecation
2022-05-01 10:12:35 +09:00
roynatech2544
a7ef8f2b7e
universal7885: Format xml again
* No tabs this time, 3-space intent
2022-04-29 22:24:09 +09:00
roynatech2544
88d149ae33
universal7885: parts: jni: Link statically against libc++fs
* Shared lib version is not available now
2022-04-29 22:11:56 +09:00
roynatech2544
1898abbb62 universal7885: Allow glove settings on A20e
Exists on /sys/class/sec/tsp/cmd_list
2022-04-20 15:23:43 +09:00
roynatech2544
4a8c870b6b universal7885: parts: swap: Round down
The free space on /data
Also fix some issues with it
2022-04-20 12:58:55 +09:00
roynatech2544
0faf51929d universal7885: parts: jni: Link against libc++ fs
Also fix Kotlin src issues
Also clang-format the cpp src
2022-04-20 11:51:25 +09:00
roynatech2544
0a612ac913 universal7885: parts: Show free space and swapfile size 2022-04-20 11:31:13 +09:00
Soo-Hwan Na
053aa4fa1c
universal7885: parts: Put persistent true
* For Dolby settings
2022-04-19 21:26:48 +09:00
Soo-Hwan Na
b3ffeda816 universal7885: parts: res: Add missing attr
* Fix on darkmode
2022-04-19 11:51:24 +09:00
roynatech2544
f35f7010ff universal7885: parts: Set priority when mounting
* Also increase swappniess back, implment apply on boot
2022-04-19 11:51:24 +09:00
roynatech2544
f5d3e25c02 universal7885: parts: Implement swap on /data ctrl 2022-04-19 11:51:24 +09:00
roynatech2544
442aa11e81 universal7885: Format xml using xmlstarlet 2022-04-18 13:32:36 +09:00
roynatech2544
2cfe74a022 universal7885: parts: Fix a minor mistake
* Also bring back custom styles xml
2022-04-15 12:41:33 +09:00
roynatech2544
9b2915e070 universal7885: xml: format using xmllint 2022-04-15 11:26:05 +09:00
roynatech2544
7d313f6d93 universal7885: parts: Inherit settingslib for main fragment
* Also, drop more custom resources
2022-04-15 10:53:00 +09:00
roynatech2544
208e4ab7fe universal7885: parts: Put selectable = false
They are not meant to be selected in the first place
2022-04-15 10:37:09 +09:00
Soo-Hwan Na
c19e235315
universal7885: parts: Use enum values
* For better readability
2022-04-15 10:21:59 +09:00
roynatech2544
3aff7935f2
universal7885: FMRadio: Remove from priv-apps
* Allow users to disable it if they don't want
2022-04-14 18:19:41 +09:00
roynatech2544
c813e0984a
universal7885: parts: Refactor battery fragment
* Show live data of battery

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-14 18:02:41 +09:00
roynatech2544
419f6646a3 universal7885: parts: Follow Android 12 style
* Use more Settingslib classes and resource layouts

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-14 14:33:28 +09:00
roynatech2544
7a9bbf0e14
universal7885: CameraLightSensor: Be more sensitive 2022-04-13 17:30:57 +09:00
roynatech2544
3c7ca85990
universal7885: Format Kotlin code using ktlint
* Also, refactor CameraLightSensor

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-13 17:21:17 +09:00
roynatech2544
95d062a8b1
universal7885: parts: Use contains()
ro.product.device has e.g. derp_a20e
2022-04-12 20:20:08 +09:00
roynatech2544
d134ddaab3
universal7885: parts: Make SharedPreference instance lateinit
* Else crashes
2022-04-12 20:00:02 +09:00
roynatech2544
cd97190144
universal7885: parts: Load jni lib on apply on boot 2022-04-12 19:24:48 +09:00
roynatech2544
4a9ca4730c
universal7885: parts: Refactor
* Convert null properties to lateinit
* Implement apply on boot again
* Cleanup unused file
2022-04-12 19:18:01 +09:00
roynatech2544
cae95b3c27
universal7885: FMRadio: Drop unused permission
* Also drop privapp permissions
2022-04-12 18:28:07 +09:00
roynatech2544
006243af7c
universal7885: parts: Don't code every possible values
* Use static_cast<Enum class>(Value) instead
2022-04-12 18:19:01 +09:00
roynatech2544
cb072badd5
universal7885: format code using clang-format-15 2022-04-12 17:37:51 +09:00
roynatech2544
bfcbd0d355
universal7885: parts: Disable display settings on non-supported models
* Also, update copyright header
2022-04-12 17:09:57 +09:00
roynatech2544
15f84d5a7b
universal7885: parts: implement display controls
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-04-12 16:45:48 +09:00
Soo-Hwan Na
69206da15f
universal7885: parts: Address deprecation
* androidx.preference.PreferenceFragment -> androidx.preference.PreferenceFragmentCompat
2022-04-06 17:30:25 +09:00
Tim Zimmermann
a281ee2318
universal7885: Clamp DolbyCore.getProfile()'s returned value
Change-Id: I267a4ea4c6bf51347d2ba2c0f59e95d144b9c7d3
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-28 12:09:01 +09:00
Adithya R
3935a846ff
universal7885: parts: Update clear speaker audio from MIUI 12
Change-Id: I022442fd4a7f0bdf04d1e2d7aecf47695a52fd3b
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-26 10:30:00 +09:00
roynatech2544
1ae135e877
universal7885: parts: Address some errors after merging
Change-Id: I4db5d687a832e47d35398130e6c13cbc8a41bf97
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-23 22:37:04 +09:00
roynatech2544
ad27f7c8f6
universal7885: Merge LineageOS SamsungDAP
Change-Id: Ic8faa1b8b2c23ca1cd1add256c2229efef36cfd1
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 22:05:28 +09:00
Soo-Hwan Na
4316787756
universal7885: parts: Declare missing entry on manifest 2022-03-22 19:05:32 +09:00
Chatur27
1bbbc011be
universal7885: parts: Use audio hw parameter for dolby effect 2022-03-22 19:05:32 +09:00
roynatech2544
9443bdc315
universal7885: FMRadio: Futher improve code
* Using enum classes for various statuses for good readability
* Implement favorite channel saving which was missing
* Use Kotlin coroutines again for refreshing channel list button, for faster UI response
* Added javadoc for better functions description
* Also, code native audio routing system on jni (fm_route.cpp)

Change-Id: I993c88fdb580248d8a55efd8e9b6fed0e36d9b24
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:31 +09:00
roynatech2544
2648c647fc
universal7885: Add missing dependency, fix some code for AOSP 2022-03-22 19:05:31 +09:00
Soo-Hwan Na
bfe69c8347
universal7885: FMRadio: Switch to lastest material lib 2022-03-22 19:05:31 +09:00
roynatech2544
0803fadf47
universal7885: FMRadio: Use kotlinx.cororutines library
* Background thread handle system
2022-03-22 19:05:31 +09:00
roynatech2544
308a5d49c8
universal7885: Add Material you reworked FM app
* UI and function improvements

Change-Id: Ia1ea7aa0caf0ac3838e285952e9be7e79b946e80
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:30 +09:00
roynatech2544
6235756b90
universal7885: FMRadio: jni: fix build errors
* Fix errors on FM HAL too

Change-Id: I95885939d55efa0b400fe55d0a444f64d1f65a51
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
roynatech2544
e07865c670
universal7885: interfaces: Implement FMRadio HAL V1.2
* Also, track our fork of OneUI theme lib

* Implement read from sysfs interface which can fix channel searching on some cases

* Commit link: fead45ba0e

Change-Id: I81532b7f8169637fdcad0f678790a2b1f1888ecc
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
Soo-Hwan Na
ffaf807401
universal7885: FMRadio: Make volume delay to 4s
* 1.5s -> 4s
* Also, remove undeclared dependency

Change-Id: Ieff232fd776e52abfbc617495298ab27afd021d1
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:27 +09:00