Commit Graph

26951 Commits

Author SHA1 Message Date
Winson Chung
cfd0a66f7b 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
2019-05-07 20:16:05 +00:00
Fan Zhang
73d79ef7a1 Merge "Remove animator on app list." into qt-dev
am: 576cb8b0df

Change-Id: I05c37e7cab441bac6a0d97ea3b0379546c606cf9
2019-05-07 13:12:48 -07:00
Fan Zhang
576cb8b0df Merge "Remove animator on app list." into qt-dev 2019-05-07 19:05:39 +00:00
Adam He
e840691e52 Display profile picker for content capture settings.
Fixes: 131748579
Test: manual verification
Change-Id: Iccce8aab8eb3596cb195d64d5711e9407a844541
2019-05-07 11:31:57 -07:00
Edgar Wang
133ffc9c57 Show admin dialog when preference is disabled by Device Admin
Fixes: 130694312
Test: manual & robotest
Change-Id: I9c6487ac056ec3d784bd6f6901e96869e27e0b3e
2019-05-08 02:04:05 +08:00
Yi-Ling Chuang
922ecb6628 Merge "Hide dismissal swipe background before slice gets ready" into qt-dev
am: 9fcb35a009

Change-Id: I47970b4ad73a3eb22367c0151c671d1c6016ee4d
2019-05-07 08:47:48 -07:00
TreeHugger Robot
9fcb35a009 Merge "Hide dismissal swipe background before slice gets ready" into qt-dev 2019-05-07 15:34:24 +00:00
Bram Bonné
c94db6ca56 Merge "Adapts P2P settings to work with with new MAC privacy restrictions." into qt-dev
am: db6a70272e

Change-Id: Id2b14493fbcf3251bf058ce377331ff4b7de7164
2019-05-07 07:11:24 -07:00
Bram Bonné
db6a70272e Merge "Adapts P2P settings to work with with new MAC privacy restrictions." into qt-dev 2019-05-07 14:02:04 +00:00
Arc Wang
ac75faa207 Fix back arrow in wifi settings "connect to this network connection qr code" does not work
When clicking back button, pop fragment and Finish the activity if there is nothing to pop

Bug: 132132756
Test: atest WifiDppConfiguratorActivityTest
Change-Id: Ia16951e79e578f1625e5fadd26553735fa90bffa
2019-05-07 18:06:54 +08:00
Yi-Ling Chuang
ce9903e8db Hide dismissal swipe background before slice gets ready
Only make swipe background visible once slice has a successfual binding.

Bug: 131843256
Test: robotests
Change-Id: I7866873a217e8ca882634a48108939022713c87b
2019-05-07 17:54:33 +08:00
Kevin Chang
c64b99b1e7 Merge "Change the attributes of SwitchBar and ToggleSwitch" into qt-dev
am: caa17e0ec7

Change-Id: Ieb3af48fd330a9beae914caff8e00fab361e554d
2019-05-07 01:58:22 -07:00
Kevin Chang
caa17e0ec7 Merge "Change the attributes of SwitchBar and ToggleSwitch" into qt-dev 2019-05-07 08:53:28 +00:00
Raff Tsai
0d894197f6 Merge "ANR observed under settings when trying to reset network settings" into qt-dev
am: d6d5495aa1

Change-Id: I8ee5162f44c834cb74ceeff14f604e480b123e9a
2019-05-06 21:50:30 -07:00
Raff Tsai
d6d5495aa1 Merge "ANR observed under settings when trying to reset network settings" into qt-dev 2019-05-07 04:40:34 +00:00
Kevin Chang
c5b6fda98c Merge "Change the string of Captions and reorder the feature in audio category" into qt-dev
am: 4b7d48320c

Change-Id: I03e100ccfc9373e61d933ce948a49237f0e2fadc
2019-05-06 21:11:22 -07:00
Kevin Chang
4b7d48320c Merge "Change the string of Captions and reorder the feature in audio category" into qt-dev 2019-05-07 03:47:51 +00:00
Jason Chiu
3b1bdd5726 Merge "Add subtext for Wi-Fi items on Wi-Fi slice" into qt-dev
am: a892ed5cdd

Change-Id: I097d25d222176fa2bab51603e1cfe6a26a8bc47a
2019-05-06 19:58:51 -07:00
Kevin Chang
e718cfcd94 Change the attributes of SwitchBar and ToggleSwitch
Change the focusable and clickable of SwitchBar and ToggleSwitch
to avoid multiple focus with TalkBack

Bug: 124334500
Bug: 128475156
Test: Visual
Change-Id: I13003f4e17d4c76644f87095c140f005b38889af
2019-05-07 10:56:39 +08:00
TreeHugger Robot
a892ed5cdd Merge "Add subtext for Wi-Fi items on Wi-Fi slice" into qt-dev 2019-05-07 02:45:19 +00:00
JeiFeng Lee
7bc5f91289 [PATCH] Buttons in storage settings
Due to changes in layout of storage wizard base,
2 extra buttons are shown on progress screen while formatting SD card
and also on other screens which have storage wizard base as their super class.
Hence when these buttons were clicked unsupported exception takes place.
Hide these unnecessary next/back buttons from all screen so that user cannot click these.

Fixes: 131779469
Test: manual
Change-Id: I235a180627e68bbb38f4ed4e7ac58ae38838c8d7
Signed-off-by: JeiFeng Lee <linger.lee@mediatek.com>
2019-05-07 09:14:40 +08:00
Yanting Yang
de9c1f8e53 Merge "Clean up import in homepage" into qt-dev
am: 65a258e2a2

Change-Id: I5e9a8fb0b5a99a59db2ae1a2f7b2c1eb21bb7235
2019-05-06 14:02:02 -07:00
TreeHugger Robot
65a258e2a2 Merge "Clean up import in homepage" into qt-dev 2019-05-06 20:28:37 +00:00
Pengquan Meng
3dc8887a51 Merge "Add log for manual network select settings" into qt-dev
am: 02a54a0150

Change-Id: I76a9139c5598fb07846dd3f9a3d80e2c992cec0e
2019-05-06 11:41:40 -07:00
Pengquan Meng
02a54a0150 Merge "Add log for manual network select settings" into qt-dev 2019-05-06 18:15:02 +00:00
Yi-Ling Chuang
6e167068fb Limit the number of permissions being displayed.
am: 922064ed69

Change-Id: I55fcc111d5d67e0e67c327894abb7fa9150c5346
2019-05-06 10:27:32 -07:00
Bram Bonné
5d8d2fa5a8 Adapts P2P settings to work with with new MAC privacy restrictions.
With change ag/7340724, the device's P2P MAC adress will no longer be
included as part of the WIFI_P2P_THIS_DEVICE_CHANGED_ACTION broadcast.
This change makes WifiP2pSettings request the device info after
receiving that broadcast, to make it aware of the device's MAC.

Bug: 132055766
Test: atest
/media/sdb1/android/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
Test: Open Wi-Fi Direct settings, clear device name, observe that the
device's MAC is displayed.

Change-Id: I524afb0c8061c90cd775af422b542213cf14640a
2019-05-06 14:29:44 +00:00
Yi-Ling Chuang
922064ed69 Limit the number of permissions being displayed.
To avoid a long permission summary, let's limit the number to three.

Fixes: 117978938
Test: robotests
Change-Id: Id83fac7ad91140b22757d3e6e8eb72d86ad6ad42
2019-05-06 14:12:00 +08:00
Yi-Ling Chuang
fa2074562f Merge "Use PermissionControllerManager to get permission groups" into qt-dev
am: 1dfc43879e

Change-Id: I549648a29b886fa353d9bc5f0935aa26880f5940
2019-05-05 19:55:19 -07:00
TreeHugger Robot
1dfc43879e Merge "Use PermissionControllerManager to get permission groups" into qt-dev 2019-05-06 02:39:13 +00:00
Julia Reynolds
dab05c6169 Merge "Gentle notifications screen" into qt-dev
am: 21dbfce634

Change-Id: Ia9544235000388615571f5c9f44263b0cd539b88
2019-05-04 13:30:54 -07:00
Julia Reynolds
21dbfce634 Merge "Gentle notifications screen" into qt-dev 2019-05-04 20:02:39 +00:00
Julia Reynolds
643eb7572f Gentle notifications screen
With lockscreen and status bar settings

Test: robo tests
Bug: 128445911
Change-Id: I46c5943d4d8dc1ee74b5b920239f259f5880a2d3
2019-05-04 14:59:53 +00:00
Julia Reynolds
e1f8525853 Merge "Populate recent notifying apps from usage events" into qt-dev
am: 4a7a1086d0

Change-Id: If0c2d93b616c62a9ed49d41f69d7e0a5a5ea34a6
2019-05-04 07:41:18 -07:00
TreeHugger Robot
4a7a1086d0 Merge "Populate recent notifying apps from usage events" into qt-dev 2019-05-04 14:30:29 +00:00
Fan Zhang
301e0ec462 Merge "Format app data usage using IEC unit, not SI unit." into qt-dev
am: 805ba40194

Change-Id: Icf637e54bcd598805dea60a7d4a72af8c49bb045
2019-05-04 03:33:16 -07:00
TreeHugger Robot
805ba40194 Merge "Format app data usage using IEC unit, not SI unit." into qt-dev 2019-05-04 10:25:26 +00:00
Salvador Martinez
3ea00c941d Merge "Update Battery Saver schedule to add order to seekbar" into qt-dev
am: d8accd6b6a

Change-Id: I599bfedf28bd935987eebc64295fb5e36021b613
2019-05-03 20:05:30 -07:00
Amin Shaikh
4f0d017808 Merge "Fix themed settings icons." into qt-dev
am: 1c3d7aa1f9

Change-Id: I79de8a93ff1b912525f760c6269f52f1b8897868
2019-05-03 17:29:13 -07:00
TreeHugger Robot
d8accd6b6a Merge "Update Battery Saver schedule to add order to seekbar" into qt-dev 2019-05-03 23:56:22 +00:00
Fan Zhang
71d793cc2a Format app data usage using IEC unit, not SI unit.
Fixes: 131924586
Test: visual
Change-Id: Iedbd15fb9c98a5c93089708e40175cbf5572eeda
2019-05-03 16:53:11 -07:00
Jason Chiu
13efb72d0d Merge "Update the deprecated Slice APIs to the new ones" into qt-dev
am: 6aab54e4be

Change-Id: I9224f11012448f57213bd004f8c598d995825cff
2019-05-03 15:56:56 -07:00
Beth Thibodeau
2c773e578e Merge "Add setting suggestion for style" into qt-dev
am: 1d1f1b321e

Change-Id: Ib7c8225c1887b239faf6a3952ddec383d266389f
2019-05-03 15:53:43 -07:00
Fan Zhang
0d69f08337 Remove animator on app list.
The animator causes a lot of jank. Removing it makes the UI feel faster
in general.

Fixes: 74127318
Test: visual
Change-Id: I79cbe8220fb05af84a394207dac2c8c9a93288be
2019-05-03 15:37:55 -07:00
Pengquan Meng
97650e9880 Add log for manual network select settings
Add log to manual network select settings code to make the debug easier.

Bug: 131912524
Test: build
Change-Id: I6edb1aac67dd827563fe10adcdc53b6dddea9ca3
2019-05-03 14:37:11 -07:00
TreeHugger Robot
1c3d7aa1f9 Merge "Fix themed settings icons." into qt-dev 2019-05-03 21:04:36 +00:00
Julia Reynolds
abb04be44d Populate recent notifying apps from usage events
Which is the data source that the screen this widget
links to uses

Test: robotests
Fixes: 131641848
Change-Id: I02ce178823e72b3b3606ad4f7110587b6dc0afe3
2019-05-03 20:50:22 +00:00
Andrew Sapperstein
c99572e2f2 Merge "Add metrics categories for delete sims dialogs." into qt-dev
am: 920723019e

Change-Id: I47c7f280d7a35c13c8ff09d47b844adb96d17f87
2019-05-03 11:53:57 -07:00
Salvador Martinez
75c9a817f0 Merge "Update battery saver footer to have learn more link" into qt-dev
am: a5bc389c9d

Change-Id: I02e36f88ee647fd8a4ea36213489b8beb54868ee
2019-05-03 10:10:21 -07:00
TreeHugger Robot
6aab54e4be Merge "Update the deprecated Slice APIs to the new ones" into qt-dev 2019-05-03 17:05:12 +00:00