Commit Graph

39689 Commits

Author SHA1 Message Date
Eric Schwarzenbach
06917056fd Merge "Add modify string to resources." into oc-mr1-dev
am: 9e47d2c233

Change-Id: I439eea568712e0818613ad8b88b2b9770ae72a68
2017-08-09 01:04:33 +00:00
Maurice Lam
aed6b7bd76 Merge "Show help string when onEnrollmentHelp() is called" am: 5a926705ef am: dbfde54fb6 am: d415cbfc0d am: 6b5f99bcbd
am: b2aa7e7da0

Change-Id: Ia51c480090bc796e8844ac6af04c0b994751603b
2017-08-09 00:47:01 +00:00
TreeHugger Robot
9e47d2c233 Merge "Add modify string to resources." into oc-mr1-dev 2017-08-09 00:46:57 +00:00
Fan Zhang
816efc02fc Refresh preferences when background data switch is toggled
Change-Id: Id58f565645fc3c668b516dbd05049559afa9535e
Fixes: 64466310
Test: robotests
2017-08-08 17:38:28 -07:00
Daniel Nishi
f89327aa88 Expose the notification-swipe controls.
Bug: 62022517
Test: Settings robotest
Change-Id: I41368a9e03f38052bb47d04f6b98d56808d07e48
2017-08-08 17:30:38 -07:00
Andrew Sapperstein
92592b4c25 Merge "Refactoring for AmbientAlwaysOnPreferenceController" into oc-dr1-dev
am: 64b15c4a7b

Change-Id: I3d17c1389486b7a4d1fe901a69ffa37f1cf16b78
2017-08-09 00:20:03 +00:00
Maurice Lam
b2aa7e7da0 Merge "Show help string when onEnrollmentHelp() is called" am: 5a926705ef am: dbfde54fb6 am: d415cbfc0d
am: 6b5f99bcbd

Change-Id: Ibf17029cec44e8767bf843358f497efebc9cec7d
2017-08-09 00:02:12 +00:00
TreeHugger Robot
64b15c4a7b Merge "Refactoring for AmbientAlwaysOnPreferenceController" into oc-dr1-dev 2017-08-08 23:59:50 +00:00
Maurice Lam
6b5f99bcbd Merge "Show help string when onEnrollmentHelp() is called" am: 5a926705ef am: dbfde54fb6
am: d415cbfc0d

Change-Id: Ic3a74f8ce7d4a068d4a21fe367cd232a103bf130
2017-08-08 23:26:20 +00:00
Eric Schwarzenbach
69fa528074 Fix issue where connected network sometimes doesn't update.
Ensures that the connected network Preference and WifiTracker have the
same reference so that updates to one propagate to the other.

Bug: 64124982
Test: manual
Change-Id: I1b838b1cf65da1b5aebf4f5f37f0df0c5e473dba
2017-08-08 16:08:19 -07:00
Maurice Lam
d415cbfc0d Merge "Show help string when onEnrollmentHelp() is called" am: 5a926705ef
am: dbfde54fb6

Change-Id: Ie98fa2d24ebe48e868762cf85129139974ce845f
2017-08-08 23:05:55 +00:00
Fan Zhang
623faaa00e Close cursor after getting data from DB
Fixes: 64487360
Test: manual

Change-Id: I7d8a7550dca272a62b2c664cc893e4319e628c18
2017-08-08 16:03:55 -07:00
Maurice Lam
dbfde54fb6 Merge "Show help string when onEnrollmentHelp() is called"
am: 5a926705ef

Change-Id: I5af1cac8ee4018e40005484631b6f3f3434e03b9
2017-08-08 22:56:38 +00:00
Fan Zhang
1228a6af18 Merge "Clean up logic for dismissing suggestion" into oc-mr1-dev am: fef5f6aa4a
am: b5989fc3b7

Change-Id: I189c0936ca9c96d1a686d33bc7da729f6a17d55b
2017-08-08 22:53:23 +00:00
Fan Zhang
b5989fc3b7 Merge "Clean up logic for dismissing suggestion" into oc-mr1-dev
am: fef5f6aa4a

Change-Id: I8c5ee9684f4a1fb8356aa35ab6ca26b80ada7436
2017-08-08 22:28:07 +00:00
Salvador Martinez
a98dc7ee56 Refactor tether logic for reuse am: 135619d483 am: 4c2fc34707 -s ours
am: d76eddacff  -s ours

Change-Id: I4a31f3a870c794b9e348445f419bf08e64d87194
2017-08-08 22:22:01 +00:00
Salvador Martinez
d76eddacff Refactor tether logic for reuse am: 135619d483
am: 4c2fc34707  -s ours

Change-Id: I0fc8272a026d188010ce8a613f02cc6c892828c7
2017-08-08 22:18:30 +00:00
TreeHugger Robot
fef5f6aa4a Merge "Clean up logic for dismissing suggestion" into oc-mr1-dev 2017-08-08 22:13:13 +00:00
Salvador Martinez
4c2fc34707 Refactor tether logic for reuse
am: 135619d483

Change-Id: I216dcb55a0f2423766abb4c30fc996f13afda2e4
2017-08-08 22:08:50 +00:00
Salvador Martinez
f4b6da9d09 Refactor tether logic for reuse am: 135619d483 -s ours am: cc92875825 -s ours
am: 3c7d47bf87  -s ours

Change-Id: I6a6edaa938b521d571415af72424a9684321fb8d
2017-08-08 22:07:21 +00:00
Salvador Martinez
fe7c35803e Update availability for mobile network
This CL updates the availability to behave properly when a
user other than the primary user is accessing it. This also
makes the api return no intent if they don't have permission to
access this because attempting to go to that screen will cause a
crash. Also updates tests related to this change.

Test: robotests still pass
Bug: 64092292
Change-Id: If9913d9ae08ee3e205ff324aaeeadc755ff1d23d
2017-08-08 15:04:04 -07:00
Maurice Lam
5a926705ef Merge "Show help string when onEnrollmentHelp() is called" 2017-08-08 22:02:20 +00:00
Salvador Martinez
3c7d47bf87 Refactor tether logic for reuse am: 135619d483 -s ours
am: cc92875825  -s ours

Change-Id: Ifdf63b4f14dffb0cdf4149f228e03dd7807d3562
2017-08-08 21:59:50 +00:00
Salvador Martinez
cc92875825 Refactor tether logic for reuse
am: 135619d483  -s ours

Change-Id: I5b00c372d02e86dc683c49e1142167316613f96f
2017-08-08 21:53:54 +00:00
Daniel Nishi
9a9a4a2d72 Merge "Add floats to the SecureSettings shadow." into oc-mr1-dev am: a28dc40543
am: 5abc894236

Change-Id: Id2e67c11a4a52517fe62d46fcd143cfd4248f71e
2017-08-08 21:32:19 +00:00
Eric Schwarzenbach
b82f51099a Add modify string to resources.
Bug: 36483704
Test: n/a
Change-Id: I8c68e11a7bbaff98e6384713dea69ef34bf46d01
2017-08-08 14:11:51 -07:00
Daniel Nishi
5abc894236 Merge "Add floats to the SecureSettings shadow." into oc-mr1-dev
am: a28dc40543

Change-Id: I55ba747a08ac5ab6c043a7b53961b1728e4c1a6d
2017-08-08 21:03:32 +00:00
Ruchi Kandoi
1eab553653 Avoid Race condition with accessibility for NFC toggle switch
Bug: 64429429
Test: Enable TalkBack; Toggle NFC settings
Change-Id: Iadeae0ca33c32b320c202efc2acf0be647b10078
2017-08-08 20:58:29 +00:00
Andrew Sapperstein
5be6c30012 Refactoring for AmbientAlwaysOnPreferenceController
Makes a few methods static so we can call them from other locations.

Bug: 64256644
Test: robotests
Change-Id: Ie97cda342c3143a21bd273e4d29f64f75e006059
2017-08-08 13:58:18 -07:00
Oren Blasberg
9705aad8db Update SMS mirroring icon to new style.
Test: Verified the icon looks good in Settings.

Bug: 37546615
Change-Id: I313548022fa37676bc0dfee598d45e9f09d5bfb5
2017-08-08 13:49:48 -07:00
Daniel Nishi
a28dc40543 Merge "Add floats to the SecureSettings shadow." into oc-mr1-dev 2017-08-08 20:46:50 +00:00
Oren Blasberg
3e7613546a Merge "SMS mirroring: Add placeholder summary." into oc-mr1-dev am: 101f3d2e44
am: 7f5407e6c9

Change-Id: I02d6c08efd9df3a5e6815af48136eb03c31072d6
2017-08-08 20:12:20 +00:00
Oren Blasberg
7f5407e6c9 Merge "SMS mirroring: Add placeholder summary." into oc-mr1-dev
am: 101f3d2e44

Change-Id: If2e2c15f2672bac1250783376c102b9bda6e1156
2017-08-08 20:07:55 +00:00
Alison Cichowlas
aa62c4f1c7 Merge "Add new strings for b/63109928" into oc-mr1-dev am: 4068fe7d38
am: f65c06cf37

Change-Id: I4706e56b885ce01c272d4e582c1b80ce9bfba766
2017-08-08 20:03:30 +00:00
TreeHugger Robot
101f3d2e44 Merge "SMS mirroring: Add placeholder summary." into oc-mr1-dev 2017-08-08 20:02:42 +00:00
Alison Cichowlas
f65c06cf37 Merge "Add new strings for b/63109928" into oc-mr1-dev
am: 4068fe7d38

Change-Id: I23f34a35cea64a8f599f3dca2c9a65b8b85d05b1
2017-08-08 19:50:50 +00:00
TreeHugger Robot
4068fe7d38 Merge "Add new strings for b/63109928" into oc-mr1-dev 2017-08-08 19:36:40 +00:00
Salvador Martinez
135619d483 Refactor tether logic for reuse
Some logic related to permissions needs to be used elsewhere. This
CL refactors the relevant code into a method so that it stays in
sync in both places.

Test: robotests still pass
Bug: 64092292
Change-Id: If8191698023d1da90db99b518d9f770683b5c789
Merged-In: I3b54529865e16b7e1640b0adda7f7edb9d1a41f7
2017-08-08 12:35:20 -07:00
jackqdyulei
0e117ecc28 Merge "Add uid data even though on battery stats" into oc-mr1-dev am: 189899c169
am: 51aac2af9e

Change-Id: Ifa0cea7bd7f002359924d0cb3385b867557402c6
2017-08-08 19:31:35 +00:00
jackqdyulei
51aac2af9e Merge "Add uid data even though on battery stats" into oc-mr1-dev
am: 189899c169

Change-Id: If77a54cbcb8dc972297fab9779b3947aa25cf020
2017-08-08 19:28:39 +00:00
TreeHugger Robot
189899c169 Merge "Add uid data even though on battery stats" into oc-mr1-dev 2017-08-08 19:22:50 +00:00
Salvador Martinez
9c6b2fabb5 Merge "Refactor tether logic for reuse" into oc-mr1-dev am: 705a9e7e85
am: 401156da7d

Change-Id: I5bb7958452aa24c1b75dfb63b4a5a86a3c7373cc
2017-08-08 19:06:03 +00:00
Salvador Martinez
401156da7d Merge "Refactor tether logic for reuse" into oc-mr1-dev
am: 705a9e7e85

Change-Id: If61a7e53543929257b689c9cc7326c836d6c397c
2017-08-08 19:02:08 +00:00
TreeHugger Robot
705a9e7e85 Merge "Refactor tether logic for reuse" into oc-mr1-dev 2017-08-08 18:53:39 +00:00
Daniel Nishi
3ff4b933e6 Add floats to the SecureSettings shadow.
Test: Exercised in other robotests
Change-Id: I7c99272f330d9d5fa043c155d2f818e70ac271e0
Merged-In: I0791bdddf0bc97abc21cd27613998247b11d7bb4
2017-08-08 11:37:50 -07:00
Daniel Nishi
fb83e50d99 Add floats to the SecureSettings shadow.
Test: Exercised in other robotests
Change-Id: I0791bdddf0bc97abc21cd27613998247b11d7bb4
2017-08-08 11:21:01 -07:00
Julia Reynolds
fabe766958 Use colorful +s
Instead of grey

Change-Id: Iac0454110d3af9045a83098e67957130987ad718
Fixes: 63820885
Test: manual
2017-08-08 14:00:09 -04:00
Fan Zhang
6d479d99a9 Misc fixes for settings
- Set device credential's Window flag to be SECURE. This prevents
  showing any pattern/pin in recent list.
- Disable tap sound on entity header

Fixes: 64339515
Fixes: 64413598
Test: visual
Test: runtest --path \
      tests/app/src/com/android/settings/password/ChooseLockGenericTest.java
2017-08-08 10:34:03 -07:00
Winston Man
c603a99ba4 Move work notification settings back to bottom
- Settings order now matches
- screenshot with work profile: https://hsv.googleplex.com/5742195667632128
- screenshot without work profile: https://hsv.googleplex.com/5683485175971840

Bug: 64436619
Test: RunSettingsRoboTests; manual

Merged-In: Ia665ee5295981e11193e69585232874d1dddba23

Change-Id: Ia665ee5295981e11193e69585232874d1dddba23
2017-08-08 16:17:12 +00:00
Alison Cichowlas
3f9d0f1614 Add new strings for b/63109928
Test: Strings only; manual
Bug: 63109928
Change-Id: Ib2d491aff81faa866300e6b4f3a0d7c0e1417b98
2017-08-08 11:05:23 -04:00