Treehugger Robot
f671734c1b
Merge "Disallow turning off developer options in page-agnostic mode" into main am: 0d124654ca am: 74da70de2d
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3073278
Change-Id: I985bf4d4f78e2d17915d330430eae5818e7fb44b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-07 07:03:35 +00:00
Pawan Wagh
e4b9c69442
Disallow turning off developer options in page-agnostic mode
...
When device is in page-agnostic mode, it would be OEM unlocked and
filesystem will be different than production. Don't allow to turn
off developer options in that state.
Bug: 329657279
Bug: 295035851
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Change-Id: I9b8a9dbaf8192bb3758c53501450eb45e2fe8d9c
2024-05-07 05:30:23 +00:00
Pawan Wagh
412739469c
Merge "Show persistent notification for page-agnostic mode" into main am: 4795662e6a am: e84cce90b3
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3073296
Change-Id: I886b3bdfcc3ea8d554862002aa8c89f4d63b1a0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-07 02:43:24 +00:00
Pawan Wagh
8bd4c730fd
Merge "Make links in dialog text clickable" into main am: 12ff1e2422 am: f224840b37
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3072263
Change-Id: Ida544e3b0fd77e62b9a7e47f7a140705cf4d1471
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-07 02:43:09 +00:00
Pawan Wagh
4795662e6a
Merge "Show persistent notification for page-agnostic mode" into main
2024-05-07 02:13:53 +00:00
Pawan Wagh
12ff1e2422
Merge "Make links in dialog text clickable" into main
2024-05-07 02:13:30 +00:00
Pawan Wagh
a697fba513
Show persistent notification for page-agnostic mode
...
When device enters page-agnostic mode using 16KB developer
options, show notification to user using boot receiver and service.
On clicked on notification, show detailed instructions on how to
get back to production mode. Removing OEM carrier unlock allowed
condition.
Bug: 295035851
Bug: 338139755
Bug: 302600682
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Change-Id: Ib7a57af4c6151d2a8da1ec94130532d10b1679aa
2024-05-06 22:16:27 +00:00
Pawan Wagh
570afa5b7d
Merge "Apply OTA from /vendor/boot_otas" into main am: 8c85f8b3c3 am: 883f1e9dba
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3065886
Change-Id: I122ccf18200a1fe0f17646c22a9139585cfb4dcc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-02 20:08:49 +00:00
Pawan Wagh
8c85f8b3c3
Merge "Apply OTA from /vendor/boot_otas" into main
2024-05-02 19:28:44 +00:00
Pawan Wagh
7d0d858136
Make links in dialog text clickable
...
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Change-Id: I71d4f5cb1e27cd52e6f0c5aaeabc9b3f89520cf1
2024-05-02 18:04:58 +00:00
Pawan Wagh
569313f809
Merge "Set 16K dev option as checked by default for 16KB page size" into main am: 4c647972fe am: 07f71333bc
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3053444
Change-Id: Ic5a19b725b60cc466eba2879b50cdb7b2711bdfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-30 04:20:46 +00:00
Pawan Wagh
4c647972fe
Merge "Set 16K dev option as checked by default for 16KB page size" into main
2024-04-30 03:33:54 +00:00
Pawan Wagh
a961dfe289
Apply OTA from /vendor/boot_otas
...
If BOARD_16K_OTA_MOVE_VENDOR := true is set, OTAs will be present at
/vendor/boot_otas for 16KB developer option. Apply OTA from vendor if
present, otherwise fallback to system OTAs
Test: m, m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 335022191
Change-Id: I534b354c830de2c90fee76502667d5e4ef5a7714
2024-04-29 22:17:46 +00:00
Edgar Wang
59cb0e1b30
Fix Settings Crash
...
TelephonyManager modify getAllowedCarriers api, cause Setting crash.
Add try catch to avoid the issue.
Bug: 335751239
Change-Id: I5777c92f8eaf44413f60002e746e9969b3bd9f0d
Test: manual test
2024-04-23 16:02:09 +00:00
Pawan Wagh
c1659eaeee
Set 16K dev option as checked by default for 16KB page size
...
Page agnostic targets use 16KB pages by default. Set the developer
option for 16KB enabled when booted with 16KB page size.
Bug: 303280163
Bug: 295035851
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Change-Id: I01457ce3003ea884c7d1e47aca6b85aab341aa24
2024-04-22 22:22:03 +00:00
Jakub Rotkiewicz
c923103142
Bluetooth Codec Settings: Assure flag enabled
...
Assure flag a2dpOffloadCodecExtensibilitySettings is enabled before
calling BluetoothA2dp API.
Bug: 331612641
Tag: #feature
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.AbstractBluetoothListPreferenceController
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.BluetoothCodecListPreferenceControllerTest
Merged-In: Iac33a6c95a544230e034807b320c80a727ade307
Change-Id: I2b0ed6c7ac91401b958b206817aca55e0aa47170
2024-04-16 06:08:46 +00:00
Jakub Rotkiewicz
14ea291d2a
Bluetooth Codec Settings: Assure flag enabled
...
Assure flag a2dpOffloadCodecExtensibilitySettings is enabled before
calling BluetoothA2dp API.
Bug: 331612641
Tag: #feature
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.AbstractBluetoothListPreferenceController
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.BluetoothCodecListPreferenceControllerTest
Change-Id: Iac33a6c95a544230e034807b320c80a727ade307
2024-04-15 10:43:23 +00:00
Edgar Wang
0876250a17
Avoid NullPointerException when AppPicker onCreated called.
...
Bug: 333255617
Change-Id: Ia63230e97f0c11aa0fd5898be67bb84866f260dc
Test: manual
2024-04-10 22:07:56 +00:00
Yi Shiou (Les) Lee
c310438a82
Merge "wifi: Using framework uri parsing" into main
2024-04-03 07:58:52 +00:00
Les Lee
1635951de2
wifi: Using framework uri parsing
...
Bug: 298669190
Test: Manual test. Qr code sacnning works normally.
Change-Id: I8e6138971ae6798b42db32930f80e9113a8c0223
2024-04-03 04:59:22 +00:00
Kyle Zhang
b99087280f
Allow CDM version v19 or later
...
Bug: 301669353
Change-Id: I8bd93bdf6b30db93f5b31792f6a2c778856cf361
2024-04-02 04:28:50 +00:00
Tim Murray
db775bdac9
Merge "JobScheduler: remove TARE" into main
2024-04-01 15:21:04 +00:00
Jason Iman
0173ee480c
Merge "arc: Use ChromeOS host's IP address for WiFi ADB" into main
2024-03-29 05:05:39 +00:00
Kyle Zhang
be7215cc51
Merge "Use new naming for Widevine Developer option." into main
2024-03-27 18:54:40 +00:00
Tim Murray
431e86009e
JobScheduler: remove TARE
...
Test: atest
Bug: 331617295
Change-Id: Ib5f363d6bbd5e1c9f817cc1987c1711c8135f70b
2024-03-27 10:23:16 -07:00
Jason Chiu
1908551cc2
Merge "[Safer intents] System" into main
2024-03-27 02:02:26 +00:00
Kyle Zhang
fc21e32cb3
Use new naming for Widevine Developer option.
...
Bug: 301669353
Change-Id: Idf9802fc6bbffdc81c9c0fa3527dc3eb7efbf2a1
2024-03-25 22:04:51 +00:00
Jason Chiu
d89fd5942f
[Safer intents] System
...
To avoid implicit intents, make intents launch explicitly.
Bug: 323061508
Test: build
Change-Id: Iaf5466f3acd3293e738f450e0117e180b93d4e1c
2024-03-25 18:08:03 +08:00
Edgar Wang
1a683a1007
Merge "Listen Developer option enable state" into main
2024-03-22 01:13:17 +00:00
Jakub Rotkiewicz
de27acef86
Refactor Bluetooth Codec settings to dynamic ListPreference
...
Fetch supported codecs from native and present to user using
ListPreference.
Bug: 305779598
Bug: 311451118
Bug: 323319530
Tag: #feature
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.AbstractBluetoothListPreferenceController
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.BluetoothCodecListPreferenceControllerTest
Merged-In: Iedbfd01c0d1b59df8a073f4e9aedca3913e6d45f
Change-Id: I90ed0d83c3250c64789e27707b0b7bff30043335
2024-03-21 11:06:18 +00:00
Jason Jeremy Iman
34805e23bb
arc: Use ChromeOS host's IP address for WiFi ADB
...
Wireless debugging in ARC shows guest IP address
which is not routable from the local network for
other devices.
This patch updates the shown IP address to host's
IP address. This allows clients to know the correct
IP address to connect to.
The IP address used is taken from wifi IP of the
host set in a property:
'vendor.arc.net.ipv4.host_wifi_address'.
ARC R patch: ag/12907009
Bug: 169703040
Bug: 315430652
Test: Manually tested for ARC on tm-arc.
Change-Id: Ib66e84872d9004fa3a946f1af9a774709d048f5a
2024-03-21 05:26:55 +00:00
Edgar Wang
26a5c73dc7
Listen Developer option enable state
...
- When developer option disabled, any page in Developer option
should be closed.
Bug: 293894425
Test: manual
Change-Id: I392b122e885118770be1af2b51c0c7ef92279e1b
2024-03-21 04:08:08 +00:00
Jakub Rotkiewicz
1c4d2116da
Merge "Refactor Bluetooth Codec settings to dynamic ListPreference" into main
2024-03-18 08:21:57 +00:00
Jakub Rotkiewicz
89612e53d7
Refactor Bluetooth Codec settings to dynamic ListPreference
...
Fetch supported codecs from native and present to user using
ListPreference.
Bug: 305779598
Bug: 311451118
Bug: 323319530
Tag: #feature
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.AbstractBluetoothListPreferenceController
Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.BluetoothCodecListPreferenceControllerTest
Change-Id: Iedbfd01c0d1b59df8a073f4e9aedca3913e6d45f
2024-03-14 11:00:35 +00:00
Pawan Wagh
9f36635764
Merge "Show dialog to OEM unlock the device for 16k dev option" into main am: 72fd15a678 am: 09561aa513
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2974373
Change-Id: Ife9eb3957333253b2a776b8606dda7d7ad9f82ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-03-14 05:05:07 +00:00
Pawan Wagh
72fd15a678
Merge "Show dialog to OEM unlock the device for 16k dev option" into main
2024-03-14 04:37:31 +00:00
Pawan Wagh
1c1366e968
Show dialog to OEM unlock the device for 16k dev option
...
Device should be OEM unlocked before using dev option. Show dialog
to user to perform OEM unlock. This also checks if user has permission
to do OEM unlock and it is allowed by carrier.
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Bug: 320705365
Change-Id: I6470bf7d02424a26621ed67f19f2cd14fa9eea50
2024-03-08 21:36:58 +00:00
Pawan Wagh
e33f92fa98
Merge "Wipe /data with ext4 before 16K OTA" into main am: 2e090585ca am: ae28bee6fc
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2973764
Change-Id: I8980389f8cdf590dbec4470766c92fc6ec0407a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-03-08 19:34:05 +00:00
Aditi Katragadda
d983741f07
Merge "Enable Bluetooth stack logging from Developer Options UI Element" into main
2024-03-08 19:17:04 +00:00
Aditi Katragadda
5c98e0fbcc
Enable Bluetooth stack logging from Developer Options UI Element
...
The goal is to be able to enable different log levels for Bluetooth
stack logging from Developer Options in Settings. This is done by
creating a Bluetooth property which houses the current state of the log
level, adding the required UI elements and linking the two together.
Tag: #feature
Bug: 307330446
Test: atest BluetoothStackLogPreferenceControllerTest
Change-Id: I8665b17622218743aa00250118b718d5cabdb9fc
2024-03-07 23:59:10 -08:00
Pawan Wagh
2e090585ca
Merge "Wipe /data with ext4 before 16K OTA" into main
2024-03-08 06:59:49 +00:00
Pawan Wagh
2951b024dc
Wipe /data with ext4 before 16K OTA
...
16K developer option needs /data partition to be ext4. Wipe
the /data and reformat it to ext4 using RecoverySystem.
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Test: adb shell cat /proc/mounts | grep f2fs
Bug: 295035851
Bug: 320700993
Change-Id: I7ca6f3a7e18d6dbe4e9791b3c83d149365941989
2024-03-08 03:12:40 +00:00
Sudheer Shanka
34bd0481df
Merge "Remove the developer option to control Quarantine app state." into main
2024-03-07 19:39:55 +00:00
Sudheer Shanka
07251c8262
Remove the developer option to control Quarantine app state.
...
Bug: 305256093
Test: manual
Change-Id: I28cfb3f1e6c5d3bdab77b7eae2262a03909c45f7
2024-03-06 06:02:38 +00:00
Roshan Pius
a5bd1cf34f
settings(dev): Remove NFC stack logging control
...
We are now turning on verbose logging by default.
Bug: 327517842
Test: Compiles
Change-Id: I3c6026e230c7d35f04d9771442fadbf040a84b94
2024-02-29 09:44:37 -08:00
Manjeet Rulhania
322b905f71
Merge "add sensitive content protection flag to developer option" into main
2024-02-24 00:52:16 +00:00
mrulhania
8925db1c5e
add sensitive content protection flag to developer option
...
Bug: 316955558
Test: atest SensitiveContentProtectionPreferenceControllerTest
Change-Id: Iedbbc9bd3bba00c6aaccc99758abe0b77306da01
2024-02-23 19:50:17 +00:00
Piotr Wilczyński
96343a9eff
Refresh rate preference controllers aware of multiple displays
...
Set mPeakRefreshRate in the preference controllers to the highest refresh rate among all the modes of all the displays. It'll then be used to determine two things:
- if the setting is available
- the summary of the setting
This should only be done if the back up smooth display feature flag is enabled. If it's disabled, mPeakRefreshRate is passed to DisplayModeDirector and used for the votes. If the highest refresh rate of one display is 120 and that of the other is 130, we shouldn't set the vote to 130 for both displays. With the flag enabled, DisplayModeDirector figures out the highest refresh rate for each display.
Bug: 310238382
Test: atest PeakRefreshRatePreferenceControllerTest
Test: atest ForcePeakRefreshRatePreferenceControllerTest
Test: atest RefreshRateSettingsUtilsTest
Change-Id: I369927ba22df70958178505d8fc7c5747aaa8fdd
2024-02-23 18:01:22 +00:00
Ahaan Ugale
9507e30c5b
Update sensitiveNotificationAppProtection reference after move.
...
Bug: 309564730
Test: builds
Change-Id: I256eb8bd9e80a481ef1bffe22053f6fa668e5ee2
2024-02-12 18:21:00 +00:00
Richard MacGregor
dc15244a5d
Add developer option for screenshare protections
...
Add developer option that allows disabling screenshare protections to
allow for better bug reports and debugging.
Bug: 320757744
Bug: 316955558
Bug: 316954829
Flag: ACONFIG com.android.server.notification.sensitive_notification_app_protection DISABLED
Flag: ACONFIG com.android.server.notification.screenshare_notification_hiding DISABLED
Test: atest SensitiveContentProtectionPreferenceControllerTest
Change-Id: Ibcb9f886aa599fe2442e755653c49f44cfa1830f
2024-02-02 19:33:35 -08:00