summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-10-13Fix misctizen_8.0_m2_releasetizen_7.0_m2_releaseaccepted/tizen/unified/20221014.074152accepted/tizen/8.0/unified/20231005.095759accepted/tizen/7.0/unified/hotfix/20221116.111654accepted/tizen/7.0/unified/20221110.061700tizen_8.0tizen_7.0_hotfixtizen_7.0tizenaccepted/tizen_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedYunjin Lee2-22/+33
- Remove unnecessary root view and change window background color to transparent - Fix bug: Fix not to create & push second page multiple times for quick multiple clicks of first page items Change-Id: Ib7ed13798eef8256a453a88b3f5899af2d2d6935 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-10-06Change get app context methodaccepted/tizen/unified/20221006.151857Yunjin Lee3-5/+287
- ApplicationRunningContext can't get appcontext of app group sub app and throws exception. Hence changed the method to get running app context. - Fixed to check null before use. - Fix wrong new lines. Change-Id: Iffdd0bfd77dc68243e0ceeffb48e021fea3603cd Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-09-20Change BackButton action of first pageaccepted/tizen/unified/20220920.160605Yunjin Lee2-1/+14
- Set encoded bundle to the first page's AppBar BackButton instead of just exiting the widget so that the settings main app can handle it. Change-Id: If5ea7db6b1a55d498f07549058d0fce894f760af Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-09-19Fix misc & update tpk fileaccepted/tizen/unified/20220920.050143Yunjin Lee16-11828/+5
- Restore init which was missing while refactoring - Remove unnecessary config files - which was kept because of warning comments but was no matter to build without it Change-Id: I3fe6513e87d2f8e93d7bd4c5d3f297326017651b Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-09-15Fix pathsYunjin Lee2-5/+5
- Remove abs paths Change-Id: Id40438bc98c095d41a2558f641ba6f3e7cf90268 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-09-07Apply coding style & update tpk fileaccepted/tizen/unified/20220908.124853Yunjin Lee18-236/+467
- Add readonly for some and remove partial which is not partial actually - Apply naming convention - Extract some value to const variable - Apply inline variable - Used CoreFX coding style: https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.md and added .editorconfig (the same except end-of-line) Change-Id: Idc69ac55fea3d788d8528e9713fe9d5340d693f4 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-09-06Refactor ItemContentYunjin Lee4-180/+188
- Separate ItemContent into PrivacyItemContent and PrivacyPackageItemContent and move related methods to them - Arrange logs and remove unused using Change-Id: I8ae2c3a31774213e349cad822035faaadce20044 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-09-05Update tpk fileaccepted/tizen/unified/20220907.040710Yunjin Lee3-2/+0
Change-Id: I17befbd459c83f52675eeb7b90ae0f234a0e44fd Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-09-05Support multi language and change privacy off actionYunjin Lee6-37/+585
- Support multi lang (en, ko-KR) - Terminate app when privacy is offed according to the previous UX of the setting privacy app. Change-Id: I70aca2d3247ba8cd9efd6ed6d4bb1508cda0934e Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-09-02Fix miscYunjin Lee6-74/+4
- Remove unused xaml files - Fix pkgid and app configs - Fix cyad cmd not to be erased after install Change-Id: Idf046b21eace74c6c5512f2d7ac3415a5d7ce754 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-08-25Add more APIs from glib and libcYunjin Lee11-29/+150
- Add free() and getuid() from libc - Add g_list_free_full() from glib (it uses free as freefunc) - Add tests and fix test name of SecurityManagerTest, update precondition command - Free GListHandle after use and replace tempUid to Getuid() Change-Id: I7a107e480129166c9ddc17a3fdf2f4df8202fd03 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-08-24Rename pkgid to org.tizen.cssetting-privacyYunjin Lee3-4/+4
- Rename org.tizen.SettingPrivacy to org.tizen.cssetting-privacy according to the csharp setting app naming convention. Change-Id: I3f8565a6f7758fd287dbc7cc71f440cf6006ede2 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-08-23Add setting privacy widgetYunjin Lee21-17/+470
- Change NUIApplication to NUIWidgetApplication - Implement default action for showing privacy list, privacy package list for selected privacy and change a listed package's privacy status by using switch toggle - SettingView app is for displaying SettingPrivacy widget while development because widget can't be displayed itself. SettingView will not be included in the image. Change-Id: Ic18dd4028e78c775ad6420bed57698be093e5773 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-08-10Add Interop APIs and Testsubmit/tizen/20220823.060729accepted/tizen/unified/20220823.061609Yunjin Lee34-0/+12987
- Setting privacy app uses internal APIs hence it need to use Interop to wrap those APIs. This commit includes Interop wrapped internal APIs of privilege-checker and security-manager, and test. - The test runs when setting privacy app is launched with debug mode. Before running test, build & install PrivacyPrivilegedApp and add notexist privilege to the setting privacy app using cyad command. - About test framework, I tried to add customized NUnit like TCT but it was too big to include here to add a few tests. I just added few utils for simple test and showing result with dlog tag 'SettingPrivacy.Test'. - After running test, you can check the result with: dlogutil SettingPrivacy.Test ex) D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > ======================== Setup New Test ======================== D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > SecurityManager Interop Test D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > [PRECONDITION] D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > [1] Build and install org.test.PrivacyPrivilegedApp -> privilege: account.read, camera, mediastorage D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > [2] cyad -s -k MANIFESTS_GLOBAL -c User::Pkg::org.tizen.SettingPrivacy -u '*' -p http://tizen.org/privilege/notexist -t ALLOW D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > ==== TESTCASE [1] setPolicy D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > => PASS D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > ==== TESTCASE [2] getPolicy_DENIED D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > => PASS D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > ==== TESTCASE [3] getPolicy_ALLOWED D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > => PASS D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > ==== TESTCASE [4] getPolicy_ASKUSER D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > => PASS D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > D/SettingPrivacy.Test( 7816): Test.Utils.cs: log(12) > ======== Test Result >> Total Test: 4, Pass: 4, Fail: 0 ======== Change-Id: Ia0c1df0a4376d63429e7c2ea2f5f476afa92fb8a Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-08-09Initial commitYunjin Lee4-0/+597
- add .gitignore for VS - set up spec file for tpk app with http://tizen.org/privilege/notexist Change-Id: Id051d815c14d98096895a2112088bf2285a7bddf Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2022-07-22Initial empty repositoryHEADmasterTizen Infrastructure0-0/+0