Commit Graph

34096 Commits

Author SHA1 Message Date
Jeff Sharkey
2079a38036 Follow API removals.
Test: builds, boots
Bug: 31241513
Change-Id: I64c688cb377981d2a8f2a30ddb79e3b72f2e7254
2017-02-24 12:03:09 -07:00
TreeHugger Robot
b82a41f43c Merge "Change app detail header title to multi-line." 2017-02-24 18:50:59 +00:00
fionaxu
181138d2d1 move ACTION_CARRIER_SETUP intent to public api
As per CDD: The "android.*" namespace for intent constants is reserved
for public
Android API in AOSP. (Whether public to the full SDK, @SystemApi or
defined in AOSP support libraries.)
ACTION_CARRIER_SETUP intent is generally useful for carrier privileged
apps which is unbundled carrier apps, thus move to public APIs 33679956

Test: Manual
Bug: 33679956
Merged-in: I85dfa99d0b20bb1b534dfe8ead3c274a5c739786
Change-Id: I84ffd5f2c8c3418689ee3d5ff5ddc3f9f7959763
2017-02-24 10:45:12 -08:00
Doris Ling
b8642c7464 Fix issue with app info summary for diasbled app.
- also check the component enable state to determine whether an app is
really enabled or not.

Change-Id: I8075ec9253b9136c58fc206e10b10f77b1efe6c2
Fix: 35673125
Test: make RunSettingsRoboTests
2017-02-24 10:36:23 -08:00
Chen Xu
be9002a29b Merge "move ACTION_CARRIER_SETUP intent to public api" 2017-02-24 18:15:47 +00:00
William Luh
4f80f221c6 Query the security feature provider on separate threads.
Bug: 35065510
Test: make RunSettingsRoboTests
Change-Id: Ib9ffc5bf9c3ace5d2a904206f834f69eccfb690d
2017-02-24 09:49:37 -08:00
TreeHugger Robot
3cac802860 Merge "Add wipe on login failure to Privacy Settings page" 2017-02-24 14:42:23 +00:00
TreeHugger Robot
c03fb82b91 Merge "Fix NPE when logging start intent." 2017-02-24 03:59:23 +00:00
Stephen Chen
2c10f078df Properly forget networks and refresh page in SavedAcessPointsWifiSettings.
The dialog access point rebuilt after fragment is destroyed (i.e.
orientation change) did not properly save selected Preference, and
caused NPE. Changed onForget to refresh preference list.

Bug: 35207121
Test: b/35322875 tracking bug for saved networks tests.
Change-Id: I81935c5a6e3efab4d4e3b6e7c2b150bacf06d7c1
2017-02-23 19:39:09 -08:00
TreeHugger Robot
80f9e536d5 Merge "Change static defined color inside drawable" 2017-02-24 03:31:05 +00:00
Fan Zhang
a8ecacb246 Fix NPE when logging start intent.
Change-Id: I3a19131b879b4d52644bfb43292434917d30b423
Fix: 34774945
Test: make RunSettingsRoboTests
2017-02-23 18:20:26 -08:00
Hyunyoung Song
e2c31ffc2b Change static defined color inside drawable
Test: manual build and installed on bullhead
-theme based color attribute may not load from correct context inside drawables.

b/35681210

Change-Id: I8869963dee76d6744c619a25f01270e2a2f5d77c
2017-02-23 17:37:19 -08:00
Fan Zhang
69e95c6e75 DeviceInfo: Wrap prefereces in PreferenceController
Bug: 34774945
Test: make RunSettingsRoboTests
Change-Id: I8bf56b436064684f4d2010e6899548249af69fc3
2017-02-23 17:30:34 -08:00
Andre Eisenbach
7e0df1e48c Add key to NFC search index option
Bug: 35657617
Test: manual
Change-Id: If9350272f7e48b061dea2f0da75c3c5bcd0ee9ac
2017-02-23 22:54:06 +00:00
Doris Ling
afc08b4458 Update summary text for Emergency info
- changed text to Info & contacts for <user>

Change-Id: I731f6f038baa3d4dc0dfd9d83bade44185b096b7
Fix: 34976320
Test: Visual
2017-02-23 14:23:53 -08:00
Marie Janssen
37e7c0eb4c Merge "Bluetooth: service for pairing notification" am: 7dfc705ad9 am: 7b9f96983d
am: dd0c9e6265

Change-Id: Ifb9bc78d4e9569248c5ed97facad33b6aa1170c4
2017-02-23 22:01:15 +00:00
Marie Janssen
dd0c9e6265 Merge "Bluetooth: service for pairing notification" am: 7dfc705ad9
am: 7b9f96983d

Change-Id: I0392be2a4016dd8df5cb5f682a858178a3a2dd37
2017-02-23 21:56:41 +00:00
Marie Janssen
7b9f96983d Merge "Bluetooth: service for pairing notification"
am: 7dfc705ad9

Change-Id: Ib48d174e99ac1debd9cf578c222bdcfd5fc10ea1
2017-02-23 21:52:24 +00:00
Marie Janssen
7dfc705ad9 Merge "Bluetooth: service for pairing notification" 2017-02-23 21:41:05 +00:00
TreeHugger Robot
d86a16f481 Merge "Add logging whenever preference leads to intent." 2017-02-23 21:28:56 +00:00
Andre Eisenbach
8c3e46e628 Merge "Do not index NFC for search if NFC is not present" 2017-02-23 21:00:54 +00:00
Andre Eisenbach
4d03c5b489 Do not index NFC for search if NFC is not present
Bug: 35657617
Test: manual
Change-Id: I320b46d4d384611725d2dea628cf42180b8018ac
2017-02-23 12:45:57 -08:00
TreeHugger Robot
ab987168dc Merge "Update metrics constant for Encryption & credentials." 2017-02-23 20:41:44 +00:00
Doris Ling
b82ab6fa8c Change app detail header title to multi-line.
- allow multi line in app detail header title so that title text will
not be cut off
- fix layout so that the app links buttons and the title text won't
overlap

Change-Id: I9d35a20bc6630f89182023ba097781870184d122
Fix: 35675169
Test: Visual
2017-02-23 12:10:34 -08:00
Fan Zhang
ee45943177 Add logging whenever preference leads to intent.
Bug: 34774945
Test: make RunSettignsRoboTests
Change-Id: I694e5a0a2b614c695193c9c525991a1558e0a81a
2017-02-23 11:55:50 -08:00
TreeHugger Robot
4bc851b520 Merge "Convert DeviceInfoSettings into a dashboard fragment." 2017-02-23 19:16:22 +00:00
TreeHugger Robot
d41ce87072 Merge "Draw currently connected network in Picker." 2017-02-23 18:59:34 +00:00
Doris Ling
4785c00b2c Update metrics constant for Encryption & credentials.
Use the new metrics constant for the sub-page instead of the original
"security" metrics.

Change-Id: I0bdceae3d2e299e94791021c0d0aff2c9019fdd0
Fix: 35630998
Test: make RunSettingsRoboTests
2017-02-23 10:57:19 -08:00
TreeHugger Robot
a563f1b57b Merge "First pass at removing duplicate results" 2017-02-23 18:57:13 +00:00
Daniel Nishi
63558780a5 Merge "Add support for user profiles to the Storage Settings." 2017-02-23 18:39:35 +00:00
Fan Zhang
c62e2f033d Convert DeviceInfoSettings into a dashboard fragment.
This is needed to use logging from DashboardFragemnt.
This page is now a mixture of PrefernceController and non-controller
preferences.

Also permanently removed system update preference from xml to simplify
migration

Todo: convert the rest of preference into controller.

Bug: 34774945
Test: make RunSettingsRoboTests
Change-Id: Ie5130ea7377db2ccf2236cdf48e5cc26d1347d7a
2017-02-23 09:42:57 -08:00
Daniel Nishi
ee2a238e1d Merge "Use the upstreamed StorageStatsSource wrapper." 2017-02-23 17:35:29 +00:00
TreeHugger Robot
97f1c76076 Merge "Personal sounds override work sounds, not replace" 2017-02-23 04:21:45 +00:00
Sundeep Ghuman
0b61e3028c Draw currently connected network in Picker.
Make sure to call refresh when adding the Access Point Preference to the
WifiPicker's Connected Access Point Category. This will case the icon
and the title to be drawn.

Bug: 35388267
Test: None. Too difficult without robolectric testing which requires
refactor.

Change-Id: I7949733f8ca7f904327872df54f6963c723bc704
2017-02-22 19:25:38 -08:00
TreeHugger Robot
82c108ab32 Merge "Remove refresh menu icon in battery settings" 2017-02-23 02:37:51 +00:00
TreeHugger Robot
7b8c9b92f1 Merge "Don't show afw default app pref if there is no candidate." 2017-02-23 02:17:31 +00:00
Maurice Lam
0c3fe0eaff Merge "Update GLIF button styles" 2017-02-23 02:01:44 +00:00
Daniel Nishi
e3ac0cd6db Use the upstreamed StorageStatsSource wrapper.
This was upstreamed into SettingsLib when similar wrappers
started showing up in other projects. Settings, however, was
using the non-upstreamed version.

Change-Id: Iffadb75655165d3b64a25fd7b21e5b9765cb40be
Fixes: 35680800
Test: Settings Robotests still pass despite the data swap out.
2017-02-22 17:49:41 -08:00
Daniel Nishi
9f60f42a94 Add support for user profiles to the Storage Settings.
This adds new preferences for each profile (such as the work
profile) and defines a new view for viewing the storage
breakdown for the individual profile. The functionality closely
mimics the presentation on the main view, but without the system-wide
breakdown and without any additional users/profiles.

Bug: 34715777
Test: Settings Robotests

Change-Id: I19d449b648c6566331fd02e45c2e45f8c74ea7e7
2017-02-22 17:33:24 -08:00
Chris Tate
eb32ad8779 Merge "Send the tethering entitlement broadcast to manifest receivers" 2017-02-23 00:50:08 +00:00
Fan Zhang
c13b950b02 Don't show afw default app pref if there is no candidate.
Change-Id: I25f077662264406a8a4d819db7b4713be753a33b
Fix: 22564285
Test: make RunSettingsRoboTests
2017-02-22 15:08:22 -08:00
Bartosz Fabianowski
8903f66662 Add wipe on login failure to Privacy Settings page
This CL adds information to the Enterprise Privacy Setting page that
tells the user how many times the password can be mistyped before
the device (or the work profile) is forcefully wiped.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I4ae316802dbf5853ab4eacb0787647372d5e26c2
2017-02-22 23:49:09 +01:00
Matthew Fritze
52b6f8887b First pass at removing duplicate results
Removes the duplicate results which match Title and
Summary. Prioritizes higher ranked items and inline
results.

Bug: 33701673
Test: make RunSettingsRoboTests
Change-Id: I28d4f85b276c7bf5c7f3e1273eeec02066be097d
2017-02-22 14:47:53 -08:00
Christopher Tate
9ea3dcb994 Send the tethering entitlement broadcast to manifest receivers
Bug 35661943
Test: manual

Change-Id: I8bf9fcd7634c15b2380e83274db18eb29f993686
2017-02-22 14:09:47 -08:00
fionaxu
a207134b00 move ACTION_CARRIER_SETUP intent to public api
As per CDD: The "android.*" namespace for intent constants is reserved for public
Android API in AOSP. (Whether public to the full SDK, @SystemApi or
defined in AOSP support libraries.)
ACTION_CARRIER_SETUP intent is generally useful for carrier privileged
apps which is unbundled carrier apps, thus move to public APIs 33679956

Test: Manual
Change-Id: I85dfa99d0b20bb1b534dfe8ead3c274a5c739786
2017-02-22 13:59:53 -08:00
TreeHugger Robot
182e6ce2c7 Merge "Update string char limit" 2017-02-22 19:28:55 +00:00
Daniel Nishi
a696b17322 Merge "Add logging to help debug loader issue." 2017-02-22 19:17:41 +00:00
TreeHugger Robot
1c3ab0e22a Merge "Import translations. DO NOT MERGE" 2017-02-22 19:09:55 +00:00
Bill Yi
bb79f4aec7 Import translations. DO NOT MERGE am: 55ba636186 -s ours
am: 8d36f807bc  -s ours

Change-Id: I6c7cde0415a40ef8bdc4fcd69615098bf1697b11
2017-02-22 18:53:47 +00:00
Bill Yi
8d36f807bc Import translations. DO NOT MERGE
am: 55ba636186  -s ours

Change-Id: I9d64b082f425dbc5bd37b453e51a5e01127400a4
2017-02-22 18:51:16 +00:00