Skip to content

Fix code smells: logging, crash handling, crypto, and build repos - #17

Open
musamakhan201 wants to merge 1 commit into
jingle1267:masterfrom
musamakhan201:master
Open

Fix code smells: logging, crash handling, crypto, and build repos#17
musamakhan201 wants to merge 1 commit into
jingle1267:masterfrom
musamakhan201:master

Conversation

@musamakhan201

Copy link
Copy Markdown
  • Replace printStackTrace with Log across util and app modules.
  • CipherUtils: safe MD5 (UTF-8, null guard), deprecate weak DES APIs.
  • RebootThreadExceptionHandler: fix toast condition, app context, delegate chain, logging.
  • DoubleKeyValueMap: null-safe getAllValues iteration.
  • Singleton: volatile double-checked locking.
  • BaseCrashHandler: BuildConfig.DEBUG, log failures, interrupt policy.
  • ImsiUtil, PhoneUtil, BitmapActivity: remove TODOs; document or log errors.
  • AppUtils: DEBUG via Log.isLoggable; LogUtils: drop System.out branches.
  • FileUtils: null-safe close in getFileSize; DeviceUtils: fix javadoc.
  • build.gradle: add google() and mavenCentral(); app uses project(:util).

- Replace printStackTrace with Log across util and app modules.
- CipherUtils: safe MD5 (UTF-8, null guard), deprecate weak DES APIs.
- RebootThreadExceptionHandler: fix toast condition, app context, delegate chain, logging.
- DoubleKeyValueMap: null-safe getAllValues iteration.
- Singleton: volatile double-checked locking.
- BaseCrashHandler: BuildConfig.DEBUG, log failures, interrupt policy.
- ImsiUtil, PhoneUtil, BitmapActivity: remove TODOs; document or log errors.
- AppUtils: DEBUG via Log.isLoggable; LogUtils: drop System.out branches.
- FileUtils: null-safe close in getFileSize; DeviceUtils: fix javadoc.
- build.gradle: add google() and mavenCentral(); app uses project(:util).

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant