commit | 5641d01a98a539b81de62260754f6ef757706089 | [log] [tgz] |
---|---|---|
author | Tsung-Mao Fang <[email protected]> | Fri Feb 11 22:10:43 2022 +0800 |
committer | Tsung-Mao Fang <[email protected]> | Wed Feb 16 17:22:25 2022 +0800 |
tree | 342e051b83331ee3e0ba4a421a52ddde14ae1967 | |
parent | c610c3b3333eebd6c18a2aad9ac633fd9fd51337 [diff] |
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