Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5641d01a authored by Tsung-Mao Fang's avatar Tsung-Mao Fang
Browse files

Add two APIs in SettingsLibActivityEmbedding

Add two APIs

1. isActivityEmbedded() knows whether current activity is
embedded in the Settings app or not.
2. shouldHideBackButton knows whether current activity is
suggested to show back button or not.

Bug: 219000314
Test: Use the api in Settings app, and behavior is correct.
Change-Id: If1d29a8d9bdb896b179275e13de649872a5b94fe
parent c610c3b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment