Age | Commit message (Collapse) | Author | Files | Lines |
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- Remove abs paths
Change-Id: Id40438bc98c095d41a2558f641ba6f3e7cf90268
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
|
|
- 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>
|
|
- 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>
|
|
Change-Id: I17befbd459c83f52675eeb7b90ae0f234a0e44fd
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
|