-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tizen.System.Storage] Register eventhandler if it is already existed
Register event handler in the class Storage if eventhandler is already existed. If at least one event handler is already registered, the API returns the storage state from a variable within the class. Otherwise, it retrieves the status externally. In the previous implementation, an event handler was only registered within class Storage when it was registered for each storage ID, and no event handler was registered within class Storage when it was registered by storage type. As a result of that, when the USB (or SD card) was removed, it attempted to obtain the state from outside and provided incorrect information to the application because there is no storage already removed. Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
- Loading branch information
1 parent
6420c38
commit b47915f
Showing
2 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters