OSDN Git Service
Neil Fuller [Tue, 27 Nov 2018 00:28:19 +0000 (16:28 -0800)]
[automerger skipped] Merge "Track move of timezone classes to libcore.timezone" am:
3ddcb6a90a am:
de0bd5321f
am:
18a275efc3 -s ours
Change-Id: I2915f6fad31d2106a6dcc9fd07c3e4897ae2e964
Neil Fuller [Mon, 26 Nov 2018 23:48:38 +0000 (15:48 -0800)]
Merge "Track move of timezone classes to libcore.timezone" am:
3ddcb6a90a
am:
de0bd5321f
Change-Id: I69516fa31c07a67621e8740ca14c19c40d5dd126
Neil Fuller [Mon, 26 Nov 2018 23:27:52 +0000 (15:27 -0800)]
Merge "Track move of timezone classes to libcore.timezone"
am:
3ddcb6a90a
Change-Id: Id7db6339cf9c5f886be9c8ba80b47e15783a4ea3
Neil Fuller [Mon, 26 Nov 2018 23:04:33 +0000 (23:04 +0000)]
Merge "Track move of timezone classes to libcore.timezone"
TreeHugger Robot [Mon, 26 Nov 2018 23:03:12 +0000 (23:03 +0000)]
Merge "Update battery percentage preference strings"
Youming Ye [Mon, 26 Nov 2018 22:09:21 +0000 (14:09 -0800)]
Merge "Display a toast to notify user that Preset APN setting cannot be viewed" am:
a995cb334b am:
e29c62ea04
am:
e5e4e4cb76
Change-Id: Ic4c41e88c28a322d54a8489844b6ef0ff041d3a1
TreeHugger Robot [Mon, 26 Nov 2018 21:57:18 +0000 (21:57 +0000)]
Merge "Change settings launcher icon background color"
Youming Ye [Mon, 26 Nov 2018 21:51:57 +0000 (13:51 -0800)]
Merge "Display a toast to notify user that Preset APN setting cannot be viewed" am:
a995cb334b
am:
e29c62ea04
Change-Id: If37a038a2a226d0165293d7c40f133002bcd2991
TreeHugger Robot [Mon, 26 Nov 2018 21:39:16 +0000 (21:39 +0000)]
Merge "Remove "Allow alarms" from top level DND settings"
Youming Ye [Mon, 26 Nov 2018 21:38:30 +0000 (13:38 -0800)]
Merge "Display a toast to notify user that Preset APN setting cannot be viewed"
am:
a995cb334b
Change-Id: If2bb27e7e9452ebcaab1d421adc07259b4b3b31c
Salvador Martinez [Mon, 26 Nov 2018 21:35:58 +0000 (13:35 -0800)]
Update battery percentage preference strings
This changes the preference to be "Battery Info" and
updates the summary text to mention time remaning in addition to
percentage.
Test: None, String only change
Change-Id: Id9a8132051455842a76104ed0f2abfca3b589011
Fixes:
119828170
Youming Ye [Mon, 26 Nov 2018 21:14:14 +0000 (21:14 +0000)]
Merge "Display a toast to notify user that Preset APN setting cannot be viewed"
TreeHugger Robot [Mon, 26 Nov 2018 17:20:58 +0000 (17:20 +0000)]
Merge "Fix action bar color in App info header"
Raff Tsai [Mon, 26 Nov 2018 06:58:22 +0000 (14:58 +0800)]
Hide dropdown list by default.
Test: manual
Change-Id: I0b3ae219404cf1c503cf71410d7bdcd5daef4fb6
Fixes:
119872107
TreeHugger Robot [Mon, 26 Nov 2018 02:46:15 +0000 (02:46 +0000)]
Merge "[WPA3] Filter unsupported networks from Add network spinner"
Arc Wang [Fri, 23 Nov 2018 02:10:40 +0000 (02:10 +0000)]
Merge "Upload basic UI files for Wi-Fi DPP Settings development."
Neil Fuller [Fri, 16 Nov 2018 21:23:33 +0000 (21:23 +0000)]
Track move of timezone classes to libcore.timezone
Some time zone related libcore classes are moving from
libcore.util to libcore.timezone.
Bug:
119026403
Test: build only
Merged-In: I920411dfa7e000a0da9678826a035e0461211619
Change-Id: I920411dfa7e000a0da9678826a035e0461211619
(cherry picked from commit
1e1961a5b30dd93560bff2301b95e6a99a603cba)
Neil Fuller [Thu, 22 Nov 2018 09:31:19 +0000 (09:31 +0000)]
Merge "Track move of timezone classes to libcore.timezone"
Raff Tsai [Thu, 22 Nov 2018 06:26:40 +0000 (14:26 +0800)]
Change settings launcher icon background color
Change-Id: Ie24466120208fcd584fa1ee14020e39058992901
Fixes:
119119603
Test: visual
tmfang [Wed, 21 Nov 2018 10:23:21 +0000 (18:23 +0800)]
Fix action bar color in App info header
- Action bar color is same as status bar.
Test: visual
Fixes:
119893936
Change-Id: I8806295f9f42b27d14eb7f3521907a3a234b9593
Hai Shalom [Wed, 14 Nov 2018 00:37:24 +0000 (16:37 -0800)]
[WPA3] Filter unsupported networks from Add network spinner
Filter unsupported networks from Add network spinner. Removed entries
from wifi_dialog.xml, adding them dynamically based on device
capabilities. Adding position-to-security table, that decouples spinner
positions from security values.
Bug:
112195778
Test: atest WifiConfigControllerTest + device functional test
Change-Id: I6a814c4d69fbd8d8076db5dbaa5da807b4da4c32
Cosmo Hsieh [Thu, 22 Nov 2018 02:22:23 +0000 (02:22 +0000)]
Merge "Implement NetworkRequestMatchCallback callback in NetworkRequestDialogFragment"
taiki tsutsumi [Fri, 29 Jun 2018 05:21:39 +0000 (14:21 +0900)]
Display a toast to notify user that Preset APN setting cannot be viewed
When KEY_HIDE_PRESET_APN_DETAILS_BOOL is set to true, Preset APN setting
is hidden. When user taps Preset APN, a toast should be shown to inform
that user cannot view the APN.
Test: manual - check Preset APN setting details are hidden
Bug:
115453290
Depends-On: I8a5c6f92f876d349b304acf89b4ffab86ff3f24b
Change-Id: I0078b3492ae87a4297f24871b8bea1579e6a79af
Pengquan Meng [Wed, 21 Nov 2018 19:38:43 +0000 (19:38 +0000)]
Merge "Fix CarrierSettings preference"
TreeHugger Robot [Wed, 21 Nov 2018 19:10:58 +0000 (19:10 +0000)]
Merge "Update backup icon"
Beverly [Wed, 21 Nov 2018 18:22:31 +0000 (13:22 -0500)]
Remove "Allow alarms" from top level DND settings
Test: manual
Bug:
111475013
Change-Id: Ieb2539a7f0a389738a936cb9210951d07121e69a
Maurice Lam [Wed, 21 Nov 2018 16:26:33 +0000 (08:26 -0800)]
[automerger skipped] Merge "Remove ShadowLibcoreTimeZoneNames" am:
45f8352422 am:
918c0c5896
am:
c2772b777d -s ours
Change-Id: Ifa9e663d5400ac18b099a51d53934864887ed6ef
Maurice Lam [Wed, 21 Nov 2018 16:06:22 +0000 (08:06 -0800)]
Merge "Remove ShadowLibcoreTimeZoneNames" am:
45f8352422
am:
918c0c5896
Change-Id: I43ce51a3947ddb5e3f9deadfbbce2403ece9a182
Maurice Lam [Wed, 21 Nov 2018 15:44:39 +0000 (07:44 -0800)]
Merge "Remove ShadowLibcoreTimeZoneNames"
am:
45f8352422
Change-Id: I65b07e67025ad0dfaa85fc1c873e695d69ff0a9c
Treehugger Robot [Wed, 21 Nov 2018 15:17:51 +0000 (15:17 +0000)]
Merge "Remove ShadowLibcoreTimeZoneNames"
Maurice Lam [Tue, 20 Nov 2018 23:01:22 +0000 (15:01 -0800)]
Remove ShadowLibcoreTimeZoneNames
Bug:
119829838
Test: Treehugger
(cherry picked from commit
cc2cf5ba5a8ffa1eb95b71534f256046e429f9ea)
Change-Id: I756265945dcf7c3b7a78a627c4dc32cff3c8e55c
Merged-In: I756265945dcf7c3b7a78a627c4dc32cff3c8e55c
Arc Wang [Mon, 19 Nov 2018 07:48:29 +0000 (15:48 +0800)]
Upload basic UI files for Wi-Fi DPP Settings development.
WifiDppQrCodeScannerActivity is the activity for user to scan
QR code and add device to a saved network.
Bug:
118797380
Test: manual
Change-Id: If2c8c5ba1620e5584fb47ba7b0ea2bc2d7acb641
Raff Tsai [Wed, 21 Nov 2018 07:43:25 +0000 (15:43 +0800)]
Update backup icon
Change-Id: I64f5999af162d6b9b932b1f947e43140e63354de
Fixes:
119290226
Test: visual
cosmohsieh [Wed, 14 Nov 2018 09:24:18 +0000 (17:24 +0800)]
Implement NetworkRequestMatchCallback callback in NetworkRequestDialogFragment
Use this callback to communicate with framework wifi api.
Will get candidates wifi ap list and related callback to select which wifi ap wanted to use, and related operated result status.
Bug:
117399926
Test: RunSettingsRoboTests
Change-Id: Ic8ee678c06f21050761ebb58dc0fe50bc5732e53
Raff Tsai [Wed, 21 Nov 2018 05:57:32 +0000 (05:57 +0000)]
Merge "Add BatteryFix Slice"
Fan Zhang [Wed, 21 Nov 2018 05:55:28 +0000 (21:55 -0800)]
[automerger skipped] Hide quicksetting tile for dev options when it's turned off am:
73469d9de1 am:
eeaff5deeb -s ours am:
622444d488 -s ours am:
b232d21e3d -s ours
am:
b84867f450 -s ours
Change-Id: I5dfcbd2a7ebcd539bc890c407c2098edc79b3327
Fan Zhang [Wed, 21 Nov 2018 05:54:16 +0000 (21:54 -0800)]
[automerger skipped] Hide quicksetting tile for dev options when it's turned off am:
04f1e38dc3 -s ours am:
cb560b65f5 -s ours
am:
1c60e846e6 -s ours
Change-Id: I0b221a7efd47eda735a906b533e36d6969f20404
Fan Zhang [Wed, 21 Nov 2018 05:53:12 +0000 (21:53 -0800)]
[automerger skipped] Merge "Hide quicksetting tile for dev options when it's turned off" into pi-dev am:
4c16ad5abf -s ours
am:
1c5a636e17 -s ours
Change-Id: Ie5a937f3e695d63ff12044a40fc902a7f03882c7
Fan Zhang [Wed, 21 Nov 2018 05:42:26 +0000 (21:42 -0800)]
[automerger skipped] Hide quicksetting tile for dev options when it's turned off am:
73469d9de1 am:
eeaff5deeb -s ours am:
622444d488 -s ours
am:
b232d21e3d -s ours
Change-Id: I3556cb37a1ed60059fea16f4ffd91772ca15fbb3
Fan Zhang [Wed, 21 Nov 2018 05:41:34 +0000 (21:41 -0800)]
[automerger skipped] Hide quicksetting tile for dev options when it's turned off am:
04f1e38dc3 -s ours
am:
cb560b65f5 -s ours
Change-Id: I1d6e775641db02ec58b378382d997569ef97cd06
Fan Zhang [Wed, 21 Nov 2018 05:40:53 +0000 (21:40 -0800)]
[automerger skipped] Merge "Hide quicksetting tile for dev options when it's turned off" into pi-dev
am:
4c16ad5abf -s ours
Change-Id: I7a8f95eda10b14e0fd067a15dae38cd3751566f2
Johnson Lu [Wed, 21 Nov 2018 05:38:15 +0000 (05:38 +0000)]
Merge "Refine QrCamera.getBestPreviewSize method"
James Lemieux [Wed, 21 Nov 2018 05:16:08 +0000 (05:16 +0000)]
Merge "Prepare tests for impending robolectric merge"
Raff Tsai [Mon, 12 Nov 2018 20:02:07 +0000 (04:02 +0800)]
Add BatteryFix Slice
Change-Id: I504df1e9caadced71cc37f8be9207ab9fd26f9ab
Fixes:
114807643
Test: manual
Johnson Lu [Tue, 20 Nov 2018 06:08:08 +0000 (14:08 +0800)]
Refine QrCamera.getBestPreviewSize method
Compares aspect ratio of camera preview and preview window to get better
preview size.
Bug:
118797380
Test: RunSettingsRoboTests
Change-Id: I5c58691b02c2b5d9709ff956e86ca301196d5664
TreeHugger Robot [Wed, 21 Nov 2018 03:37:39 +0000 (03:37 +0000)]
Merge "Allow below divider for all EntityHeader"
Pengquan Meng [Tue, 20 Nov 2018 21:56:28 +0000 (13:56 -0800)]
Fix CarrierSettings preference
This used the CarrierConfigManager to get the CarrierSettings activity
component and open that activity when the preference is clicked.
Bug:
117651939
Test: make -j40 ROBOTEST_FILTER=telephony RunSettingsRoboTests
Change-Id: Ic5267bba18ab32fbcc2e04aa61e7361151130275
Maurice Lam [Wed, 21 Nov 2018 02:33:01 +0000 (02:33 +0000)]
Merge "Remove ShadowLibcoreTimeZoneNames"
James Lemieux [Tue, 20 Nov 2018 22:26:31 +0000 (14:26 -0800)]
Prepare tests for impending robolectric merge
Some ShadowUserManager function moved into the basic shadow in
robolectric proper and has been removed from the Settings
ShadowUserManager.
Test: make -j56 RunSettingsRoboTests
Change-Id: I38647dae5d16bc79bc7925ca139c9362a2035393
Mill Chen [Thu, 15 Nov 2018 06:39:55 +0000 (14:39 +0800)]
Update new UI for conditional collapsibility
- Add a footer view with collapsing button and this view will be
appended to the last position of condition cards when condition
cards are expanded.
- Add a header view with expanding button when condition cards
are in collapsed state.
Bug:
119593268,
113451905
Test: rebuild, visual
Change-Id: I82c20641d1542e45383da48106f8fedea06a68ed
Maurice Lam [Tue, 20 Nov 2018 23:01:22 +0000 (15:01 -0800)]
Remove ShadowLibcoreTimeZoneNames
Bug:
119829838
Test: atest RunSettingsRoboTests
Change-Id: I756265945dcf7c3b7a78a627c4dc32cff3c8e55c
Kevin Chyn [Tue, 20 Nov 2018 18:12:42 +0000 (18:12 +0000)]
Merge "Simplify preview logic"
TreeHugger Robot [Tue, 20 Nov 2018 17:49:57 +0000 (17:49 +0000)]
Merge "Prepare tests for impending robolectric merge"
Neil Fuller [Fri, 16 Nov 2018 21:23:33 +0000 (21:23 +0000)]
Track move of timezone classes to libcore.timezone
Some time zone related libcore classes are moving from
libcore.util to libcore.timezone.
Bug:
119026403
Test: build only
Change-Id: I920411dfa7e000a0da9678826a035e0461211619
Fan Zhang [Tue, 20 Nov 2018 10:43:38 +0000 (02:43 -0800)]
[automerger skipped] Hide quicksetting tile for dev options when it's turned off am:
73469d9de1 am:
eeaff5deeb -s ours
am:
622444d488 -s ours
Change-Id: I48cc472fb0d99b88f3affb69708f7107fe3ea2dc
Fan Zhang [Tue, 20 Nov 2018 10:34:38 +0000 (02:34 -0800)]
[automerger skipped] Hide quicksetting tile for dev options when it's turned off am:
73469d9de1
am:
eeaff5deeb -s ours
Change-Id: I1da9e0c3e5a170eb16a11a616d8a76fe6424d420
Fan Zhang [Tue, 20 Nov 2018 10:28:15 +0000 (02:28 -0800)]
Hide quicksetting tile for dev options when it's turned off
am:
73469d9de1
Change-Id: Ibd19748e11218a958a00eaf501d9d8ab7cfc96e0
Fan Zhang [Tue, 20 Nov 2018 06:38:50 +0000 (22:38 -0800)]
[automerger skipped] Hide quicksetting tile for dev options when it's turned off
am:
04f1e38dc3 -s ours
Change-Id: I3dfc8d889fb440846e4b70193350c665389f9b89
TreeHugger Robot [Tue, 20 Nov 2018 05:00:03 +0000 (05:00 +0000)]
Merge "Hide quicksetting tile for dev options when it's turned off" into pi-dev
Emily Chuang [Wed, 14 Nov 2018 06:57:35 +0000 (14:57 +0800)]
Add contextual card dismissal implementation
When users clcik on the remove button in dismissal view, the card should
be marked as dismissed in the database, and the UI should be refreshed.
Bug:
113783548,
119594116
Test: robotests
Change-Id: I980600c4c0753ad5abc52ae63bac7196a4b818f1
tmfang [Tue, 20 Nov 2018 03:48:00 +0000 (11:48 +0800)]
Allow below divider for all EntityHeader
- Create an method in LayoutPreference let other class can
set divider status.
- EntityHeaderController will allow to have a below divider
by default.
Test: visual, robotest
Bug:
116346008
Change-Id: Ic041b8fef8d22ce1b7ea48eedfbe97c708c41ce7
Johnson Lu [Tue, 20 Nov 2018 03:33:24 +0000 (03:33 +0000)]
Merge "Add QrCodeGenerator for QrCode encoding"
Kevin Chyn [Tue, 20 Nov 2018 02:18:51 +0000 (18:18 -0800)]
Simplify preview logic
Fixes:
112564159
Bug:
119786386
Test: manual
Change-Id: I42fba5a53248193fbe820e710a863ec9de728d4a
Johnson Lu [Thu, 15 Nov 2018 09:09:44 +0000 (17:09 +0800)]
Add QrCodeGenerator for QrCode encoding
Bug:
118794858
Test: RunSettingsRoboTests
Change-Id: I1e27c7b7bf97c1b683be7d200e1f3bbdc763c4c1
James Lemieux [Tue, 20 Nov 2018 00:48:58 +0000 (16:48 -0800)]
Prepare tests for impending robolectric merge
Setting's ShadowUserManager.reset() was unnecessary and collided with a
newly introduced reset() method in its super class. It has been removed.
Test: make -j56 RunSettingsGoogleRoboTests &&
make -j56 RunSettingsRoboTests &&
make -j56 RunSettingsLibRoboTests
Change-Id: I63c50eca0de3581fd4f64f4862233446f5937d0c
Sunny Shao [Fri, 16 Nov 2018 03:16:35 +0000 (11:16 +0800)]
Added the launching account page
Settings get account name and account avatar from SI.
According the account name to launch the account page.
Bug:
119608711
Test: robotest
Change-Id: I0d53e9445f4ba5ce470bd079038db0f08f0cc1c8
TreeHugger Robot [Mon, 19 Nov 2018 22:08:46 +0000 (22:08 +0000)]
Merge "Tweak strings"
TreeHugger Robot [Mon, 19 Nov 2018 20:28:25 +0000 (20:28 +0000)]
Merge "Fix data usage failing test."
John Reck [Mon, 19 Nov 2018 20:27:39 +0000 (12:27 -0800)]
Tweak strings
Bug:
119120272
Bug:
119621549
Test: n/a
Change-Id: I73a7b594b02f6ebea2e7d15e15ebd681fe9270db
Fan Zhang [Mon, 19 Nov 2018 18:59:29 +0000 (18:59 +0000)]
Merge "Apply new action buttons style for instant app"
Fan Zhang [Mon, 19 Nov 2018 18:35:19 +0000 (18:35 +0000)]
Merge "Add below/above dividers for new action buttons"
TreeHugger Robot [Mon, 19 Nov 2018 18:33:39 +0000 (18:33 +0000)]
Merge "Change Switchbar fontFamily and textSize"
Fan Zhang [Mon, 19 Nov 2018 18:32:11 +0000 (18:32 +0000)]
Merge "Disable toggling wifi tethering in secondary user."
TreeHugger Robot [Mon, 19 Nov 2018 18:00:25 +0000 (18:00 +0000)]
Merge "Refined the CardContentProvider unused operations"
tmfang [Mon, 19 Nov 2018 07:00:24 +0000 (15:00 +0800)]
Add below/above dividers for new action buttons
- App info
- App storage
- Power usage
Test: visual
Bug:
116346008
Change-Id: Ie4a4ad6f41b74e7bc38f3ac99f241da6be19e647
Raff Tsai [Mon, 19 Nov 2018 06:52:28 +0000 (14:52 +0800)]
Change Switchbar fontFamily and textSize
Test: manul
Change-Id: I8e03dd9ca500ab5517ed7a0d4abcb6e9edfbe239
Fixes:
116342461
tmfang [Mon, 19 Nov 2018 05:45:16 +0000 (13:45 +0800)]
Apply new action buttons style for instant app
Test: visual
Bug:
116346008
Change-Id: I5a9f31960da28757e51683db4011820f7339e2f9
Kevin Chyn [Fri, 16 Nov 2018 23:58:02 +0000 (15:58 -0800)]
Use the correct manager to generate token
Bug:
111548037
Test: manual
Change-Id: I84f106ace988165f9f6dbc667c46302cbd1c6226
Doris Ling [Thu, 11 Oct 2018 00:06:15 +0000 (17:06 -0700)]
Disable toggling wifi tethering in secondary user.
- in previous release, the shortcut widget was for the top level
Hotspot & Tethering settings page. The top level settings has logic to
check whether the page is restricted and remove all preferences and
show a message to tell the user that tethering settings are not
available, and the user will not be able to launch the wifi hotspot
settings page.
- the updated shortcut now launches the wifi hotspot page directly.
The settings does not check for restriction. Copy the logic from the top
level settings to check for restriction and remove all preferences
accordingly.
Change-Id: I76fb7838e2db379f6ffbce7bf14003bccc1b10d3
Fixes:
116642428
Test: make RunSettingsRoboTests
Doris Ling [Fri, 16 Nov 2018 21:06:37 +0000 (13:06 -0800)]
Fix data usage failing test.
- update the tests that faile when data usage v2 is turned on.
Change-Id: I6bd09245d695791fb1564b6e598600e889d0712f
Fixes:
117433810
Test: make RunSettingsRoboTests
TreeHugger Robot [Fri, 16 Nov 2018 19:11:26 +0000 (19:11 +0000)]
Merge "Only update mutable shortcuts."
Salvador Martinez [Fri, 16 Nov 2018 18:29:48 +0000 (18:29 +0000)]
Merge "Update Settings components for dark theme"
Raff Tsai [Fri, 16 Nov 2018 15:45:26 +0000 (15:45 +0000)]
Merge "Fix Settings crash when clicking search bar"
Johnson Lu [Fri, 16 Nov 2018 13:06:27 +0000 (13:06 +0000)]
Merge "Add QrDecorateView for QrCode scanner implementation"
TreeHugger Robot [Fri, 16 Nov 2018 10:45:29 +0000 (10:45 +0000)]
Merge changes from topic "settings-action-button"
* changes:
Remove setButtonPositive method
Apply new action button visual design
Create a new visual design for action buttons
TreeHugger Robot [Fri, 16 Nov 2018 09:50:31 +0000 (09:50 +0000)]
Merge "Make UI refresh when there is only one contextual card left."
Sunny Shao [Fri, 16 Nov 2018 07:44:53 +0000 (15:44 +0800)]
Refined the CardContentProvider unused operations
updated delete and update operations to throw UnsupportedOperationException
Bug:
119647595
Test: robotest
Change-Id: If77662213b89dc91b9ca2d6b028c635a46266eab
Yanting Yang [Fri, 16 Nov 2018 07:36:02 +0000 (07:36 +0000)]
Merge "Add Low Storage slice to Contextual Settings Homepage"
tmfang [Wed, 14 Nov 2018 10:18:44 +0000 (18:18 +0800)]
Remove setButtonPositive method
Since new UI design only exist two button in layout,
we don't need these methods anymore.
Test: robotest
Bug:
116346008
Change-Id: If2e8f7dddb9c13e480438f36fe3c5d6affa4e9ff
tmfang [Fri, 9 Nov 2018 12:21:14 +0000 (20:21 +0800)]
Apply new action button visual design
- Add some icon resources.
- Add icon for each button in action button preference.
- Update "Enable" and "Disable" string to "Install" and "uninstall".
- Remove unused string.
- Add divider between entity header and action buttons.
Test: visual, robotest
Fixes:
119203074
Bug:
116346008
Change-Id: Ib8d7aeb2943d39d257e977b84f165f002bf47559
Emily Chuang [Thu, 15 Nov 2018 01:55:06 +0000 (09:55 +0800)]
Make UI refresh when there is only one contextual card left.
After having card dismissal mechanism implemented, it is possible that
the card list loaded from the card loader will be empty (users may
dismiss all cards). When there is only one card remaining on the screen
and user dismiss it, the card should go away.
Fixes:
119580732
Test: robotest
Change-Id: I7ae3b03f16a0b8b009d8aa77811b5a6d39c359e7
Raff Tsai [Fri, 16 Nov 2018 03:14:43 +0000 (11:14 +0800)]
Fix testcase fail
-Ignore testcase in RemoteDeviceNameDialogFragmentTest
-Fix SettingsPreferenceFragmentTest and ApnEditorTest testcase fail
Test: make RunSettingsRoboTests
Change-Id: I63053cd2256c9c00f92b57a813513e5df05fd60a
Bug:
119592320
Johnson Lu [Wed, 14 Nov 2018 07:09:03 +0000 (15:09 +0800)]
Add QrDecorateView for QrCode scanner implementation
This view draw the lines at the corner of the inner frame.
Bug:
118797380
Test: RunSettingsRoboTests
Change-Id: I159dba8d3a23eaa489932a1a13f63a574079b448
Raff Tsai [Fri, 16 Nov 2018 02:14:23 +0000 (02:14 +0000)]
Merge "Fix crash on AppInfoDashboardFragment"
Doris Ling [Fri, 16 Nov 2018 00:29:53 +0000 (16:29 -0800)]
Only update mutable shortcuts.
When trying to update the flags for the existing shortcuts, check and
skip the immutable shortcuts, since they should not be modified.
Change-Id: Iee70ed92f45c1b0b0f0c5b902069c017acfa4990
Fixes:
119119713
Test: make RunSettingsRoboTests
Salvador Martinez [Fri, 2 Nov 2018 21:15:44 +0000 (14:15 -0700)]
Update Settings components for dark theme
This CL updates the colors and properties of various themes and
widgets to make them follow dark theme UI. Specifically, it changes
the color accent and uses true black for the background.
Test: manual inspection
Bug:
111397440
Change-Id: I15214a4c5d4864244af856312d2fc3e3a7e7ce36
Beverly Tai [Thu, 15 Nov 2018 18:06:06 +0000 (18:06 +0000)]
Merge "Add new settings page for apps overriding dnd"
Raff Tsai [Thu, 15 Nov 2018 05:35:36 +0000 (13:35 +0800)]
Fix Settings crash when clicking search bar
- When user disable settings suggestion in App Settings, click
search button without leaving settings app. The search button is
still existed.
- Doesn't allow user to disable app in App Settings
- Add check before start search intent
Change-Id: Ifbc4615914678d8df734e14d63bb626403313d1e
Fixes:
118805907
Test: manual
tmfang [Thu, 15 Nov 2018 08:48:21 +0000 (16:48 +0800)]
Fix crash on AppInfoDashboardFragment
When AppInfoDashboardFragment launch a new page,
it sets SUB_INFO_FRAGMENT(1) as request code.
This request code is same as REQUEST_REMOVE_DEVICE_ADMIN(1).
So, when AppInfoDashboardFragment got onActivityResult callback,
it will handle the event about REQUEST_REMOVE_DEVICE_ADMIN.
So, we change REQUEST_REMOVE_DEVICE_ADMIN to a unique value.
Test: manual test, robotest
Fixes:
118841475
Change-Id: Idabd62c5062ccfbf4b8acee82df7401fc9ce7484
Yanting Yang [Tue, 13 Nov 2018 15:39:54 +0000 (23:39 +0800)]
Add Low Storage slice to Contextual Settings Homepage
Bug:
114808204
Test: robotests, visual
Change-Id: I0c1a02dc40a0a72b7a2ad8f46505325e52bee942