Some apps like PokemonGo & some dating apps uses isFromMockProvider() API to restrict the Mock Location usage.
This change will allow to override the Mock Location usage restriction.
Change-Id: I288f6c0b8f9c0f91f1d1b609eda154b1b7588120
Signed-off-by: Arindam Bhattacharjee <abhattacharjee717@gmail.com>
Flag: com.android.settings.connectivity.wifi_multiuser
Adding an aconfig flag for Multiuser WiFi config CUJs as defined in
go/al-wifi-config-prd
Bug: b/406546793
Test: Build
Change-Id: I1610339a7d19daec454f9eb9339093f8825e8513
Update button styling of NLS dialog to align with Material style, including padding, text size, border, and background color.
Bug: 418881806
Test: Visual
Flag: EXEMPT resource update
Change-Id: I486b7bbb42061103fe15b8be9c275b78143caf2e
- Limit the content layout height to leave enough height for the buttons at the bottom
Bug: 417389474
Flag: EXEMPT resource update only
Test: Manual testing
Change-Id: Idd66a1a3757b59b1bbea998fb17030541095acf6
Adds the share toggle and checks if there is a conflict when user
attempts to change the toggle. In case of a conflict, an alert dialog in shown
to the user.
Bug: 409845756
Flag: com.android.settings.connectivity.wifi_multiuser
Test: Manual testing
Change-Id: Ia57b967ad933ebb19f27f1e50d6a69210b84ac4c
This CL adds the toggle and its associated controller. Controller reads
and sets the toggle in the WifiEntry.
Bug: 409845916
Flag: com.android.settings.connectivity.wifi_multiuser
Test: Manual testing
Change-Id: I39b2b991acd1e53acc5c9cf12329e08b3f900ea0
Includes:
- Per-app refresh rate config
- Extreme refresh rate (Force all apps to run in maximum refresh rate)
- Temp refresh rate allowed (Used in MEMC)
- Refresh rate QS tile
Change-Id: I30024eb8ce63f00a6f2fa1ea0230b004ff93ac74
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Create BasePerAppConfigFragment
* Allow more preference types instead of only ListPreference.
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Create PerAppSwitchConfigFragment
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Add top info for per-app settings
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Don't show system apps for sensor block fragment
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Pass uid in per-app config fragment
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Allow specific allowed system app list for per-app fragment
* We need to allow dialer/messages/contact for fullscreen display settings.
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Make sure per-app list has no duplicates
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Warn user app reload before switching fullscreen display
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Adapt for Android U QPR2
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Use ArrayMap/Set instead of HashMap/Set
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
[joeyhuab: Squashed all changes by same author]
Settings: Add null check for PreferenceScreen in BasePerAppConfigFragment
Co-authored-by: NurKeinNeid <nurkeinneid@derpfest.org>
Signed-off-by: NurKeinNeid <nurkeinneid@derpfest.org>
When no Bluetooth devices are nearby or no slice is present, there is a
stray preference divider at the top of screen that makes the action bar's
shadow look inconsistent. This removes the divider below the slice,
which is likely not that important for visuals anyway, to fix the action
bar appearance issue.
Change-Id: I6c5d0d00fcf7734b8980cc8c50c248aaf105b25f
Signed-off-by: Anushek Prasal <anushekprasal@gmail.com>
Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
Moved to just disabling most of the controllers for android10
instead of deleting all the preferences.
Change-Id: If4d73b6c5351d8f39fb672713dbe26ff9a225240
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
Added validation and fallback for battery divider to prevent division errors and ensure reasonable values.
Signed-off-by: NurKeinNeid <nurkeinneid@derpfest.org>
Remove orphaned "/>" tag that was causing incorrect XML layout structure
in the landscape layout file for mode interstitial.
Test: Settings layout renders correctly in landscape mode
Change-Id: I758b892da3591a058b05161665002aa4852ccf7c
Log:
time: 1756667643368
msg: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.TextView
stacktrace: java.lang.IllegalStateException: Default drop down view should be a TextView,
at com.android.settings.deviceinfo.storage.StorageSelectionPreferenceController$StorageAdapter.getDropDownView(StorageSelectionPreferenceController.java:150)
at android.widget.Spinner$DropDownAdapter.getDropDownView(Spinner.java:1032)
at android.widget.Spinner$DropDownAdapter.getView(Spinner.java:1028)
at android.widget.Spinner.measureContentWidth(Spinner.java:889)
at android.widget.Spinner$DropdownPopup.computeContentWidth(Spinner.java:1265)
at android.widget.Spinner$DropdownPopup.show(Spinner.java:1291)
at android.widget.Spinner.performClick(Spinner.java:797)
at android.view.View.performClickInternal(View.java:8060)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:31554)
at android.os.Handler.handleCallback(Handler.java:995)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:248)
at android.os.Looper.loop(Looper.java:338)
at android.app.ActivityThread.main(ActivityThread.java:9068)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
Caused by: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.TextView
at com.android.settings.deviceinfo.storage.StorageSelectionPreferenceController$StorageAdapter.getDropDownView(StorageSelectionPreferenceController.java:148)
... 17 more
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>