AndroidManifest to support long-pressed action for One-handed mode
tile
Update new intent action ACTION_ONE_HANDED_SETTINGS in Settings
AndroidManifest for Settings$OneHandedSettingsActivity.
Bug: 201743873
Bug: 202132480
Bug: 207381742
Test: manually test long-pressed on One-handed mode QS tile
Change-Id: Id3882c62b6531a2a8c03378025cbda03efbb8c7c
The CTS test will check new added intent is expected or not
android.signature.cts.intent.IntentTest#shouldNotFindUnexpectedIntents
If the new added intent should belong to allow list,
we should add it into
cts/tests/signature/intent-check/DynamicConfig.xml
However, in One handed mode case, I think it's make
sense to define in settings provider
frameworks/base/core/java/android/provider/Settings.java
Test: atest android.signature.cts.intent.IntentTest
Fixes: 206824091
Fixes: 206989400
Change-Id: Ic32a65ee113df603a0adbfa3e52f1a48386ad899
- Use a synchronous API to make SettingsActivity start deep link intent
in onCreate
- Change SettingsHomepageActivity from an alias to a real activity
- Clean up redundant codes
Fix: 206585572
Test: Manual, robotest build pass
Change-Id: Idf42c026f593bb5801a13cae250d1523030b7092
Note: This cl is copied from aosp/1785174 since
merge conflict issue.
Move the flag for the indication of the validity of help links
to framework because it is also needed for SystemUI.
config_has_help will be replaced by config_settingsHelpLinksEnabled
in frameworks.
Test: $ adb shell dumpsys usb add-port "matrix" ufp
$ adb shell dumpsys usb set-contaminant-status "matrix" true
Bug: 195448626
Change-Id: Id9b0c196c9a07085c790d5f4366bb1fec635d6b1
Fixed the typo in variable for media settings title, due to which the
title was not being fetched from configuration.
Bug: 199012697
Test: Manual
Change-Id: I256e55a13f2f06ca0b2800ceb01900d5e12d9834
To avoid to do oncreate when device is rotated or the screenSize
changed. Adding the activity's android:configChanges as
"orientation|keyboard|keyboardHidden|screenSize|screenLayout
|smallestScreenSize". (Based on SettingsHomepageActivity's settings
and the smallestScreenSize is for screensize changed on
different display.)
Bug: 204039043
Test: atest AutoSelectPreferenceControllerTest (pass)
atest OpenNetworkSelectPagePreferenceControllerTest (pass)
atest NetworkSelectSettingsTest (pass)
Change-Id: I6aa009fc52a85024a29bf48a3e7d1aadcab067d8
- The "android.settings.WIFI_SETTINGS" intent-filter needs to be the
first element of the intent-filter in the activity for profile intent
filters
- Redirect the "android.settings.WIFI_SETTINGS" action to Internet
Settings via FRAGMENT_CLASS meta-data
- Add PRIMARY_PROFILE_CONTROLLED meta-data to WifiSettings2Activity
- Remove unnecessary WifiSettings2Activity from Settings.java
Bug: 205258444
Test: manual test
- Long press the Internet Tile in QS for WIFI_SETTINGS action testing
- Use adb command to test the shortcut action
adb shell am start com.android.settings/.Settings\\\$WifiSettings2Activity
Change-Id: I9ac397828edf1083efcf790eb41b3e978ed6bdca
Add the networkSelectSettings fragment into new activity, and set
the activity's android:configChanges as
"orientation|keyboard|keyboardHidden|screenSize|screenLayout
|smallestScreenSize".
Bug: 204039043
Test: atest AutoSelectPreferenceControllerTest (pass)
atest OpenNetworkSelectPagePreferenceControllerTest (pass)
atest NetworkSelectSettingsTest (pass)
Change-Id: Ic933c2294401bc50e105ddcfd2a17886d0bbefc3
Merged-In: Ic933c2294401bc50e105ddcfd2a17886d0bbefc3
Add the networkSelectSettings fragment into new activity, and set
the activity's android:configChanges as
"orientation|keyboard|keyboardHidden|screenSize|screenLayout
|smallestScreenSize".
Bug: 204039043
Test: atest AutoSelectPreferenceControllerTest (pass)
atest OpenNetworkSelectPagePreferenceControllerTest (pass)
atest NetworkSelectSettingsTest (pass)
Change-Id: Ic933c2294401bc50e105ddcfd2a17886d0bbefc3
1. Add a receiver to monitor the search state
2. Shoe/hide the menu highlight in the listener
3. Highlight the menu entry in SearchResultTrampoline
4. Enable/disable the receiver in SettingsInitialize
Bug: 205781792
Test: manual, robotest
Change-Id: Ia04901f504172f4f0c7b4b2ea7eda5f3713f676d
Scroll to the highlight position before showing homepage.
Bug: 199017944
Bug: 204946469
Test: visual
Change-Id: I11708f42180a3af22855ac7b5f53460f737ed208