From 7208c02ed5de32f1f9470e3a2c2b3b474f3aa2db Mon Sep 17 00:00:00 2001 From: chintak Date: Tue, 24 Sep 2019 12:57:59 +0530 Subject: [PATCH] - Added Dynamic Permission Handling --- .../executionHistory/executionHistory.bin | Bin 21440 -> 24619 bytes .../executionHistory/executionHistory.lock | Bin 17 -> 17 bytes .gradle/5.4.1/fileHashes/fileHashes.bin | Bin 18597 -> 18647 bytes .gradle/5.4.1/fileHashes/fileHashes.lock | Bin 17 -> 17 bytes .../buildOutputCleanup.lock | Bin 17 -> 17 bytes .gradle/buildOutputCleanup/outputFiles.bin | Bin 23483 -> 23681 bytes .idea/caches/build_file_checksums.ser | Bin 539 -> 599 bytes .idea/gradle.xml | 1 + .idea/modules.xml | 1 + .idea/sonarIssues.xml | 44 ++++ .idea/workspace.xml | 200 +++++++++++++++--- Dynamic Permission Handling.iml | 1 - app/app.iml | 2 +- build.gradle | 4 +- dynamicpermissions/.gitignore | 1 + dynamicpermissions/build.gradle | 32 +++ dynamicpermissions/consumer-rules.pro | 0 dynamicpermissions/proguard-rules.pro | 21 ++ .../src/main/AndroidManifest.xml | 2 + .../PermissionPreference.kt | 23 ++ .../dynamicpermissions/PermissionResult.kt | 6 + .../dynamicpermissions/PermissionStatus.kt | 7 + .../dynamicpermissions/PermissionUtils.kt | 134 ++++++++++++ .../src/main/res/values/strings.xml | 3 + settings.gradle | 2 +- 25 files changed, 451 insertions(+), 33 deletions(-) create mode 100644 .idea/sonarIssues.xml create mode 100644 dynamicpermissions/.gitignore create mode 100644 dynamicpermissions/build.gradle create mode 100644 dynamicpermissions/consumer-rules.pro create mode 100644 dynamicpermissions/proguard-rules.pro create mode 100644 dynamicpermissions/src/main/AndroidManifest.xml create mode 100644 dynamicpermissions/src/main/java/com/ckdroid/dynamicpermissions/PermissionPreference.kt create mode 100644 dynamicpermissions/src/main/java/com/ckdroid/dynamicpermissions/PermissionResult.kt create mode 100644 dynamicpermissions/src/main/java/com/ckdroid/dynamicpermissions/PermissionStatus.kt create mode 100644 dynamicpermissions/src/main/java/com/ckdroid/dynamicpermissions/PermissionUtils.kt create mode 100644 dynamicpermissions/src/main/res/values/strings.xml diff --git a/.gradle/5.4.1/executionHistory/executionHistory.bin b/.gradle/5.4.1/executionHistory/executionHistory.bin index b2cf78b947066ab9c62454c1503779c73979849c..38417ffaa18e95eed49ca60f79ee8bdab35f0d6f 100644 GIT binary patch delta 1036 zcmX@GoN@I5#tkMCh8%roB9!mg@8DtpgRp!5p8V28k z563*PPk~6rOT#3yo8~=pi8Xit5s#CfTq>c>cyXiR5Alr#9^wYZ3=B*+f%qZ_&(2ND zG|o#)&MVAH$u7%EGs-B=%F8UxC@sr`XlG#GT=XnQlfb3uv z1!7(hCc=)%g&vz2?@ku<(-TUm%uCG8OfE<*%FQe;&dkp%o*e4w#dMr$@0Ib%j!)8*=>*OwDD*cI!;CjZM!Y&iFm>F-X9GJd1p5QzgePc3CeGlSUR{zB zyeWlkQXV6*T4k8<2CRpGVlVUD{U)=7uCDql*?;AjJR>kc*aA}r!)G9V4Z?&|2M5E! W$&SJ1lVyVzDiO>$f|DNvJpcf}RDBl! delta 69 zcmZ2|fbqa`#tkMCj4YE=B|IkIl~86Z+^G0Ne51h%ab9Bv2Bw=pd=Z2v9}HAtB)TI>o+s`>|+N2F18ln diff --git a/.gradle/5.4.1/executionHistory/executionHistory.lock b/.gradle/5.4.1/executionHistory/executionHistory.lock index 9baf349210d1cc4aa73d0b0ee3e54cc4b7fdfcee..592c59c32593600d3603b512c3fb24a8ee500fa3 100644 GIT binary patch literal 17 TcmZRUx+k|IHod2s0RrR!ER_Si literal 17 TcmZRUx+k|IHod2s0RlJxEPex} diff --git a/.gradle/5.4.1/fileHashes/fileHashes.bin b/.gradle/5.4.1/fileHashes/fileHashes.bin index 67167f535ae5f18d25e336a1075eac40bd43d7a6..ef5a5e3182fcd8c53279516a98fecd31d2868498 100644 GIT binary patch delta 135 zcmZ2Fk@5OO#tkMCn#^x>H_0EGSLe+D1|E+8q2Oy;r&SrJgECZn>10<4ZN|uria*3R z8XORx?C25d_)Fy#M3(U=kk&H>5}H7)2*LsrG$Ipc@J+8SNeSMR!Zs<7fq^kM@s~;x MP!b53wgL$~0C=G&SpWb4 delta 61 zcmcaUk#Xrn#tkMCf=q98H_0EGSLe+D1|E)+V9 literal 17 TcmZR!Dd6pjw=&mafB-fC9OME= diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index 27c8f9cd298b9d2c2607ebea699395e4cacbdea9..916e3fc352e98fa78b551f91bb1360de40e65a8f 100644 GIT binary patch literal 17 VcmZRUzVz<9h0{}qG1!({P literal 17 VcmZRUzVz<9O9fQ$>}FP(2u6X8+Z|e!+!ehcqA{_PLuC~Nw#;-6z2^CJ zJyhxa$+@xt0^5&H+UvOAb30UJ{^qT+4a@?!ws-`DCbnFFD&0L#alfMBkIv-?tZeeX{V{m11ZE16JX>V?GTw--;Y-BEHa$#g_Wp!}? wegFml000m;m@Wm4W=QAR=Fs8~g<;T>>;WDTqKfTY0%qo;Y(E${>;#C+czGQ-&;S4c delta 85 zcmV-b0IL7j1e*kqm;_<)6R44#OaTUw=~fV+P+lN9&5W0A>M=7#5Xp6uPXS;M|7c7a rG{