1594 Commits

Author SHA1 Message Date
Jason Monk
e093068eb1 Merge "Fix the status icon colors in QS" into oc-dev
am: d472349229

Change-Id: I052e36141f36ed48ae9b60d210efd9be7bd4cc2b
2017-05-13 13:16:50 +00:00
Jason Monk
d472349229 Merge "Fix the status icon colors in QS" into oc-dev 2017-05-13 13:10:58 +00:00
Bill Yi
237a7255d9 Import translations. DO NOT MERGE
Change-Id: Ideae955ce1ddea3d17038235c4ed55127d7b7541
Auto-generated-cl: translation import
2017-05-12 16:23:59 -07:00
Suprabh Shukla
b558f00436 Adding AOSP copyrights header
am: af76b13403

Change-Id: I8bb58665d676a2601ccd3f3f0ccaf84825e71962
2017-05-12 22:51:31 +00:00
Suprabh Shukla
af76b13403 Adding AOSP copyrights header
Test: N/A

Change-Id: Iabec646a1f8087480f899c5b4996122a9f4bd13a
2017-05-12 15:34:04 -07:00
Jason Monk
9a376bcd45 Fix the status icon colors in QS
Requires lots of theming magic

Test: visual
Change-Id: I1cd28b570f30989b496065c0e06a5aca461deb41
Fixes: 37619734
2017-05-12 16:16:39 -04:00
Phil Weaver
95740552e1 Merge "Removed obsolete a11y support for ClickableSpan" into oc-dev
am: f970743e15

Change-Id: I75df9d3ab5abd23fa7585575786bcc0b88101bf5
2017-05-11 17:59:07 +00:00
Phil Weaver
f970743e15 Merge "Removed obsolete a11y support for ClickableSpan" into oc-dev 2017-05-11 17:12:46 +00:00
Sundeep Ghuman
d9b31bf8b1 Merge "Change Wifi Picker icons to colorControlNormal." into oc-dev
am: 8680e8fc78

Change-Id: I6d315a98637b188615c81d558fd8d910d3fb6762
2017-05-11 04:02:16 +00:00
TreeHugger Robot
8680e8fc78 Merge "Change Wifi Picker icons to colorControlNormal." into oc-dev 2017-05-11 02:19:05 +00:00
Phil Weaver
bbb6063a53 Removed obsolete a11y support for ClickableSpan
Since we now support ClickableSpan accessibility natively,
we no longer need elaborate workaround for them. The helper
had its own issues, since it meant that some TextViews were
presented completely differently to accessibility than
others (thus the bug that led me here.)

Bug: 37363351
Test: Verified that Select to Speak can now highlight the
footer text in Settings properly. There is already a CTS
test for the ClickableSpan support.

Change-Id: I5dd4fb745c2c994099ca6c3332beff9a58227359
2017-05-10 15:59:51 -07:00
Jason Monk
04a1e6325a Merge "Fix battery icon tint in QS during battery saver" into oc-dev
am: 0b9e1e7f22

Change-Id: Ib5608f431e8586eb3c79151bade78c9f3656ad51
2017-05-10 22:39:15 +00:00
Sundeep Ghuman
6962c0cbb5 Change Wifi Picker icons to colorControlNormal.
Change-Id: I63e7e3399931790f85b62857983932b32f2e1831
Bugs: b/38001656
Test: Visual inspection of color change (open wifi settings).
2017-05-10 13:01:18 -07:00
Jason Monk
bb769059b0 Fix battery icon tint in QS during battery saver
Test: visual
Change-Id: Id844604bfe0de141563781678980da774cc87ebc
Fixes: 37433416
2017-05-10 11:23:28 -04:00
TreeHugger Robot
582a84640e Merge "Import translations. DO NOT MERGE" into oc-dev 2017-05-10 01:44:30 +00:00
Bill Yi
f609d9c6e2 Import translations. DO NOT MERGE
Change-Id: I7ca58117acda5eeef3583667d7ad5835dc601ab3
Auto-generated-cl: translation import
2017-05-09 03:08:54 -07:00
Fan Zhang
0a7dc82eb4 Merge "Adjust icon width to match the width with framework" into oc-dev
am: 7acd87d8d0

Change-Id: I17195379a917347d10a2aa11e1788ea920cde61d
2017-05-08 23:09:44 +00:00
TreeHugger Robot
7acd87d8d0 Merge "Adjust icon width to match the width with framework" into oc-dev 2017-05-08 22:59:05 +00:00
Jeff Sharkey
da61aba219 Merge "No quota-level details for public volumes." into oc-dev
am: 4566cb5756

Change-Id: Ib778a428d4f43b976b13ab21aee021bb9beb7d79
2017-05-07 17:45:36 +00:00
Jeff Sharkey
4566cb5756 Merge "No quota-level details for public volumes." into oc-dev 2017-05-07 17:38:20 +00:00
Suprabh Shukla
f7617cd1ea Merge "Adding SecureTouchListener to drop suspicious touches" into oc-dev
am: 7c95e968ad

Change-Id: I51173313438190befa4ad1905ae90d828faab358
2017-05-05 21:47:14 +00:00
Jeff Sharkey
829bfe8c57 No quota-level details for public volumes.
Fall back to whatever statvfs() tells us.

Test: builds, boots
Bug: 37573475
Change-Id: I713564292d41797e80860d6aa739266d9799af7f
2017-05-05 15:37:29 -06:00
Suprabh Shukla
7c95e968ad Merge "Adding SecureTouchListener to drop suspicious touches" into oc-dev 2017-05-05 21:32:18 +00:00
Fan Zhang
8a01abf592 Adjust icon width to match the width with framework
Fix: 38011653
Test: visual
Change-Id: I27ce9f12b3cd01506910e42268d71cc78695ef35
2017-05-05 17:00:54 +00:00
TreeHugger Robot
8d95e04111 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-05-05 11:54:08 +00:00
Bill Yi
5336f6ec2f Import translations. DO NOT MERGE
Change-Id: I9b5ebe94df837619db36f6d104daff7637c449b5
Auto-generated-cl: translation import
2017-05-04 22:14:51 -07:00
Sundeep Ghuman
375a306fe3 Merge "Fix an NPE that can result from a race condition." into oc-dev
am: d8aa2acea3

Change-Id: I41bfd05eb74502a034cf1289032ce6a8c50bcbd5
2017-05-04 19:25:38 +00:00
Sundeep Ghuman
5c5cd7aa2b Fix an NPE that can result from a race condition.
NetworkInfo and WifiInfo are set via broadcast receiver so while in a
true stable state network info should not be null if wifi info is, this
can occur in rare instances due to a race condition. It is convention in
AccessPoint.java to always null check network info.

Bug: b/37951301
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java

Change-Id: Ia1b357c84b961a555ec24a5b930ade35ddf8dbba
2017-05-03 22:40:16 -07:00
Suprabh Shukla
395b58d6ab Adding SecureTouchListener to drop suspicious touches
Added a touch listener that will drop touches if the window receiving the
touch was partly or wholly obscured by another window sitting on top of
it.

Test: N/A

Bug: 35056974
Change-Id: I4a7273bd12ae10a65c39e6b4f1c6641266dd21e4
2017-05-03 17:54:47 -07:00
Sundeep Ghuman
7e51b8b671 Merge "Fix Array Index out of bounds error." into oc-dev
am: 5c05814af4

Change-Id: I11b957781eaab2702b3c7f1466c89ce60a5c30c8
2017-05-03 21:30:17 +00:00
TreeHugger Robot
5c05814af4 Merge "Fix Array Index out of bounds error." into oc-dev 2017-05-03 21:22:49 +00:00
Sundeep Ghuman
3b2ac89b9a Merge "Updating network info state should return true." into oc-dev
am: 703a233b03

Change-Id: Ib8a36b3880b65ea333a93dc4bd3ab5bca66272e7
2017-05-03 04:30:05 +00:00
Sundeep Ghuman
96a5357908 Updating network info state should return true.
Update AccessPoint.java so that network state changes return updated
equals true, so that corresponding UI elements will updated
appropriately.

Bug: b/37289220
Test: runtest --path
packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java

Change-Id: I1bc74997227b46468ef11efbf183a95ec0d2b15f
2017-05-02 17:49:29 -07:00
Sundeep Ghuman
221327dc05 Fix Array Index out of bounds error.
This error was caused by concurrent modification of the
mPendingNotifications SparseIntArray which fell outside the
synchronization block in copyAndNotifyListeners. Now the entire
copyAndNotifyListeners is synchronized on mLock.

Bug: b/37775443
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java

Change-Id: I19e8a4ecea5cd45122f4ca89f8ed959e500c951a
2017-05-02 16:35:23 -07:00
Daniel Nishi
b9fcccb0c0 Merge "Don't crash during app uninstall." into oc-dev
am: 661b6badef

Change-Id: Iceab4bdd88e348c4bd4019ee1fb6c7c8b3f5baf1
2017-05-02 17:09:51 +00:00
Daniel Nishi
661b6badef Merge "Don't crash during app uninstall." into oc-dev 2017-05-02 17:03:56 +00:00
TreeHugger Robot
71ffd8bc87 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-05-02 15:47:36 +00:00
The Android Open Source Project
be16098ad5 Import translations. DO NOT MERGE
Change-Id: Ia533546d474a51fa42205fa4ebf7ec122d17fa38
Auto-generated-cl: translation import
2017-05-02 00:05:25 -07:00
Casey Burkhardt
7a0de65bee Merge "Refactor accessibility button support detection" into oc-dev
am: 337e2aae53

Change-Id: I4f96a5ae3e847b2439d017b34038a4b7b07965fa
2017-05-02 04:11:01 +00:00
Casey Burkhardt
337e2aae53 Merge "Refactor accessibility button support detection" into oc-dev 2017-05-02 04:05:30 +00:00
Casey Burkhardt
ad217d1f86 Refactor accessibility button support detection
- Moves logic to detect devices capable of supporting the
  accessibility button into AccessibilityManager from
  SettingsLib to avoid issues with resource shifting in the
  SUW binary

Bug: 37650567
Test: Existing Robolectric / Manual
Merged-In: Ibb2aaa3c2f79570df768cfa796fa890988ef82cc
Change-Id: I83bbecdf7836ae0de32ce7d39155ac0c111a8f15
2017-05-01 15:53:17 -07:00
Daniel Nishi
b03a1424dc Merge "Make PrivateStorageInfo have a public constructor." into oc-dev
am: 71a17a4307

Change-Id: Ia0f34432603380ae9c8c135a0c5439db86ed6bb6
2017-05-01 21:46:33 +00:00
Daniel Nishi
71a17a4307 Merge "Make PrivateStorageInfo have a public constructor." into oc-dev 2017-05-01 21:40:22 +00:00
Sundeep Ghuman
ce9316e42e Merge "Don't show unset values in AccessPoint toString." into oc-dev
am: 606c05396d

Change-Id: Ie031883b24a4b8342253efaa34e1ec8ecdaa2a04
2017-04-30 04:59:19 +00:00
TreeHugger Robot
606c05396d Merge "Don't show unset values in AccessPoint toString." into oc-dev 2017-04-30 04:53:17 +00:00
Bill Yi
de298603d2 Import translations. DO NOT MERGE
Change-Id: Iad522d6efa2a0c3a0cc5d88ac4e61e8515ef2bce
Auto-generated-cl: translation import
2017-04-28 18:58:07 -07:00
Sundeep Ghuman
8920e9c36d Don't show unset values in AccessPoint toString.
Bug: b/36926765
Test: Visual inspection with Enable Wi-Fi Verbose Logging enabled
Change-Id: I381e96d48edf489aef32e04ca066e884285173e8
2017-04-27 16:16:41 -07:00
Daniel Nishi
f59b830fdf Don't crash during app uninstall.
ApplicationsState was not handling the case where the storage query
fails and returns a null result. This meant that it NPE when this
happened.

Fixes: 37726237
Test: Manual (see b/34768986)

Change-Id: I3740ac7b1192e1ea3cdad85c61dd3dee2c2251cc
2017-04-27 13:54:36 -07:00
Pavel Grafov
12c4d81aaf Merge "Support profile global restrictions in disclosure messages." into oc-dev
am: b258552a1c

Change-Id: Ie8d9e4d8f43274aa1bba1df66a9f0fda34d0e78b
2017-04-27 16:33:49 +00:00
Pavel Grafov
749c7a64a7 Support profile global restrictions in disclosure messages.
Starting from Android O ENSURE_VERIFY_APPS can be enforced globally
by profile owners. To take this into account, this CL uses newer
UserManager API for getting a list of enforcing admins with their
userIds instead of just a mask.

Bug: 37158436
Test: manually
Change-Id: Id18b365668373b5aa28d59fcc4d662a2f5d133d8
2017-04-27 11:52:08 +01:00