Commit Graph

15016 Commits

Author SHA1 Message Date
Philip P. Moltmann
578bc45793 Hide unused recylerview to not confuse talkback. am: 6a6db008a9 am: 2664c2331f
am: 5bc6a57729

Change-Id: I934af4a441b19f28a30ea06b74da8df0f270072e
2016-08-30 04:49:55 +00:00
The Android Automerger
94473046fb Merge commit '87e59d0' into nyc-dev-plus-aosp 2016-08-30 01:00:30 +00:00
Philip P. Moltmann
5bc6a57729 Hide unused recylerview to not confuse talkback. am: 6a6db008a9
am: 2664c2331f

Change-Id: I0072acf08ce6365c717d89db284bf1b958c27cda
2016-08-29 21:50:07 +00:00
Philip P. Moltmann
2664c2331f Hide unused recylerview to not confuse talkback.
am: 6a6db008a9

Change-Id: I09a366e14349d4e13ceef0bc9b0f1f0de2210a16
2016-08-29 21:42:19 +00:00
Jason Monk
1221326124 Fix multiple bluetooth devices bug
am: e2428aff75

Change-Id: I15a10b8260c6812dd1084420b9487497e021f11a
2016-08-29 18:26:31 +00:00
Philip P. Moltmann
6a6db008a9 Hide unused recylerview to not confuse talkback.
Fixes: 31088913
Change-Id: I1394cec881d8a1944004a69bc787e5341f8c9ddc
2016-08-29 18:03:26 +00:00
Geoffrey Pitsch
75dc84c85e Only show BootSounds preference if has_boot_sounds is true. am: fd351eaaf1 am: de67bc9d68
am: 93352a4451

Change-Id: I6fe28d8c40bd254458121f1bea3c23b567f36b18
2016-08-29 13:39:23 +00:00
Jason Monk
e2428aff75 Fix multiple bluetooth devices bug
Was bug in some code trying to handle preference animations better.
Since those animations are all disabled now, just remove everything
again and re-add it.

Change-Id: If1ce07a8f2b4144d95a95cec6ebb1b423644825a
Fixes: 29314480
(cherry picked from commit 6666f9cc37)
2016-08-29 13:26:26 +00:00
Geoffrey Pitsch
93352a4451 Only show BootSounds preference if has_boot_sounds is true. am: fd351eaaf1
am: de67bc9d68

Change-Id: I077c3fa8247092a38b1a8aa48885221ae2198b1f
2016-08-29 13:15:54 +00:00
Geoffrey Pitsch
de67bc9d68 Only show BootSounds preference if has_boot_sounds is true.
am: fd351eaaf1

Change-Id: Iac1ce93f1c9cb063162c2eab14774b720b4eb4e8
2016-08-29 13:12:23 +00:00
Geoffrey Pitsch
1ff11c5ef0 Merge "Only show BootSounds preference if has_boot_sounds is true." into nyc-mr1-dev 2016-08-29 13:06:21 +00:00
Doris Ling
d0c7de09f0 Re-enable Ambient Display double tab. am: fec320324c am: 6bc8858379
am: 5d4c701707

Change-Id: I01c2e3a4a207f0338744228171a0cee7ff6bfbab
2016-08-27 00:33:28 +00:00
Doris Ling
5d4c701707 Re-enable Ambient Display double tab. am: fec320324c
am: 6bc8858379

Change-Id: I175e52946e1c11bafcb4376572bcce31f2e21538
2016-08-27 00:10:52 +00:00
Doris Ling
6bc8858379 Re-enable Ambient Display double tab.
am: fec320324c

Change-Id: I0fb3bb11e0c6d9b10a095ea1d8cf45c62afaa8e4
2016-08-27 00:07:31 +00:00
Doris Ling
302abf2f54 Merge "Re-enable Ambient Display double tab." into nyc-mr1-dev 2016-08-27 00:04:19 +00:00
Doris Ling
f0bb63f307 Fix NullPointerException in DashboardSummary. am: 797dd7440d am: 454dc3739a
am: 45a821105f

Change-Id: I39623232f80a9de2d2199af11585eaa61bce2e08
2016-08-26 23:03:39 +00:00
Doris Ling
45a821105f Fix NullPointerException in DashboardSummary. am: 797dd7440d
am: 454dc3739a

Change-Id: Id334c7b3f36d8fcfbb4e919007d0bf5789b605fb
2016-08-26 22:26:40 +00:00
Doris Ling
454dc3739a Fix NullPointerException in DashboardSummary.
am: 797dd7440d

Change-Id: Icca9421e52c1f751023bdee5a9b6fbcdbd89e6a1
2016-08-26 22:23:31 +00:00
Doris Ling
fec320324c Re-enable Ambient Display double tab.
Restoring the changes to move Display->Ambient Display to Moves->Quick screen

This reverts commit 9b3000d8ac, except for
the removal of res/raw/gesture_ambient_move_lift.mp4

Test: Manual - Go to Settings->Display->Quick screen check and verify
the preference is restored.

Bug: 30595437
Change-Id: Ie50bcebd119714d49422b7139d0d0234f27584e2
2016-08-26 14:46:03 -07:00
Christopher Wiley
87e59d0e81 Do not use TetherUtil.setWifiTethering
This functionality is replaced by ConnectivityManager.startTethering()
and ConnectivityManager.stopTethering().

Bug: 30147602
Test: Can toggle tethering on/off via all of settings, quick settings,
      and quick quick settings.
Change-Id: I4d190185c473237982b988f898e76d4997dc401c

(cherry picked from commit 9d251279ca)
2016-08-26 13:26:45 -07:00
Doris Ling
797dd7440d Fix NullPointerException in DashboardSummary.
In onSaveInstanceState(), move saving the suggestions logging lists to
the top so that it will be saved to the bundle even when layout manager
is null.

Test: run monkey
Change-Id: I248563a255158feadeb85898a920af96a1565fa9
Fixes:31111795
2016-08-26 11:13:21 -07:00
Salvador Martinez
69fe148362 Updated Nexus imprint screen am: 2acb2257cd
am: f2a6608c8c

Change-Id: I8de98ac7c395114618efa6ca8d9c3b14db306aaf
2016-08-26 17:16:11 +00:00
Salvador Martinez
f2a6608c8c Updated Nexus imprint screen
am: 2acb2257cd

Change-Id: I2017163f0c62e92190ed12975d662b8627066548
2016-08-26 17:13:40 +00:00
Salvador Martinez
96fb5d795f Merge "Updated Nexus imprint screen" into nyc-mr1-dev 2016-08-26 17:01:12 +00:00
Rubin Xu
3231afe95b Prompt to turn on/unlock profile before showing account sync settings
Bug: 29087280
Change-Id: I39e175ab23d4f1071727fe9c0906e40da1e7aada
2016-08-26 16:35:06 +01:00
Doris Ling
5468424402 Merge "Add ObservableDialogFragment to log DialogFragments." 2016-08-25 20:31:53 +00:00
Salvador Martinez
a54c3690a4 Added guard to logging in AsyncTask am: 030eeeee6d
am: 60bd509d4e

Change-Id: Ib1d37a0c9c68c01be0d59bff5d78cd37c083689f
2016-08-25 20:02:35 +00:00
Salvador Martinez
60bd509d4e Added guard to logging in AsyncTask
am: 030eeeee6d

Change-Id: I5ad7dec889004484117a621a18e61c477c0c94d6
2016-08-25 19:59:34 +00:00
Todd Kennedy
d5824967ee Implement Web Action settings
Users can enable / disable Web Action from "Opening links" under
the apps setting.

Bug: 28140107
Change-Id: I4ed4b77953952a56316b780a54a482d0c564cbe4
Test: manual testing of the settings app
2016-08-25 12:56:37 -07:00
Salvador Martinez
2acb2257cd Updated Nexus imprint screen
The fingerprint settings screen looked ugly so an
icon was added and the styles used in the
preferences normalized so everything lines up
and is flush now.

Test: Visually Inspect
Bug: 27834731
Change-Id: I208d7fc2aecbe64d3a0b771fc73f49c9612f6efa
(cherry picked from commit 3d2d5e040a)
2016-08-25 19:55:11 +00:00
TreeHugger Robot
8da706f6ff Merge "Updated Nexus imprint screen" 2016-08-25 19:51:02 +00:00
Salvador Martinez
030eeeee6d Added guard to logging in AsyncTask
An async task was trying to get the context
in an InstrumentedFragment. This could return
null if the context disappears before the new
thread gets to that line. Logging will now
be aborted if context is null to avoid this.

Test: Manual/Monkey Stability Test
Bug: 31058928
Change-Id: Iae97d389e58a76b0f213a2749415501894ebf649
(cherry picked from commit 566b66e27c)
2016-08-25 17:45:24 +00:00
Doris Ling
6cf7d7c9b7 Add ObservableDialogFragment to log DialogFragments.
Bug: 30681529
Test: RunSettingsRoboTests

ObservableDialogFragment can be used as host of VisibilityLoggerMixin,
allowing us to log visibility change for all dialogs easily.

Change-Id: I973db929d8494d3756584ca60df3b2e87d96c757
2016-08-25 10:42:50 -07:00
Andre Lago
7b92e281a7 [Settings App] Get ringtone titles from Ringtone
Instead of using custom code to get ringtone titles, use the Ringtone
API which already returns 'None' if the Uri is null

Bug: 31084929
Change-Id: Ifff3eaa3591e90020a2ac108a5916e19fb71e0bd
2016-08-25 16:27:46 +00:00
Noah Wang
ff23df19ba Inflate necessary previews upon user interaction instead of
inflating everything on creation of the screen. This will
improve the speed of opening the screen and refreshing screen upon
commiting change.

Test: Manually tested by interacting with ViewPager and SeekBar.
Bug: 30697309
Change-Id: Ieb2fac95696b8be33fd508f3b75741529b68e946
(cherry picked from commit 5666ddfe5d)
2016-08-25 07:39:08 +00:00
Doris Ling
7b3a5e0bd2 Fix crash in ChooseLockPassworkFragment. am: f958f2e14e am: 773a2ab217
am: 6ffe36cf79

Change-Id: I6792e6ac9bd209c7e2dc8b20a5173bb01ed788bc
2016-08-25 02:18:35 +00:00
Doris Ling
6ffe36cf79 Fix crash in ChooseLockPassworkFragment. am: f958f2e14e
am: 773a2ab217

Change-Id: Iaf85188f0b3df6884a876aa120b13fead5478295
2016-08-25 02:06:58 +00:00
Doris Ling
773a2ab217 Fix crash in ChooseLockPassworkFragment.
am: f958f2e14e

Change-Id: I5df6a8989513347f6f55cc5fff9c54852c2a80ec
2016-08-25 02:00:57 +00:00
TreeHugger Robot
b6ad0f9349 Merge "Fix crash in ChooseLockPassworkFragment." into nyc-mr1-dev 2016-08-25 01:44:22 +00:00
Doris Ling
465e926542 Fix animation video render issue when Settings->Moves is resumed from
screen off.

Re-initialize the animation video if necessary when the preference is
visible to the user.

Fixes: 31023261

Test: manual -
1. Go to Settings -> Moves and verify that the animation video are
displayed correctly on load.
2. Press power button to turn screen off, then on again. Verify when
Moves settings resumes, the animation video is displayed correctly.
3. Repeat #2 above but let display time out instead of turning off
screen by power button.

Change-Id: I0ee21d23a4c402b3a8463dca3b36fce67d651993
(cherry picked from commit 008ba4ec40)
2016-08-25 01:02:49 +00:00
Fan Zhang
1bab964a5d Don't remove wifi preferences when updating AP to avoid GC. am: 3f0e1344d3 am: bc6e2c49f0
am: d96bc5b5a6

Change-Id: Id10ded6d97308c175194ffb59afdd89e924ed1c8
2016-08-25 00:51:34 +00:00
Salvador Martinez
3d2d5e040a Updated Nexus imprint screen
The fingerprint settings screen looked ugly so an
icon was added and the styles used in the
preferences normalized so everything lines up
and is flush now.

Test: Visually Inspect
Bug: 27834731
Change-Id: I208d7fc2aecbe64d3a0b771fc73f49c9612f6efa
2016-08-24 17:51:14 -07:00
Fan Zhang
1dda6f6430 Don't remove wifi preferences when updating AP to avoid GC.
am: 9d031f2fbc

Change-Id: I3b589d86fc6ecd1a6caf0db9f3b9f7674dbe046a
2016-08-25 00:44:53 +00:00
Fan Zhang
1330f130d6 Don't remove wifi preferences when updating AP to avoid GC.
am: 9d031f2fbc

Change-Id: I0a4c7204dcb79880aee5db620b9642b8a1314757
2016-08-25 00:44:53 +00:00
TreeHugger Robot
e96d65deea Merge "Added guard to logging in AsyncTask" 2016-08-25 00:36:32 +00:00
Fan Zhang
d96bc5b5a6 Don't remove wifi preferences when updating AP to avoid GC. am: 3f0e1344d3
am: bc6e2c49f0

Change-Id: Id21a0340fd29bee4ee5bdf721d3ec7b44be8a961
2016-08-25 00:30:17 +00:00
Fan Zhang
bc6e2c49f0 Don't remove wifi preferences when updating AP to avoid GC.
am: 3f0e1344d3

Change-Id: I3062dbcb338d5068afbd8318e23a778659641744
2016-08-25 00:20:20 +00:00
Doris Ling
f958f2e14e Fix crash in ChooseLockPassworkFragment.
Check for null activity when the handler receives messages to ensure
that the fragment is still attached to the activity.

Fixes: 31034901

Test: Manual - Manually try to update password, verify it works. Run
monkey test on settings package and verify no crash seen.

Change-Id: I9753729ee64458fa1bc25d78abc946d2563a5067
2016-08-24 17:17:52 -07:00
TreeHugger Robot
06609bec29 Merge "Don't remove wifi preferences when updating AP to avoid GC." into nyc-mr1-dev 2016-08-25 00:09:49 +00:00
Fan Zhang
9d031f2fbc Don't remove wifi preferences when updating AP to avoid GC.
Bug: 30870531

Removing wifi preferences every time will force update create a new set
of preferences, which leads to higher chance of GC.

Change-Id: Ifea2f63a3b54fa0d5861fb34a348d81e99bcab68
2016-08-24 22:49:13 +00:00