Skip to content

Telecom sanitization#881

Merged
kkuan2011 merged 8 commits into
android:mainfrom
natarajkr007:telecom_sanitization
Apr 24, 2026
Merged

Telecom sanitization#881
kkuan2011 merged 8 commits into
android:mainfrom
natarajkr007:telecom_sanitization

Conversation

@natarajkr007
Copy link
Copy Markdown
Contributor

sanitized the code by addressing comments from PR 876

fixed syntax of snippet's region tags.

natarajkr added 3 commits April 22, 2026 23:52
Refactor and simplify telecom sample apps

* Remove unused color resources and simplify themes
* Prune unnecessary dependencies from Dialer and VoIP build files
* Simplify Dialer MainActivity UI and remove unused Compose previews
* Update app names for Dialer and VoIP modules
* Remove unused lifecycle-livedata-ktx library reference from catalog
* Standardize snippet tags using bracketed format
* Remove redundant color and theme resource files
* Update UI layout and text in dialer and voipapp
* Remove redundant activity label in manifest
* Add fillMaxSize to Box modifiers in VoipCallbackActivity and MainActivity
* Fix indentation for call log URI snippet tag
@snippet-bot
Copy link
Copy Markdown

snippet-bot Bot commented Apr 22, 2026

Here is the summary of changes.

You are about to add 6 region tags.
You are about to delete 2 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request streamlines the dependencies for the dialer and voipapp modules, updates code snippet tags to the standard bracketed format, and refactors the UI of MainActivity and VoipCallbackActivity to use a centered Box layout. Additionally, it updates application names and removes redundant resource files. Feedback was provided regarding redundant padding in the VoipCallbackActivity layout that could lead to layout inconsistencies.

Comment thread telecom/src/main/java/com/example/telecom/VoipCallActivity.kt
Copy link
Copy Markdown
Contributor

@kkuan2011 kkuan2011 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates! I think we do want to optimize for faster builds, since a lot of people are working on the snippets repo now, so I do prefer a single module as well for telecom

Comment thread telecom/dialer/src/main/AndroidManifest.xml
Comment thread telecom/src/main/java/com/example/telecom/VoipCallActivity.kt
natarajkr added 2 commits April 23, 2026 12:47
* Merge dialer and voipapp sub-modules into a single telecom module
* Rename MainActivity to DialerActivity
* Rename VoipCallbackActivity to VoipCallActivity
* Update package structure and consolidate resources
* Update settings.gradle.kts to reflect module changes
@natarajkr007 natarajkr007 requested a review from kkuan2011 April 23, 2026 08:57
@natarajkr007
Copy link
Copy Markdown
Contributor Author

Merged the two seperate modules in to one to optimize build times.

Comment thread telecom/.gitignore Outdated
@@ -1,2 +1,3 @@
/build
/src/androidTest/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For lines 2 and 3, I don't think we want to ignore these files in the src folders, right? Even if it's not needed now, someone in the future may add some files here and may wonder why it's not getting picked up for their commit.

@kkuan2011 kkuan2011 merged commit 908c46d into android:main Apr 24, 2026
5 checks passed
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.

2 participants