OSDN Git Service
Fan Zhang [Tue, 14 May 2019 16:30:16 +0000 (16:30 +0000)]
Revert "Make subsettings display edge-to-edge"
This reverts commit
c2a85a374d28612c8d51d72523b49f9c2856f96e.
Bug:
132672399
Bug:
132182711
Test: n/a
Reason for revert: b/
132672399
Change-Id: Icb34ae5b16b7a32215fe2c1a5f0d0d028c91b2ca
Fan Zhang [Thu, 9 May 2019 20:41:02 +0000 (13:41 -0700)]
Make subsettings display edge-to-edge
Fixes:
132182711
Test: visual
Change-Id: I3b0635cba359f74d463c2360323d80c5c9533228
TreeHugger Robot [Fri, 10 May 2019 20:38:20 +0000 (20:38 +0000)]
Merge "Update listDivider for PreferenceFragmentCompat" into qt-dev
Fan Zhang [Fri, 10 May 2019 20:24:59 +0000 (20:24 +0000)]
Merge "Updating animation asset" into qt-dev
Brad Ebinger [Fri, 10 May 2019 20:17:38 +0000 (20:17 +0000)]
Merge "Resolve the SIM call manager per subId" into qt-dev
Brad Ebinger [Fri, 10 May 2019 19:42:55 +0000 (19:42 +0000)]
Merge "Allow SimDialogActivity to be started for result" into qt-dev
Brad Ebinger [Wed, 1 May 2019 00:30:40 +0000 (17:30 -0700)]
Allow SimDialogActivity to be started for result
In Telephony, we sometimes need to be able to launch
the SIM pick dialog activity for SMS without setting
a new default (i.e. user chose "ask every time") for
default SMS subscription.
Adds the ability for the SimDialogActivity to be
called using startActivityForResult and not set the
user's choice as the default.
Bug:
130853716
Bug:
130567323
Test: run Telephony SmsManagerTestApp
Change-Id: If9f9ebbfe9b7b6718ed759937abbcfa6d22c6295
Beth Thibodeau [Fri, 10 May 2019 18:28:43 +0000 (14:28 -0400)]
Updating animation asset
Fixes:
132095489
Test: mp settingsg
Change-Id: Icda6eb54496356e2567e1d39ab0c718746e2442d
TreeHugger Robot [Fri, 10 May 2019 18:14:02 +0000 (18:14 +0000)]
Merge "Clear media switcher items when in phone call" into qt-dev
Mill Chen [Thu, 9 May 2019 17:50:57 +0000 (01:50 +0800)]
Update listDivider for PreferenceFragmentCompat
The support library uses preference_list_divider_material for its list
divider and its color is a hardcoded value. That's why the divider color
can't be applied to the PreferenceFragmentCompat in Settings when
updating the divider color in the device defaults theme level. To make
it so we set its listDivider to list_divider_material to facilitate updating
the divider color.
Bug:
129943610
Test: visual
Change-Id: Ie992b925fae0effd4e00682a911ad004ac3fc033
TreeHugger Robot [Fri, 10 May 2019 09:09:25 +0000 (09:09 +0000)]
Merge "Fix "Turn on Wi-Fi scanning?" does not pop up when clicking "Turn on Wi-Fi automatically"" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 08:41:12 +0000 (08:41 +0000)]
Merge "Set panel launch mode to singleInstance and fix animation" into qt-dev
TreeHugger Robot [Fri, 10 May 2019 08:38:34 +0000 (08:38 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
lindatseng [Fri, 3 May 2019 00:12:27 +0000 (17:12 -0700)]
Set panel launch mode to singleInstance and fix animation
Set panel launch mode to singleInstance to avoid panel can show up
infinite time when user keep launching panels (Easy repro by
pressing volume hard key > settings again and again).
After changing launch mode to singleInstance, we will need to do
some refactors, to avoid weirdness when adding/changing/closing
panels:
1. Move and refactor logic in SettingsPanelActivity#onCreate.
We will need onNewIntent here to handle Panel launching, since
we only have one instance of SettingsPanelActivity now.
Also do refactor here to reuse the PanelFragment instead of
creating one every single time, to better handle the exit
animation, avoid janky exit behavior from the old PanelFragment
2. Move logic from PanelFragment#onCreateView, to reuse it when
updating panel content.
Also add exiting animation when we are transitioning the panel
from one to another. Also add alpha animation to make it move
more smoothly.
3. Adding flags to launch see more intent in settings.
Fixes:
131225920
Fixes:
131254399
Test: manual
Change-Id: I93d3708bd02a2d736e38685475f2d9988ef62d31
Kevin Chang [Fri, 10 May 2019 06:32:25 +0000 (06:32 +0000)]
Merge "Override performClick method to eliminate redundant click" into qt-dev
Arc Wang [Mon, 6 May 2019 10:29:06 +0000 (18:29 +0800)]
Fix "Turn on Wi-Fi scanning?" does not pop up when clicking "Turn on Wi-Fi automatically"
We should make sure both 'Use location' & 'Wi-Fi scanning' are enabled
before calling setWifiWakeupEnabled.
Bug:
131777439
Test: manual
Change-Id: I602917cfa7c5581ecb414e8c44b4e20c8f9ea78d
Pengquan Meng [Fri, 10 May 2019 06:10:48 +0000 (06:10 +0000)]
Merge "Fixed network name for about/sim_status" into qt-dev
Kevin Chang [Fri, 10 May 2019 05:49:59 +0000 (05:49 +0000)]
Merge "Improve the Accessibility warning dialog with new design" into qt-dev
Bill Yi [Fri, 10 May 2019 04:16:18 +0000 (21:16 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I297c9ea9b5d9d7efb166b4d94f29e7e167e5c2b2
Kevin Chang [Wed, 8 May 2019 10:49:27 +0000 (18:49 +0800)]
Override performClick method to eliminate redundant click
Bug:
132226328
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SwitchBar
Change-Id: I22987a7695dfc84e50d6419604a9512f98cf4d13
Kevin Chang [Tue, 30 Apr 2019 02:55:58 +0000 (10:55 +0800)]
Improve the Accessibility warning dialog with new design
Create new Accessibility warning dialog based on the style of permission
dialog
Bug:
129788631
Test: Visual
Change-Id: I0ec693f9c29e6e85e17d5bd1a64a4c0fe9499f95
hughchen [Thu, 9 May 2019 03:27:25 +0000 (11:27 +0800)]
Clear media switcher items when in phone call
- update test case
Bug:
132385707
Test: make -j42 RunSettingsRoboTests
Change-Id: I2bbd35e869e8ab5596d280d04fddc98f05629190
TreeHugger Robot [Fri, 10 May 2019 00:27:34 +0000 (00:27 +0000)]
Merge "Clean up homepage toolbar after setting transparent navbar." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 23:58:16 +0000 (23:58 +0000)]
Merge "Fix NPE when launching MediaOutput Panel" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 23:46:22 +0000 (23:46 +0000)]
Merge "Make ScreenPinningSettings behaviour consistent with LockTaskController." into qt-dev
Fan Zhang [Thu, 9 May 2019 21:44:47 +0000 (14:44 -0700)]
Clean up homepage toolbar after setting transparent navbar.
Bug:
132182711
Test: rebuild
Change-Id: I212b665810f6713980eb749d34d26f27b7100160
Pengquan Meng [Tue, 7 May 2019 21:39:45 +0000 (14:39 -0700)]
Fixed network name for about/sim_status
The network name in sim status dialog is not the same as the one in the
about page. This CL use the carrier text which is resolved in
ServiceStateTracker as the network name, this keep the network name sync
with the status bar and the summary of sim status in the about page.
Bug:
31784938
Test: build & manual test
Change-Id: Ia741baabaa98ae447dbedf9e28fd2fda222e6d2e
TreeHugger Robot [Thu, 9 May 2019 21:22:18 +0000 (21:22 +0000)]
Merge "Make preview image not selectable" into qt-dev
lindatseng [Thu, 9 May 2019 21:03:15 +0000 (14:03 -0700)]
Fix NPE when launching MediaOutput Panel
Add NP check when to avoid NPE when launching MediaOutput Panel
Fixes:
132366620
Test: Manual
Change-Id: I21a481907a5bca83404e59e08ba11ce5c55199a4
TreeHugger Robot [Thu, 9 May 2019 20:33:26 +0000 (20:33 +0000)]
Merge "Fix mirrored arrow issue for RTL" into qt-dev
Zhi An Ng [Thu, 9 May 2019 19:29:33 +0000 (19:29 +0000)]
Merge "Update strings used in SAW unsupported screen" into qt-dev
Ng Zhi An [Thu, 9 May 2019 17:43:53 +0000 (10:43 -0700)]
Update strings used in SAW unsupported screen
Bug:
132183451
Test: adb shell am start-activity -a android.settings.action.MANAGE_OVERLAY_PERMISSION
Change-Id: Ia840b82838bed43234572c4a08bd56b97f391a5b
Raff Tsai [Thu, 9 May 2019 19:01:20 +0000 (19:01 +0000)]
Merge "Fix robolectric test error" into qt-dev
Beth Thibodeau [Thu, 9 May 2019 18:38:24 +0000 (14:38 -0400)]
Make preview image not selectable
Fixes:
132050099
Test: manual
Change-Id: I102ced947d352901f5bdbf34eeeba98ab0a32cca
TreeHugger Robot [Thu, 9 May 2019 18:27:37 +0000 (18:27 +0000)]
Merge "Display profile picker for content capture settings." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 17:45:10 +0000 (17:45 +0000)]
Merge "Catch another exception when we are building slices data for search" into qt-dev
Annie Meng [Thu, 9 May 2019 09:20:03 +0000 (09:20 +0000)]
Merge "Change inactive backup UI to show "Disabled by admin"" into qt-dev
Yanting Yang [Thu, 9 May 2019 07:29:40 +0000 (15:29 +0800)]
Fix mirrored arrow issue for RTL
There is no mirrored arrow for RTL in Settings after applying icon
overlays for theming (b/
131346125), add autoMirrored attr to fix it.
Fixes:
132174923
Test: visual
Change-Id: I6e70c39c00a5859e49b3a4dce493ea9ccac0417a
Raff Tsai [Thu, 9 May 2019 03:36:35 +0000 (11:36 +0800)]
Fix robolectric test error
Bug:
132302277
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.AdaptiveSleepPreferenceControllerTest"
Change-Id: I6c823298d8e346eb2e87686a691dc4a2536423f6
tmfang [Mon, 29 Apr 2019 05:32:22 +0000 (13:32 +0800)]
Catch another exception when we are building slices data for search
We lose chance to build all Settings slices if we got an exception
when settings was creating slice data for controllers.
We should make sure the process goes well even we got an exception
on an incorrect controller.
Also, we log exceptions for each catch.
Bug:
131449561
Test: Open Settings search and then we can see slice for some
search result.
Change-Id: Iac9f0e0a187f6d10cf53886afeb9cab479b6ce02
TreeHugger Robot [Thu, 9 May 2019 02:00:26 +0000 (02:00 +0000)]
Merge "Fix WebViewAppPickerTest" into qt-dev
Arc Wang [Thu, 9 May 2019 01:29:48 +0000 (01:29 +0000)]
Merge "Fix back arrow in wifi settings "connect to this network connection qr code" does not work" into qt-dev
Arc Wang [Thu, 9 May 2019 01:29:25 +0000 (01:29 +0000)]
Merge "Add margin 24dp to the error message of Wi-Fi QR code scanner" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 00:51:31 +0000 (00:51 +0000)]
Merge "Update summary for mobile data toggle for CBRS." into qt-dev
Jonathan Scott [Wed, 8 May 2019 23:56:02 +0000 (16:56 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am:
b985aa2f29 am:
133337b4dc am:
7d86790c7b am:
003ce809c6 skipped:
333afb4357 am:
bd3672b2d8 am:
9f280a15a2 am:
306ff7e3a9 -s ours
am:
550496d236 -s ours
am skip reason: subject contains skip directive
Change-Id: I2571156e2d9a07fdae9e5685dd3edc6c6fb18849
Kevin Chyn [Wed, 8 May 2019 23:55:22 +0000 (23:55 +0000)]
Merge changes from topic "Face Intro Changes" into qt-dev
* changes:
Added Face Enroll Education Screen
Updated Face Enroll Introduction
Jonathan Scott [Wed, 8 May 2019 23:25:48 +0000 (16:25 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am:
b985aa2f29 am:
133337b4dc am:
7d86790c7b am:
003ce809c6 skipped:
333afb4357 am:
bd3672b2d8 am:
9f280a15a2
am:
306ff7e3a9 -s ours
am skip reason: subject contains skip directive
Change-Id: If66c539a683b4edeeca60140fb6c85eed1902d99
Jonathan Scott [Wed, 8 May 2019 23:09:26 +0000 (16:09 -0700)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am:
b985aa2f29 am:
133337b4dc am:
7d86790c7b am:
003ce809c6 skipped:
333afb4357 am:
bd3672b2d8
am:
9f280a15a2
Change-Id: I2dae0b0e41b34480c99a81fd3c05014e5ec43f33
Andrew Sapperstein [Wed, 8 May 2019 22:55:04 +0000 (15:55 -0700)]
Update summary for mobile data toggle for CBRS.
Fixes:
127529917
Test: robotests
Change-Id: Id2d0bdbcf9674106a3dff8db8e9ceb22dbdda314
Jonathan Scott [Wed, 8 May 2019 22:43:07 +0000 (15:43 -0700)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am:
b985aa2f29 am:
133337b4dc am:
7d86790c7b am:
003ce809c6 skipped:
333afb4357
am:
bd3672b2d8
Change-Id: I9157d6fd4afc3426142dbfbbdc9a57aceb2b7d7f
TreeHugger Robot [Wed, 8 May 2019 21:26:14 +0000 (21:26 +0000)]
Merge "Increase char limit as requested by i18n team" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 21:12:52 +0000 (21:12 +0000)]
Merge "Clear preferences when dialog acknowledged and increase order" into qt-dev
Lei Yu [Wed, 8 May 2019 21:02:22 +0000 (21:02 +0000)]
Merge "Increate max height of sliceView" into qt-dev
Android Build Merger (Role) [Wed, 8 May 2019 20:51:48 +0000 (20:51 +0000)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am:
b985aa2f29 am:
133337b4dc am:
7d86790c7b am:
003ce809c6 skipped:
333afb4357
Change-Id: If8d375a600b9db7b011b08770ad6e7fbf29073c4
Android Build Merger (Role) [Wed, 8 May 2019 20:51:45 +0000 (20:51 +0000)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am:
b985aa2f29 am:
133337b4dc am:
7d86790c7b am:
003ce809c6
Change-Id: Ief43c33183fa5f24cf3bd9f26c9d7362d235492e
Android Build Merger (Role) [Wed, 8 May 2019 20:51:43 +0000 (20:51 +0000)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am:
b985aa2f29 am:
133337b4dc am:
7d86790c7b
Change-Id: I89b5b93b63beb9f52e5799c822edccf208158f39
Android Build Merger (Role) [Wed, 8 May 2019 20:51:40 +0000 (20:51 +0000)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am:
b985aa2f29 am:
133337b4dc
Change-Id: Ibb0d6c1d0253c78160d66e27a2847192c19d10d1
Android Build Merger (Role) [Wed, 8 May 2019 20:51:37 +0000 (20:51 +0000)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am:
b985aa2f29
Change-Id: Iee20bc7fe4fe756b87c9231689792ab50f8a76bc
Jonathan Scott [Tue, 7 May 2019 16:20:00 +0000 (17:20 +0100)]
[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks.
Bug:
127605586
Test: Manual
Change-Id: I4186c2d57b42b6e3d27013f2c9708fca56c561fe
Merged-In: I1cdd82bea4dc9e4182694b061a7746aa83dabdfe
TreeHugger Robot [Wed, 8 May 2019 20:29:38 +0000 (20:29 +0000)]
Merge "Re-enable the test" into qt-dev
Fan Zhang [Wed, 8 May 2019 20:26:31 +0000 (20:26 +0000)]
Merge "Display settings homepage content fully edge-to-edge" into qt-dev
Android Build Merger (Role) [Wed, 8 May 2019 20:20:20 +0000 (20:20 +0000)]
Merge "[automerger skipped] Merge "[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with LockTaskController." into pi-dev am:
db98a8edec -s ours am skip reason: subject contains skip directive" into qt-dev
Lei Yu [Wed, 8 May 2019 20:18:11 +0000 (20:18 +0000)]
Merge "Add null check when restart batteryinfo loader" into qt-dev
Jonathan Scott [Wed, 8 May 2019 20:17:58 +0000 (13:17 -0700)]
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with LockTaskController." into pi-dev
am:
db98a8edec -s ours
am skip reason: subject contains skip directive
Change-Id: Ibd95dd35f7efcc5d2605799bfa65b3b296be7d88
TreeHugger Robot [Wed, 8 May 2019 20:00:27 +0000 (20:00 +0000)]
Merge "[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with LockTaskController." into pi-dev
Salvador Martinez [Wed, 8 May 2019 19:28:43 +0000 (12:28 -0700)]
Clear preferences when dialog acknowledged and increase order
This CL makes it so that the order on the seekbar is increased
to a very large value to ensure it gets added to the end in the
case where a refresh is triggered due to the first time battery
saver dialog. Additionally it clears the preferences on the screen
when we receive confirmation to ensure that no caching can cause
the seekbar ot show up on top of other preferences.
Test: atest BatterySaverScheduleSeekBarControllerTest
Bug:
132107662
Change-Id: I26bf2772ed7135daa4879bca17e0ecfc22a2d0dd
TreeHugger Robot [Wed, 8 May 2019 19:20:13 +0000 (19:20 +0000)]
Merge "Update datausage for DataUsagePreferenceController" into qt-dev
joshmccloskey [Tue, 7 May 2019 04:42:14 +0000 (21:42 -0700)]
Added Face Enroll Education Screen
Test: Builds
Bug:
131774352
Fixes:
131857742
Change-Id: Ib384b9efaf053b405ce3f55e449dd6abb9e75296
Beth Thibodeau [Wed, 8 May 2019 19:01:32 +0000 (15:01 -0400)]
Increase char limit as requested by i18n team
Fixes:
132257773
Test: mp settingsg
Change-Id: I4c5c21899bb9fa61f8f8b32cd56dc57288e282bd
Aran Ink [Wed, 8 May 2019 18:56:26 +0000 (18:56 +0000)]
Merge "Use correct constants for Global Actions Panel settings." into qt-dev
Fan Zhang [Tue, 7 May 2019 22:14:09 +0000 (15:14 -0700)]
Display settings homepage content fully edge-to-edge
This is needed to support fully gesture navigation.
Bug:
132182711
Test: visual
Change-Id: Ifaf15ecec73b974356355a74e73754f95b84ad3e
TreeHugger Robot [Wed, 8 May 2019 18:31:39 +0000 (18:31 +0000)]
Merge "Fix two problems related to data connectivity in the multi-SIM header" into qt-dev
Lei Yu [Wed, 8 May 2019 18:12:55 +0000 (11:12 -0700)]
Add null check when restart batteryinfo loader
Even though we unregister contentObserver in onPause and register
in onResume, callback still be called while fragment is detached.
Anyhow add a null check in settings to stop crash
Fixes:
131905853
Test: RunSettingsRoboTests
Change-Id: I8c0c2c04c3b8d942e0c97cf71a7d3e735a24b467
Alex Salo [Wed, 1 May 2019 17:10:21 +0000 (10:10 -0700)]
Re-enable the test
Update the test to handle new API and simplify the logic in the
controller.
Bug:
130897305
Test: make RunSettingsRoboTests -j64
Change-Id: I0c46ff22d4a3bf913add753f85a24af9aeee0a33
Lei Yu [Mon, 6 May 2019 23:35:19 +0000 (16:35 -0700)]
Update datausage for DataUsagePreferenceController
Data usage number was wrong because we didn't set correct
subId, this CL fixes this issue.
Bug:
132113657
Test: RunSettingsRoboTests
Change-Id: If7c9cf2f4709d9a8e5f9a154c02de9484800d6d5
TreeHugger Robot [Wed, 8 May 2019 17:15:03 +0000 (17:15 +0000)]
Merge "Add flag to disable part of event_logging in Settings." into qt-dev
TreeHugger Robot [Wed, 8 May 2019 17:03:42 +0000 (17:03 +0000)]
Merge "Show admin dialog when preference is disabled by Device Admin" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 16:35:12 +0000 (16:35 +0000)]
Merge "[PATCH] Buttons in storage settings" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 16:34:32 +0000 (16:34 +0000)]
Merge "Add null check before setting the visibility of swipe background" into qt-dev
Annie Meng [Wed, 8 May 2019 14:18:10 +0000 (15:18 +0100)]
Change inactive backup UI to show "Disabled by admin"
Change text displayed when backup is inactive for a user from "Backup
service isn't active" to "Disabled by admin".
Bug:
131296047
Test: Make backup inactive, check UI (primary and work profile)
Change-Id: I087755fa1e79564d320fe1fa62de92e3dc40a343
Aran Ink [Wed, 8 May 2019 14:16:07 +0000 (14:16 +0000)]
Merge "Create Settings preference for Global Actions Panel." into qt-dev
Christopher Dombroski [Wed, 8 May 2019 05:00:45 +0000 (22:00 -0700)]
[automerger skipped] Treat mode_default as denied for install_unknown_apps am:
4b78bcd5cd am:
aebc5bbc94 am:
1d163af113
am:
6b34347b4c -s ours
am skip reason: change_id Ieeb6456854cc3d0faa0e9c407accd94f56a25813 with SHA1
d3864daebd is in history
Change-Id: I79dcfa95d120b6b03c71d426fc3c3efb0bf4e6c0
Christopher Dombroski [Wed, 8 May 2019 04:15:40 +0000 (21:15 -0700)]
Treat mode_default as denied for install_unknown_apps am:
4b78bcd5cd am:
aebc5bbc94
am:
1d163af113
Change-Id: Icdbf3b7a403270384d92a0a9fed1326ca16b232f
Yi-Ling Chuang [Wed, 8 May 2019 03:34:40 +0000 (11:34 +0800)]
Add null check before setting the visibility of swipe background
Some contextual cards does not allow card dismissal, so they won't have
swipe background declared in the layout file. Add null check to prevent
from NPE.
Fixes:
132209310
Test: robotests & launch Settings
Change-Id: I31f897f445c4901d007c8187fe69aea416b915d1
Winson Chung [Wed, 8 May 2019 03:47:09 +0000 (03:47 +0000)]
Merge "Disable settings preferences when the packages do not exist" into qt-dev
Christopher Dombroski [Wed, 8 May 2019 03:20:44 +0000 (20:20 -0700)]
Treat mode_default as denied for install_unknown_apps am:
4b78bcd5cd
am:
aebc5bbc94
Change-Id: Ia0b46cf2ff284b149df14451b04e1d2b935e4942
Christopher Dombroski [Wed, 8 May 2019 02:14:43 +0000 (19:14 -0700)]
Treat mode_default as denied for install_unknown_apps
am:
4b78bcd5cd
Change-Id: I09e4fa32947b51a6614012ae3f42062416ca086e
Arc Wang [Wed, 8 May 2019 01:53:15 +0000 (09:53 +0800)]
Add margin 24dp to the error message of Wi-Fi QR code scanner
Bug:
131628073
Test: manual
Change-Id: I8eaf461efbc8e3c44952d92b151ca621c4640bc1
TreeHugger Robot [Wed, 8 May 2019 00:11:32 +0000 (00:11 +0000)]
Merge "Add an interface that returns time spent text for app." into qt-dev
Antony Sargent [Tue, 7 May 2019 23:01:09 +0000 (16:01 -0700)]
Fix two problems related to data connectivity in the multi-SIM header
When you have multiple active SIMs, the Network & internet page has a
header showing entries for each one, with summary text indicating which
one is used for data (and whether it is just set as the default, or
actively using data). We were not properly setting this text when either
data wasn't being used, eg when connected to wifi, or mobile data was
disabled for this SIM. This CL fixes both these problems by adding new
helper classes to listen for relevant events.
Test: make RunSettingsRoboTests
Fixes:
124394250
Fixes:
128857712
Change-Id: I34f2679752fa41a50247dd0b12581cbfd77a34f6
joshmccloskey [Mon, 6 May 2019 22:11:34 +0000 (15:11 -0700)]
Updated Face Enroll Introduction
Test: Builds.
Bug:
131774204
Change-Id: Ibccd54185b9d8ffbfd2678be1c8680ffb1699425
Jonathan Scott [Tue, 30 Apr 2019 14:52:52 +0000 (15:52 +0100)]
[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with LockTaskController.
Bug:
127605586
Test: Manual
Change-Id: Id85632b5e6975fc5f92d6e8126a6603a07f097e1
Brad Ebinger [Tue, 7 May 2019 17:59:26 +0000 (10:59 -0700)]
Resolve the SIM call manager per subId
The SIM call manager used to be resolved based
on what the default voice subscription ID was.
This caused settings to be displayed for the
incorrect subscription. A new API has been added
that allows settings to query the SIM call manager
per subId.
Test: manual, unit testing
Bug:
131627085
Change-Id: I7699508429f7df7a138c24c4c7a6e9f1148b84da
Fan Zhang [Tue, 7 May 2019 20:43:38 +0000 (13:43 -0700)]
Add flag to disable part of event_logging in Settings.
- Fork SettingsEventLogWriter from EventLogWritter. This is identical to
the base class except it overrides some logging method with a flag
check. We can't entirely disable event_log logging because some of the stuff
being logged will not exist in stats_log, for example paired metadata.
Bug:
129697155
Test: robotest
Change-Id: I9cd46bbb54cb85737bbf7760e315c1fe34f77498
Daniel Solomon [Tue, 7 May 2019 21:19:36 +0000 (21:19 +0000)]
Merge "Hide display white balance setting depending on accessibility" into qt-dev
Aran Ink [Tue, 7 May 2019 20:36:56 +0000 (16:36 -0400)]
Use correct constants for Global Actions Panel settings.
Test: Automated tests pass. Manual testing allows enabling/disabling of secure setting via Settings preference.
Fixes:
132182180
Fixes:
132184167
Change-Id: I62caccfe64e073c95b0c0f8a42e5728cf7f3c1ca
Aaron Heuckroth [Thu, 2 May 2019 15:04:42 +0000 (11:04 -0400)]
Create Settings preference for Global Actions Panel.
Test: Automated tests pass.
Bug:
127295457
Change-Id: I6502d4c8541a3f279fb96d5f050f13890db8f376
Winson Chung [Thu, 2 May 2019 23:43:34 +0000 (16:43 -0700)]
Disable settings preferences when the packages do not exist
Bug:
131273934
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationLegacyPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationSwipeUpPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationEdgeToEdgePreferenceControllerTest
Change-Id: I5b12831d0eacbaa9c8b13d7a7b380b8c99f20009
Lei Yu [Tue, 7 May 2019 19:50:30 +0000 (12:50 -0700)]
Increate max height of sliceView
To make sure it can have 8 devices at maximum.
Fixes:
130357332
Test: Manual
Change-Id: I4274a04d1dd8447b9b5904a77af2723e4637f22a
Fan Zhang [Tue, 7 May 2019 19:05:39 +0000 (19:05 +0000)]
Merge "Remove animator on app list." into qt-dev