Commit Graph

33863 Commits

Author SHA1 Message Date
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
Lei Yu
e923b4795b Merge "Add battery stats perference in battery settings page." 2017-02-22 18:44:39 +00:00
Antony Sargent
4cf650b6b7 Merge "Add "Instant apps" filter to app listing" 2017-02-22 18:40:44 +00:00
Fan Zhang
686f0a83d7 Update string char limit
Change-Id: I79bd24ba548cd2b9f37d11f30af3076cdc394412
Fix: 35449637
Test: builds
2017-02-22 09:30:43 -08:00
Bill Yi
55ba636186 Import translations. DO NOT MERGE
Change-Id: Ied9c4535fc4e6739099864f17584108b1d938c50
Auto-generated-cl: translation import
2017-02-22 08:50:31 -08:00
Bill Yi
7fff670437 Import translations. DO NOT MERGE
Change-Id: Id90042e2ffb82fb6d438d1999f5c30f6ea2224be
Auto-generated-cl: translation import
2017-02-22 08:45:15 -08:00
Anton Philippov
c1a7723c17 Merge "Remove intent-filter from PrivacySettingsActivity" 2017-02-22 11:17:03 +00:00
jackqdyulei
3934722439 Add battery stats perference in battery settings page.
Add a preferenceGroup at the bottom of the page, which contains
Screen and Cell usage data.

Bug: 35305983
Test: RunSettingsRoboTests & Screenshot
Change-Id: Ida6e92ddbd7155ec974a2f04c6d6d02ab9dab210
2017-02-21 20:47:40 -08:00
TreeHugger Robot
755a9dea23 Merge "Add logging to trace when force stop button is clicked" 2017-02-22 03:59:34 +00:00
TreeHugger Robot
a5b911f9ce Merge "Test for AsssitSettingObserver" 2017-02-22 03:54:56 +00:00
TreeHugger Robot
4e1477b60e Merge "Update Security & screen lock preference" 2017-02-22 03:08:12 +00:00
jackqdyulei
9d5412f9ea Remove refresh menu icon in battery settings
Bug: 35645326
Test: RunSettingsRoboTests
Change-Id: I87f7da93cfb7a5ca46718de4acd33422fe42b9bf
2017-02-21 19:02:33 -08:00
Maurice Lam
bdfc27f9ac Update GLIF button styles
- The negative/secondary button styles now have the correct alpha
  for the touch highlight. (24%)
- The negative/secondary buttons now align correctly based on their
  labels text, instead of based on the bounds of the touch highlight.
- Fixed issues with button shadows being cropped.

Test: Manual inspection. Existing tests pass.
Change-Id: I261e504d661d7a53eda3561a26942ea11ba0d429
2017-02-21 18:24:39 -08:00
Fan Zhang
5ee552193b Test for AsssitSettingObserver
Change-Id: I4896a097cd9d898829be04098b6e31766af39c7a
Fix: 35641857
Test: make RunSettingRoboTests
2017-02-21 18:03:26 -08:00
TreeHugger Robot
d0db18b3c9 Merge "Remove a11y speak passwords settings." 2017-02-22 01:57:45 +00:00
Fan Zhang
8b1bd6712f Merge "Fix crash when cold start settings." 2017-02-22 01:55:52 +00:00
Fan Zhang
20c5812a65 Add logging to trace when force stop button is clicked
Bug: 35633637
Test: manual
Change-Id: If7bcf7a3265d1eb75b7f58337f4757dfcbb0ba2f
2017-02-21 17:49:12 -08:00
TreeHugger Robot
c45c49563f Merge "Add toggle in menu to show/hide hidden apps" 2017-02-22 01:46:53 +00:00
Ajay Nadathur
4b4c812a02 Add code coverage support for robolectric tests
- To run robolectric tests with code coverage, run:
    make RunSettingsRoboTests-jacoco -j44
- Generated reports are placed under
   $OUT/obj/FAKE/RunSettingsRoboTests_intermediates/coverage

bug:32617403
Test: Ran manually, verified that reports are generated.

Change-Id: Ie51ab86c5fbaa9297d717167fda04a555dadbfe8
2017-02-21 17:45:41 -08:00
Hyunyoung Song
e011c6a402 Merge "Fix transaction too large exception on creating shortcut b/35515740 Test: manual build/push and reboot. Create shortcut from widget tray." 2017-02-22 01:44:47 +00:00
Fan Zhang
c108b97f17 Fix crash when cold start settings.
Change-Id: I992743be7820e932116121e7ee2d57ef94e87701
Fix: 35641857
Test: RunSettingsRoboTests
2017-02-21 17:17:46 -08:00
TreeHugger Robot
a22842a5bf Merge "Update wifi calling summary text during onResume" 2017-02-22 00:30:16 +00:00
Daniel Nishi
b826edb2af Add logging to help debug loader issue.
Sometimes, it looks like the loader is not returning the result
to populate the storage settings view. The current bug reports
have no smoking guns. By adding this debug logging to the build,
the bug reports should hopefully help lead us to where the bug
is originating.

Bug: 35389719
Test: None
Change-Id: Ifa3f69f1fb4669aa72e6ef9c7ccc9d74b9e0fa71
2017-02-21 16:26:10 -08:00
Anton Philippov
b7948cedc2 Remove intent-filter from PrivacySettingsActivity
BackupSettingsActivity should be the only activity listenting to the
BACKUP_AND_RESET_SETTINGS intent. It then decides which acitivity to
launch.

Bug: 35237721
Test: make SettingsUnitTests
Change-Id: I2021ec57e08c305771dd040c52725065597fd042
2017-02-22 00:25:56 +00:00
jackqdyulei
5115265a50 Add toggle in menu to show/hide hidden apps
In the previous cl we hide unrelated apps and distribute hidden
battery usage among other apps. Now we add a toggle in menu to
show old power accounting as well.

Bug: 35366708
Test: RunSettingsRoboTests
Change-Id: I6918b7095cf84d9756ad3972ff50a62aeae1de0e
2017-02-21 16:00:20 -08:00
Daniel Nishi
3633c243ed Merge changes from topic 'secondary-users'
* changes:
  Update the loading of info for the secondary users.
  Add support for visualizing secondary users.
2017-02-21 23:20:29 +00:00
TreeHugger Robot
0113b65753 Merge "Add icons for Wi-Fi wakeup and notification settings toggles." 2017-02-21 23:04:30 +00:00
TreeHugger Robot
f8ecb13168 Merge "Deprecate AppListPreference and AppListPrefWithSettings" 2017-02-21 23:02:26 +00:00
Doris Ling
81610543a9 Update Security & screen lock preference
- change password category title to Privacy and move Location into it.
- remove Advanced security preference category
- remove SIM card preference category and move the SIM card lock
  preferece down.
- move Encryption and Credential settings to a separate screen.

Bug: 34976707
Test: make RunSettingsRoboTests
Change-Id: Iebaba4a8aad135fa88f163de0b60b488fd9510d0
2017-02-21 14:55:25 -08:00
Hyunyoung Song
cafabced45 Fix transaction too large exception on creating shortcut
b/35515740
Test: manual build/push and reboot. Create shortcut from widget tray.

Change-Id: I38c2af0ad5b179c1d602810f81efcdd95e114666
2017-02-21 14:50:35 -08:00
TreeHugger Robot
3135409d4e Merge "Rank results that match the prefix of the first word higher" 2017-02-21 22:46:49 +00:00
Marie Janssen
d06d83c531 Bluetooth: service for pairing notification
Use a foreground service to show the notification, separating dialog
creation from the receiver.

Test: pair request from remote device while the screen is off
Bug: 35234069
Change-Id: Ia3be3e8efdacf465e095af5a498ef5eb0fca83cd
2017-02-21 14:43:40 -08:00
Fan Zhang
010c2af1bf Update wifi calling summary text during onResume
Change-Id: Ic376e65b418a966c53eef30bea7ca55edf72ac29
Fix: 35323207
Test: make RunSettingsRoboTests
2017-02-21 14:12:57 -08:00