Commit Graph

7245 Commits

Author SHA1 Message Date
Yi-Ling Chuang
27c257b63a Limit the number of permissions being displayed. am: 922064ed69
am: 6e167068fb

Change-Id: I0fada80d47402a90e01a4963a1bc8923408fe736
2019-05-06 10:44:55 -07: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
1e389acc47 Merge "Use PermissionControllerManager to get permission groups" into qt-dev am: 1dfc43879e
am: fa2074562f

Change-Id: I5b9a242da167d368eae3e1039c4c7d70d8788e50
2019-05-05 19:59:17 -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
448852d943 Merge "Gentle notifications screen" into qt-dev am: 21dbfce634
am: dab05c6169

Change-Id: I2f2dde1e2d87b899cf5dd44411ae17c861b5ccf6
2019-05-04 13:39:53 -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
551bc81d0c Merge "Populate recent notifying apps from usage events" into qt-dev am: 4a7a1086d0
am: e1f8525853

Change-Id: I75f76273b87f2573031fd80d4dd71ed64a633096
2019-05-04 07:50:43 -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
8a17654a19 Merge "Format app data usage using IEC unit, not SI unit." into qt-dev am: 805ba40194
am: 301e0ec462

Change-Id: Idd3a90b808b6516a3754cff8048e6e2a44c3b9eb
2019-05-04 03:43:14 -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
Andrew Sapperstein
178d76b4bd Mark broken tests @Ignore. am: 7af5a9e0c3
am: 66704ecd9b

Change-Id: I46fc6e3b066ed77c420622f33c7fd617b76211a6
2019-05-03 23:33:24 -07:00
Amin Shaikh
24b41f52d3 Merge "Fix themed settings icons." into qt-dev am: 1c3d7aa1f9
am: 4f0d017808

Change-Id: I0d52c9cce9724e64621f919215402639f2323a9e
2019-05-03 23:22:01 -07:00
Beth Thibodeau
6007065213 Merge "Add setting suggestion for style" into qt-dev am: 1d1f1b321e
am: 2c773e578e

Change-Id: Ieba65805d03fe3aca3151b4325a21061bb107c4f
2019-05-03 22:08:33 -07: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
Salvador Martinez
7c4d2a2de2 Merge "Update battery saver footer to have learn more link" into qt-dev am: a5bc389c9d
am: 75c9a817f0

Change-Id: I3073dff6f7e12ce5cb54197b8614c5b8bf743494
2019-05-03 16:19:23 -07:00
Andrew Sapperstein
7af5a9e0c3 Mark broken tests @Ignore.
Bug: 131921277
Test: robotests
Change-Id: I2dc1a4ecc41e07284710fbffc2a980aee805e745
2019-05-03 14:43:47 -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
Amin Shaikh
3f1de20c7e Fix themed settings icons.
- Added android prefix for homeAsUpIndicator attribute
- Override ic_arrow_down_24dp from androidx
- Remove ic_lock drawable overlay
- Update date and time icon
- Dedupe ic_menu_add and ic_add_24dp

Bug: 131346125
Test: mp settings;
Change-Id: I7223249f2adccc5569a37e8b68cae5499e7c7620
2019-05-03 17:02:46 +00:00
Beth Thibodeau
1d1f1b321e Merge "Add setting suggestion for style" into qt-dev 2019-05-03 16:54:54 +00:00
Lei Yu
5efc949f49 Merge "Update dialog text for untethered BT device" into qt-dev am: 76a3e5bfac
am: 1b995f2a4c

Change-Id: Id99385b551bfd96bfea4d92ce6b66d3af2f0c416
2019-05-03 08:11:20 -07:00
Raff Tsai
031d7b3978 Merge "Can't switch navigation mode from search results" into qt-dev am: aad3cdcf5f
am: 288128f719

Change-Id: I55932b288791a055711b747b39f629b041112548
2019-05-03 08:10:25 -07:00
TreeHugger Robot
a5bc389c9d Merge "Update battery saver footer to have learn more link" into qt-dev 2019-05-02 21:38:37 +00:00
Salvador Martinez
b056b7dec4 Update battery saver footer to have learn more link
This will allow tapping on the Learn More text to take a user to
the support page for battery saver.

Bug: 129010739
Test: atest BatterySaverSettingsTest
Change-Id: Ifb758ea8c608a4051c093b5d1d43f9a039ab1294
2019-05-02 13:08:52 -07:00
Lei Yu
76a3e5bfac Merge "Update dialog text for untethered BT device" into qt-dev 2019-05-02 17:18:04 +00:00
Beth Thibodeau
bf63dde205 Add setting suggestion for style
Also added extra to the existing wallpaper suggestion so it opens
directly to that tab instead of the style tab

Test: atest com.android.settings.wallpaper.StyleSuggestionActivityTest
Fixes: 126230901

Change-Id: I50ca588627063194900dca8a9273baff4a44ca67
2019-05-02 10:58:22 -04:00
Raff Tsai
8f205a66c0 Can't switch navigation mode from search results
3 Navigation modes are mutually exclusive, we can't set all often
them on. Therefore we will now show them as slices.

Fixes: 131713601
Test: robolectric, manual
Change-Id: I52e94dffe15ed20a23a5e4cea68a40b66158b3dd
2019-05-02 14:40:43 +08:00
Yi-Ling Chuang
0789b5d226 Use PermissionControllerManager to get permission groups
The mapping of permissions and permission groups may be changed upon
mainline module update, so we cannot reliably read from the platform.
PermissionControllerManager is created for this purpose, so we use it
to prevent from the outdated mapping instead of mapping them manually.

Bug: 117978938
Test: robotests

Change-Id: If8682796b8a30dee3b73572e977fade48d07eb2b
2019-05-02 10:04:53 +08:00
Cn Chen
88faf90a29 Merge ""Change font size" tile should go to settings' font size page directly" 2019-05-02 02:00:40 +00:00
Julia Reynolds
57746eed0b Merge "Importance preference updates" into qt-dev am: 1613d883e8
am: 176f142f74

Change-Id: I245505a348a449beed5666c58cb0eb0cc6b13638
2019-05-01 17:50:23 -07:00
Salvador Martinez
1600a5ce1a Merge "Fix null pointer in SubscriptionUtil" into qt-dev am: 30d0e6c7d7
am: ac690d98c0

Change-Id: I69b7f210bbbef2bba3ef6792c128b806db07e90e
2019-05-01 16:01:49 -07:00
Tim Peng
7e39f6f359 Merge "Update "Play media to" display rule in SoundSetting" into qt-dev am: 1bf8fb8535
am: a5d1d35bcf

Change-Id: Ibc962a2b9476fdde34d77cd32303dba0e0f39c1d
2019-05-01 15:23:16 -07:00
Lei Yu
d9ecc3ae9a Update dialog text for untethered BT device
Fixes: 122672631
Test: RunSettingsRoboTests
Change-Id: I380308acbb7025461ef34aeec68e535189714bf3
2019-05-01 12:37:55 -07:00
Xiangyu/Malcolm Chen
39e8aaba93 Merge "Create enable MMS notification." into qt-dev am: 25de66c030
am: 4a0f2aedd5

Change-Id: I508a0eb6ee8a23e9bcf6c6394af8e1860cfae31d
2019-05-01 11:22:28 -07:00
Fan Zhang
0360305461 Merge "Delete a broken test" into qt-dev am: c824a0cb82
am: cad5eb221c

Change-Id: Ia3baf3ef35e2520efb58c6dd85e70a2d3bca58a1
2019-05-01 07:33:55 -07:00
Antony Sargent
d4f37bb46e Merge "Add 'Erase SIM' to mobile network details page" into qt-dev am: 2740c4a052
am: 4e1273c53f

Change-Id: Ia925f6646eeb49564750dad9a055898ddbdd650f
2019-05-01 07:19:34 -07:00
Sunny Shao
fbe30c5bf7 Merge "Show mobile data slice in Search even no SIM card" into qt-dev am: 8b285f2355
am: 6fba302a0d

Change-Id: I917e58a68eecac6c28500eefab8ad4cc31f2087e
2019-05-01 07:18:45 -07:00
Julia Reynolds
090e67d938 Importance preference updates
- Use show on lockscreen setting
- Match design to notification shade guts

Test: robotests
Bug: 131290247
Bug: 128445911
Change-Id: I645b35191c8f22e751c264fd8ca13560f50b7582
2019-05-01 10:14:05 -04:00
Lifu Tang
1c0c74220d Merge "Update location app stats" into qt-dev am: 5bfa4b24e2
am: 3ee7292958

Change-Id: Icb598b8930394d65012bf4e7a82b7be2e80db19a
2019-04-30 23:11:07 -07:00
Yi-Ling Chuang
ab5cfcdf33 Merge "Only shows two suggestion cards at once." into qt-dev am: 15524dbaee
am: 191e38abec

Change-Id: I086330ea5c300ba13fdcdfa2d5e4e4ed0137ee9e
2019-04-30 22:57:18 -07:00
Lei Yu
2f862295fd Merge "Fix a crash in battery settings page" into qt-dev am: 116d4f14dc
am: cdce15c670

Change-Id: I3b3f4ccaa1efb7461d381906ca92d507d8c00a05
2019-04-30 22:33:43 -07:00
Julia Reynolds
4ad850af69 Merge "Fix visibility and editability of importance fields" into qt-dev am: 7c802e553f
am: 4c77fd575c

Change-Id: I9f0e7f1e13082d86bd9dd3bf50fb3dc70775f606
2019-04-30 19:59:59 -07:00
TreeHugger Robot
30d0e6c7d7 Merge "Fix null pointer in SubscriptionUtil" into qt-dev 2019-04-30 23:43:42 +00:00
TreeHugger Robot
1bf8fb8535 Merge "Update "Play media to" display rule in SoundSetting" into qt-dev 2019-04-30 23:07:28 +00:00
Xiangyu/Malcolm Chen
25de66c030 Merge "Create enable MMS notification." into qt-dev 2019-04-30 23:05:25 +00:00
Fan Zhang
c824a0cb82 Merge "Delete a broken test" into qt-dev 2019-04-30 20:55:35 +00:00
Pasty Chang
8b6857951c Merge "Set QR scan activity to light theme in setup flow" into qt-dev am: 54cddc70e5
am: 9f8406d876

Change-Id: I4ca7732c16bfaf11b5ede3763a3b20e1bd9c74ae
2019-04-30 13:34:49 -07:00
Fan Zhang
e2e104f563 Delete a broken test
The test has been broken for a while.

Fixes: 120505691
Test: robotest
Change-Id: I92537d1676ba1dc94595e87893ca7324d4740a70
2019-04-30 11:37:21 -07:00
Salvador Martinez
b5d471c19b Fix null pointer in SubscriptionUtil
Sometimes we get null sub info which causes a crash. This just
makes it so that if we see that we treat it as inactive since
there isn't really a world where an active null sub info makes
sense.

Test: atest SubscriptionUtilTest
Bug: 131603073
Change-Id: Id5ecbecf011e19ff02d9465e0571b1d17c83de9a
2019-04-30 09:59:27 -07:00