pihuei
55fb2b745d
Use system day/night to switch theme instead of from intent extra.
...
Use value-night to give theme instead of directly from intent extra when Setup day/nNight mode enabled and in Setup flow
Before:
<vision settings>
https://hsv.googleplex.com/4837266235064320
<wifi dialog>
https://hsv.googleplex.com/5687053981319168
<lock screen with disabling button>
https://hsv.googleplex.com/4843506419892224
<lock screen with enabling button>
https://hsv.googleplex.com/5650348922372096
<fingerprint intro>
https://hsv.googleplex.com/5133769046491136
<fingerprint touch>
https://hsv.googleplex.com/5681937198874624
<fingerprint left touch>
https://hsv.googleplex.com/5767441676238848
<squeeze release>
https://hsv.googleplex.com/6632476812247040
After:
<vision settings>
https://hsv.googleplex.com/6213298875793408
<wifi dialog>
https://hsv.googleplex.com/6025790804197376
<lock screen with disabling button>
https://hsv.googleplex.com/5747461219942400
<lock screen with enabling button>
https://hsv.googleplex.com/5766700781797376
<fingerprint intro>
https://hsv.googleplex.com/6751334529236992
<fingerprint touch>
https://hsv.googleplex.com/5625963293442048
<fingerprint left touch>
https://hsv.googleplex.com/4518139360444416
<squeeze release>
https://hsv.googleplex.com/5220720579706880
Bug: 169734655
Test: robo test
Change-Id: I4aab843e28a932c7b823f36f1d8df1e5b2341f4e
2020-11-05 05:09:14 +00:00
Eugene Susla
2fc8e09eca
Merge "Prevent non-system overlays from showing over notification listener consent dialog"
2020-11-04 17:08:58 +00:00
TreeHugger Robot
e7e0e5b831
Merge "Use new strings for Wi-Fi hotspot toggle specific scenario"
2020-11-04 13:29:42 +00:00
TreeHugger Robot
ffc490f83f
Merge "Add the explicitly mutable flag for creating a PendingIntent"
2020-11-04 08:15:05 +00:00
TreeHugger Robot
b1d340d007
Merge "Add the mutability flag to the pendingIntent."
2020-11-04 03:11:41 +00:00
Hugh Chen
40d4e47b05
Add the explicitly mutable flag for creating a PendingIntent
...
- Android S+ to specify explicitly either FLAG_MUTABLE or FLAG_IMMUTABLE
when creating a PendingIntent.
- Suggest to use the FLAG_IMMUTABLE as default. Change it to
FLAG_MUTABLE while errors occur.
Fixes: 172207262
Fixes: 172207195
Fixes: 172205385
Fixes: 172204525
Fixes: 172205897
Test: build pass, manual test to paring blutooth device and doing
seamless transfer
Change-Id: Ic37b37bdbe6de6bdbad741985d3a920334240d80
2020-11-04 10:59:34 +08:00
Eugene Susla
85adbc4ba9
Prevent non-system overlays from showing over notification listener consent dialog
...
Bug: 170731783
Test: use a visible overlay, ensure it's gone when notification consent is open
Change-Id: I58e017982f385ffc0d0ba2174512490b1d83dd36
2020-11-03 14:24:35 -08:00
Chloris Kuo
e9d524ffc6
Merge "Add flag to reset notification channel importance"
2020-11-03 14:07:45 +00:00
TreeHugger Robot
c988aa848b
Merge "Add missing PI flag"
2020-11-03 12:25:55 +00:00
Yi-Ling Chuang
ea92f4eb5e
Add the mutability flag to the pendingIntent.
...
Starting Android S, PendingIntent should have a explicit mutability flag
to avoid vulnerability.
Fixes: 172207853
Test: 1. Make AdaptiveSleepSlice available on the homepage and click on it.
2. Play with the volume panel.
Change-Id: I9cd428b17f44f5215d8c06331d12a17f997ca557
2020-11-03 17:44:56 +08:00
Weng Su
ae3ef639d9
Use new strings for Wi-Fi hotspot toggle specific scenario
...
- The SW (Swahili) language is used for a different noun class and is
inappropriate in the context.
- Need to separate different strings for specific situations.
- Use new strings from SettingsLib resource
Bug: 168801172
Bug: 168733667
Test: Manual test
Change-Id: I0e0a688f54ca2ee1b4cd5049c7e0f3ff3112b127
2020-11-03 09:26:40 +00:00
Zoey Chen
af8faaaa4b
Merge "[Provider Model] Use new entry xml of Network & Internet"
2020-11-03 07:39:25 +00:00
TreeHugger Robot
903a211665
Merge "backup settings: Update OWNERS."
2020-11-02 20:08:26 +00:00
Andrei-Valentin Onea
9f1c46967e
Merge "Fix app compat dashboard from settings app" am: 4445b40a65
am: 770e30b1f9
am: 8879952967
am: c3839f4732
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1481502
Change-Id: I5a18fa2db11f9a240aa1d781810fca7717a36da3
2020-11-02 16:20:54 +00:00
Andrei-Valentin Onea
c3839f4732
Merge "Fix app compat dashboard from settings app" am: 4445b40a65
am: 770e30b1f9
am: 8879952967
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1481502
Change-Id: Ie87c9ff8ae1e76bb667f7201e6314ec995d2e133
2020-11-02 16:06:44 +00:00
Andrei-Valentin Onea
8879952967
Merge "Fix app compat dashboard from settings app" am: 4445b40a65
am: 770e30b1f9
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1481502
Change-Id: I947653ab33790724f2a419297c3fd7649ef4f2fb
2020-11-02 15:37:28 +00:00
Andrei-Valentin Onea
4445b40a65
Merge "Fix app compat dashboard from settings app"
2020-11-02 14:52:50 +00:00
Julia Reynolds
3561ff6e4c
Add missing PI flag
...
Test: manual
Fixes: 172214372
Change-Id: Ifaa07e39a7559448854c8d7c89bab227ecb015ba
2020-11-02 09:41:59 -05:00
Zoey Chen
14602e302a
[Provider Model] Use new entry xml of Network & Internet
...
Bug: 171874190
Test: manual
Change-Id: I542ba08c122cb50de37dafd06cfa08dead8e2e0f
2020-11-02 22:28:47 +08:00
Tobias Thierer
05783b4e6d
backup settings: Update OWNERS.
...
Refer to platform OWNERS + bug component.
Bug: 159055442
Test: Treehugger
Change-Id: I2fdbf98a8326285ef41482cc207ed9aa94e9a0f4
(cherry picked from commit bfe97711c99ee6654e3cc3c94bc504d3d2f49ec4)
2020-10-31 01:22:46 +00:00
Andrei Onea
b0a6dd680e
Fix app compat dashboard from settings app
...
Fix an issue due to recent changes tha made the settings app
accidentally categorize non sdk gated changes as targetSdk > -1.
The recent changes made target sdk changes have a '>=' condition instead
of strictly '>', so address that issue as well.
Bug: 172043600
Test: open App Compatibility Changes option in Developer Options
Change-Id: Ic5ee203c5a82ac982164304e3ae399947a39e058
2020-10-30 16:38:08 +00:00
Yi Jiang
f68e8e32ec
Merge "Hides Screen Attention setting on unsupported devices"
2020-10-30 03:45:34 +00:00
Sarah Chin
d84135e91d
Merge "Hide 'View plan' button in data usage settings" am: 07f2c27cbf
am: 94cabf8a02
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1480638
Change-Id: I2026849d4e4b4d057ea1f1d399994faedf913e1c
2020-10-30 03:35:16 +00:00
Sarah Chin
07f2c27cbf
Merge "Hide 'View plan' button in data usage settings"
2020-10-30 02:48:14 +00:00
Sarah Chin
d6e4e9d8fe
Hide 'View plan' button in data usage settings
...
There are currently no callers of the setSubscriptionPlan() API that
have a MDP app set up. Remove the button when SubscriptionPlans are
defined, since it does nothing and causes confusion for users.
Test: manually verify button does not exist when a plan is defined
Test: make RunSettingsRoboTests
Bug: 169806315
Change-Id: Ieda020bfa692e9465d6297e50cf338deff91a8a9
Merged-In: Ieda020bfa692e9465d6297e50cf338deff91a8a9
2020-10-29 16:36:28 -07:00
Yi Jiang
a56be2d614
Hides Screen Attention setting on unsupported devices
...
Bug: 170971817
Test: make RunSettingsRoboTests
Change-Id: I8aa7882be9a1ae483e8e7500059a18859b20d42b
2020-10-29 13:16:48 -07:00
Julia Reynolds
35a02a1c92
Merge "Method name update"
2020-10-29 15:24:06 +00:00
Chloris Kuo
f64ce9e5e4
Add flag to reset notification channel importance
...
Add a button in development option to unlock user previously changed
notification importance and allow NAS to change the importance
Test: make RunSettingsRoboTests
Change-Id: I55b5349d6a17a383888c59b9126832c2fb8c58a0
2020-10-28 19:46:46 -07:00
TreeHugger Robot
6f5b308d54
Merge "Use ColorMatrixColorFilter in batterymeterview"
2020-10-28 20:35:02 +00:00
Evan Laird
4393d200b6
Use ColorMatrixColorFilter in batterymeterview
...
the old PorterDuff color filter didn't allow us to pass through the
drawable's alpha.
Test: manual
Bug: 162901879
Change-Id: I1ad7d9a0177c7a25d1c6a5a8437c27f60390f45e
2020-10-28 14:21:30 -04:00
Fan Zhang
005b47249e
Merge "Rename panic gesture to emergency gesture in Settings"
2020-10-28 17:02:21 +00:00
Neil Fuller
be3b9ffeaa
Merge "Fix review comments location_time_zone_detection"
2020-10-28 09:38:33 +00:00
Jeremy Goldman
a14d7504bb
Merge "Fix flaky JUnit test"
2020-10-28 08:34:51 +00:00
Jeremy Goldman
125301d590
Fix flaky JUnit test
...
This test sometimes fails in PostSubmits because the background
thread which calls the verified class does not have time to execute
before the class is verified.
This creates a helper function to monitor background thread completion.
Test: atest -c AutoSelectPreferenceControllerTest
Change-Id: I6c320abd70fcb5fe823ec122fb0dac67174ecb4a
2020-10-28 05:15:52 +00:00
Julia Reynolds
992ca635c8
Method name update
...
Test: make
Bug: 170705349
Change-Id: I83037d8eddaf62b542c79f1283f477d59f0dc6a8
2020-10-27 20:02:07 -04:00
Neil Fuller
1affbfff83
Fix review comments location_time_zone_detection
...
Fix review comments for location_time_zone_detection.xml and associated
classes from http://ag/12792958 .
Bug: 152746236
Test: Manual: build / boot / toggle switch in SettingsUI / inspect output of adb shell dumpsys time_zone_detector
Test: Manual: build / boot / install TestDPC / toggle switch in work profile in SettingsUI / inspect output of adb shell dumpsys time_zone_detector
Test: m -j30 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.location.TimeZoneDetectionPreferenceControllerTest"
Test: m -j30 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.location.LocationTimeZoneDetectionPreferenceControllerTest"
Test: m -j30 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.location.TimeZoneDetectionSettingsTest"
Change-Id: I641f312cd63359f45664a93e009e5a975dbd6485
2020-10-27 20:34:15 +00:00
Fan Zhang
f797a48af6
Rename panic gesture to emergency gesture in Settings
...
Bug: 171589858
Test: rebuild
Change-Id: I23847db82a397bdcd61501758e3ef66a4f088e22
2020-10-27 12:46:41 -07:00
Jeremy Goldman
1d068385c6
Mock SystemProperties in CDMA JUnit test
...
Bug: 170608563
Test: atest -c CdmaSubscriptionPreferenceControllerTest
Change-Id: Ibeca5e508d8277a9b84e26829e085c43ce7c26cc
2020-10-27 09:50:42 +00:00
TreeHugger Robot
167362d0ca
Merge "Rename panic button in framework settings."
2020-10-26 20:27:50 +00:00
TreeHugger Robot
76c9a32dbb
Merge "Update related UI if battery is not present"
2020-10-26 04:53:49 +00:00
Jeremy Goldman
ad045f62ca
Merge "Only display options to save and cancel edits to the displayed APN if the APN is editable."
2020-10-26 02:06:16 +00:00
Fan Zhang
6fef72aae4
Rename panic button in framework settings.
...
Renamed panic to "emergency" or "emergency gesture" to
avoid speculation once source code is accessible to
parties without full context.
The settings string and file names still use the word "panic". This
will be updated in a follow-up CL
Bug: 169946710
Test: rebuild
Change-Id: Ic1a3181145ca2b64ab6ef2a2989224395fa9a6f8
2020-10-23 22:51:01 +00:00
Mill Chen
ad99e2ef38
Update related UI if battery is not present
...
This change is to update the related UI in the battery page if the
battery is not present. This includes the following updates:
1. Update the summary of battery tile in the Settings homepage
2. Replace the battery level with "Unknown"
3. Replace the summary with help message in the battery page
4. Remove the battery meter icon
Bug: 171368508
Test: verify on an issue device
Change-Id: I892e0d137143160a0bce0c11ce9265120ebb8fd4
2020-10-23 23:35:15 +08:00
Julia Reynolds
5ff16e18e2
Merge "Add 'Recent Conversations' to the conversation page"
2020-10-23 14:35:46 +00:00
Weng Su
8f8348dc7b
Fix the Wi-Fi detailed settings un-editable issue. am: f914e34d28
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12894947
Change-Id: I60460fb5f945eab4d70e28d47868d611b9c564da
2020-10-23 14:25:53 +00:00
Jeremy Goldman
77f5ae6dc7
Only display options to save and cancel edits to the displayed APN if the APN is editable.
...
Test: mp settingsg and look at the UI. This class does not yet have
tests.
Current design:
- https://screenshot.googleplex.com/BgrLPsz3ebxBnMa
- https://screenshot.googleplex.com/AeRQe6Rh8SxjjMw
Updated design: https://screenshot.googleplex.com/3bhmWwMjhEXh2Eu
Change-Id: Ic9794ca14534adde92a641560a00b1bd876d52cb
2020-10-23 13:04:18 +00:00
Neil Fuller
c91bcbd0d5
Merge "Changes to location settings for geotz"
2020-10-23 09:40:45 +00:00
Hall Liu
9146943bb5
Merge "Replace TelephonyManager methods for mobile data" am: c2a4d3ec70
am: 4af7d6a7d2
am: d51ee68578
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1470180
Change-Id: I9c1496152155d3db0bd4c29502e7d43f6335ee86
2020-10-22 22:22:47 +00:00
Hall Liu
d51ee68578
Merge "Replace TelephonyManager methods for mobile data" am: c2a4d3ec70
am: 4af7d6a7d2
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1470180
Change-Id: I6ad3c840463bcb070769e9d91b2671d09f359369
2020-10-22 21:49:15 +00:00
Sally Yuen
4bca97c3cc
Merge changes from topic "a11y_rbc"
...
* changes:
Add activity for directly navigating to Reduce Bright Colors setting page
Add a setting page for Reduce Bright Colors under A11y
2020-10-22 18:20:25 +00:00