* Expose the setTicketToken to jni and java layer for Android apps to set Tokens like AAD with the event
* Fix the fucntion call for jni
* Fixed comments
* Pause management
Add API to ILogManager to support Pause/Resume/Wait
* Android wrapper and tests
* Change expected values for PauseManager
* Documentation (use-after-free)
* Repair git merge damage
* Add PrivacyGuardHelper
The class manages the PrivacyGuard shared_ptr.shared_ptr. This is needed to allow for logmanger-specific integration.
* Add checks for module before including PG.
* Update modules commit to module-master
* Fix build breaks and address comments.
* Correctly use the shared_ptr
* Fix missing methods for ILogManager
- Added tests
- Renamed PrivacyGuardState to PrivacyGuardHelper.
* Remove `/*static*/` where it's not used.
* Simplify the PG registration for LogManager
* Revert "Remove `/*static*/` where it's not used."
This reverts commit 3cf8f12242.
* Revert "Add PrivacyGuardState"
This reverts commit 42996be631.
# Conflicts:
# lib/android_build/maesdk/src/main/java/com/microsoft/applications/events/LogManagerProvider.java
# lib/jni/LogManager_jni.cpp
# lib/jni/PrivacyGuard_jni.cpp
* Revert more changes.
* Cleanup LogManager and tests
* Minor rename of methods.
* Improve the test for PG on Multiple LogManager
* Minor refactoring.
* Add Java implementation for PG InitConfig
* Fix Mac build break for Android
Add support for multi-user scenarios
Point modules to newer commit with PG Module changes.
* Update modules and JNI.
* Try fix build break.
* Disable Android test for PG
Remove all the #ifs I added to make the test work.
* Fix PrivacyGuard_JNI compilation
* Remove deprecated CDC fields from Java.
* Update Obj-C Wrapper.
* Add ObjC InitConfig files.
* ObjC Wrapper updates.
* Update modules commit.
* Modules repo commit update.
* Pair programming and Xcode FTW
* Java Updates
* Address ObjC comments.
* Update main.mm to initialize the NSMutableArrays before using them.
* fix typo
* Update PG test
* Update InitConfig to use a C'tor for required values.
* Fix a typo on ObjC Wrapper
* Update Modules commit point to master tip.
Co-authored-by: David Brown <dabrow@microsoft.com>
Add error checking in the getLogger method. Some applications are
seeing Java exceptions (no such field) from the nativeGetLogger method.
Co-authored-by: Martin Harriman <maharrim@microsoft.com>
- change LICENSE file as per agreement with CELA: all code has not been previously released and is now licensed as Apache License 2.0
- move couple 3rd party code units to third_party
- scripts to search and replace
- add SPDX copyright to all compilation units
Reinstate boolean LogManagerBase logic for Apple weak-definition option.
Remove unimplemented java LogManager.getController.
Share WrapperLogManager definition between LogManager_jni and LogManagerDDVController_jni
Ran clang_format on LogManagerBase which made many small whitespace changes.
The wrappers were providing a weak definition of the default LogManager instance, but this failed for customers who were Java-only, and did not appear to work even for a unit test that provided a LogManager definition. Since we have Java-only customers, it seems reasonable to supply a solution that supports them.