Commit Graph

11027 Commits

Author SHA1 Message Date
Anna Galusza
2f1c11314b Add screen for turning TalkBack on and off and remove intent to launch TB
tutorial from SUW. Also fix how Fragments are displayed (Fragment Views
were being inflated incorrectly causing bugs like the one where TB would
still see the hub elements on child screens) and  remove ripple from 
non-selectable text.
Bug: 27203716
Bug: 27218687
Bug: 27066012
Bug: 27587193

Change-Id: I4c6724b3ff6d6a7fca3d0f419a5e1c82ee1071d5
2016-03-10 18:07:17 +00:00
Sudheer Shanka
1749d518b7 Merge "Adjust restricted lock positions as per new design." into nyc-dev 2016-03-10 15:58:15 +00:00
Sudheer Shanka
115d15763d Adjust restricted lock positions as per new design.
Bug: 27263531
Change-Id: I7e38a9e3356ca43ed936de1e6f8190eba4d4773e
2016-03-10 07:54:36 -08:00
Amith Yamasani
b5545c8395 Allow system apps to be disabled
If it is a single-user device, keep earlier behavior
of disabling and offering to downgrade the system app. If there
are other users, then only disable the app.

Bug: 26694521
Change-Id: I4e62fec6bb186afa5d4c3f29f5524783494dfb06
2016-03-09 15:42:43 -08:00
Joe Onorato
f10a422b54 Add method to BatteryStats
Change-Id: Ie05a1ff4ea081bed1777882d3ec6fd84fc5ba98f
2016-03-09 15:27:29 -08:00
Makoto Onuki
e263401610 Merge "Add "Reset ShortcutManager throttling" to dev options" into nyc-dev 2016-03-09 22:13:05 +00:00
Makoto Onuki
bdcce70572 Add "Reset ShortcutManager throttling" to dev options
Bug 27325877

Change-Id: Ib11d670b38055801ce19aea9530ad69907c9bd8e
2016-03-09 14:08:54 -08:00
Philip P. Moltmann
3e4c0d8789 Correctly compose activity name of add-printer and print-settings
activity

Previously we were missing to specify the service's package name, hence
we did not have a complete component name.

Bug: 27567031
Change-Id: I88c515a0b8a9defd6329309574aaa8a8e053fddb
2016-03-09 12:42:33 -08:00
Shweta Chahar
7acf807617 Merge "Add a pitch seekbar for TTS speech output." into nyc-dev 2016-03-09 18:46:32 +00:00
shwetachahar
4ac718b7b5 Add a pitch seekbar for TTS speech output.
Bug: 27137452
Change-Id: I0992333822b4b1cd561dfa2501e47270ff4964b9
2016-03-09 18:20:19 +00:00
Abodunrinwa Toki
80c082f066 Fix work challenge background size.
Bug: 26820717
Change-Id: Icd984b7bb7517ac01a3fa5ca26d060ea33b58a99
2016-03-09 16:48:43 +00:00
Sudheer Shanka
64d424a1c2 Merge "Update the timeout list dialog in display and security settings." into nyc-dev 2016-03-09 16:24:55 +00:00
Sudheer Shanka
900adce6ca Update the timeout list dialog in display and security settings.
Currently, we add padlocks to all the timeout options which are
more than the timeout enforced by the admin. Instead of adding
the padlocks to the options, updated the timeout list dialog to
have a disabled by admin message as dialog footer.

Bug: 27564363
Change-Id: I66ce35e92c044ce1864d14e1fc0e83881f8f4ab0
2016-03-09 16:19:37 +00:00
Jason Monk
6dca89f741 Merge "Make sure mWifiManager gets initialized" into nyc-dev 2016-03-09 16:13:49 +00:00
Jason Monk
245bbaf205 Make sure mWifiManager gets initialized
To avoid crashing.

Bug: 27561590
Change-Id: I417b8382cb3d1b6c22fa33e05e9b4bf35e048e7e
2016-03-09 10:49:33 -05:00
Jason Monk
9dc9a0ebb3 Update data usage graph to use new graph ui
Bug: 27278313
Change-Id: Ia9e8598dcb970540877f7dac7061cfc55ed99d4d
2016-03-09 10:39:57 -05:00
Jason Monk
222be28d13 Merge "Move temporary metrics constants to proto" into nyc-dev 2016-03-09 14:03:34 +00:00
Mihai Niță
70fd5d0ecc Merge "Hide "Remove" menu & the drag handle when there's just one locale" into nyc-dev 2016-03-09 01:15:21 +00:00
Mihai Nita
7751358ab6 Hide "Remove" menu & the drag handle when there's just one locale
When there's just one locale, showing the "Remove" menu and the
drag handle is confusing to the user since nothing can happen if
they try to use them: the drag simply won't happen, and if they
go through the delete process, we give them an error.

Bug: 26730336
Change-Id: Ie219dd9b3d653272b325d7af01aba205a58cd472
2016-03-08 14:47:46 -08:00
Julia Reynolds
d3c07da6e9 Merge "Don't reference the notification led if it doesn't exist." into nyc-dev 2016-03-08 21:26:39 +00:00
Julia Reynolds
184da33bba Don't reference the notification led if it doesn't exist.
Bug: 27318491
Change-Id: Ic43f1e8c0c7cf376b19278ab6c2661abc1052ddb
2016-03-08 16:23:03 -05:00
Julia Reynolds
5354f8a2d0 Merge "Notification summary updates." into nyc-dev 2016-03-08 21:08:55 +00:00
Julia Reynolds
3e912e7ea5 Notification summary updates.
Change-Id: I6b824acf27743637ca661b38b51c639ecf099208
2016-03-08 16:08:12 -05:00
Anna Galusza
0cb68d4dff Merge "Make sure Action Bar title does not revert to original title (Vision Settings) after Display Size or Text Size is changed. Bug: 27326637" into nyc-dev 2016-03-08 20:37:34 +00:00
Jason Monk
3e19fc5600 Move temporary metrics constants to proto
Change-Id: I8fb3ac22df7bdc52039dd640f7696ebd32281f0b
2016-03-08 14:18:30 -05:00
Jason Monk
9425839379 Fix SummaryLoader lifecycle second and for all
Mostly hypothetical fix for weird circumstance where listening
lifecycle gets broken.  To fix this, track the current state
of listening in the SummaryLoader and force it into the non-listening
state when released.

Bug: 26027137
Bug: 26731143
Change-Id: I7299749230924eafa3e6e7d5b0de6e48ff014a38
2016-03-08 13:14:27 -05:00
Ruben Brunk
31a3b770c7 Merge "Add settings VR listener service." into nyc-dev 2016-03-08 00:14:56 +00:00
Philip P. Moltmann
7833d183e7 Deal with the case that no print services are installed.
Bug: 27530312
Change-Id: Idd709e66d72efcca4928b471f138f8be66e7ab00
2016-03-07 15:32:28 -08:00
Rebecca Silberstein
da9957780b Merge "Save WifiAp config changes when hotspot is enabled" into nyc-dev 2016-03-07 23:29:39 +00:00
Fyodor Kupolov
f38d2b6d4c Merge "First time populate user list in onCreate" into nyc-dev 2016-03-07 21:20:18 +00:00
Fyodor Kupolov
8c9120b9cc First time populate user list in onCreate
Call updateUserList from onCreate instead of onResume during initialization.
This will suppress unnecessary animations.

Bug: 27527929

Change-Id: Ia420f41894b2033fb7f02de01168ccd2c6331588
2016-03-07 13:08:49 -08:00
Jim Miller
fb51827247 Merge "Fix crash in fingerprint enrollment due to async transaction" into nyc-dev 2016-03-07 20:55:38 +00:00
Ido Ofir
b46cad2cb7 Merge "mark categories as complete when disabled." into nyc-dev 2016-03-07 20:05:25 +00:00
Rebecca Silberstein
ffb4fbb1a7 Save WifiAp config changes when hotspot is enabled
We need to properly handle asynchronous events when WifiAp for hotspot
is enabled and the user changes the config.  This CL changes the
behavior to:
1 - mark local boolean indicating a restart is needed
2 - trigger the WifiAp to stop
3 - save the new config
4 - when the stop is complete (and the boolean is set), restart the
WifiAp.

Also fix a few style issues in the file.

BUG:27460194
Change-Id: I7e49ab9c49e125017cf83866a396701e440bf383
2016-03-07 09:49:52 -08:00
Philip P. Moltmann
d9779db8c9 Make Print Settings use the new PrintManager.getPrintServices loader
This makes sure that all data always stays up to date.

printer_dropdown_item.xml:
- Reduce the amount of overriden properties

PrintServiceSettingsFragment:
- Instead receiving most data from PrintSettingsFragment have own loader
  and keep data up to date
- Also the updating of the print service state now has a dedicated
  PrintManager call instead of relying of the Settings-ContentObserver
  to transport this information. No more race-conditions, whohoo!

DynamicIndexableContentMonitor:
- To not rewrite too much code the update logic has to live here but the
  reading of the actual data is in PrintSettingsFragment.

Change-Id: I60715cda8952565d7f68cb24fb7da61a37085887
2016-03-07 09:32:55 -08:00
Oleksandr Peletskyi
52fdd6a058 Merge "Block "Screen lock" menu if password is managed." into nyc-dev 2016-03-07 16:43:38 +00:00
Jason Monk
ebfbe5cfe6 Fix add network alignment
Bug: 26759951
Change-Id: I5ba657b5a4099d9f2f1ecf2f27a6a25908bc4a86
2016-03-07 10:19:47 -05:00
Jason Monk
15036eea99 Fix missing bluetooth settings items
In the off/turning on state all items were being removed, but never
re-added to the preference screen.

Bug: 27347029
Change-Id: I8f47ee79f428fc8555a0dc6574244c81aa85c6c8
2016-03-07 10:02:35 -05:00
Jim Miller
a9a8a18ac9 Fix crash in fingerprint enrollment due to async transaction
Fixes bug 27424654

Change-Id: I667374330fee00abc2f4ef7f881f8e98fd91567e
2016-03-04 18:22:00 -08:00
Clara Bayarri
04af275b6e Merge "Fix issue with unlock attempts for the Work Challenge" into nyc-dev 2016-03-05 02:01:58 +00:00
Clara Bayarri
15fa7bf634 Fix issue with unlock attempts for the Work Challenge
The failed attempts to unlock were not being reported due to a small
bug.

Bug: 26677759
Change-Id: Ie03593ba38ba118e1c030135037e15400e7af8a2
2016-03-04 17:55:43 -08:00
Anna Galusza
dca49196a6 Make sure Action Bar title does not revert to original title (Vision Settings)
after Display Size or Text Size is changed.
Bug: 27326637

Change-Id: I1d6d5a9dc4a6ab1c57772753b543483fec84cad8
2016-03-04 17:29:20 -08:00
Ruben Brunk
e1c98ca821 Add settings VR listener service.
Bug: 22855417
Bug: 26724891

- Adds a settings panel allowing users to toggle the
  enabled/disabled state of each VrListenerService
  component installed.
- If disabled, a VrListenerService will not be bound
  from the framework, even when requested by a VR
  application.

Change-Id: I606eb712c011d160b9fbdd3c0e8fd744c653ef07
2016-03-04 16:07:09 -08:00
Sudheer Shanka
6e2b469651 Merge "Avoid checking the restricted items in the list." into nyc-dev 2016-03-04 22:27:44 +00:00
Sudheer Shanka
54dc9d52d0 Avoid checking the restricted items in the list.
Since we are not auto-closing the dialog any more, need to
make sure the restricted item in not checked when selected by user.

Change-Id: I7c02844d3071ae62222cdbdbda96780bd5d922de
2016-03-04 13:53:24 -08:00
Udam Saini
24711aa63e Merge "Use the layout for calculating IME inset." into nyc-dev 2016-03-04 19:19:50 +00:00
Noah Wang
f465eb3bf2 Merge "Make preview pager and pager indicator screenreader-enabled" into nyc-dev 2016-03-04 18:52:49 +00:00
Mahaver Chopra
0f20f969b8 Merge "Fix: 'Make profile pattern visible'" into nyc-dev 2016-03-04 18:01:07 +00:00
Mahaver Chopra
a1276e4956 Fix: 'Make profile pattern visible'
'Make profile pattern visible' turns itself back on.

Bug:27331363
Change-Id: I0c9520c89b5f56e78fc51ac9b42320b66cc9df38
2016-03-04 17:17:59 +00:00
Andres Morales
abd0ff950b Merge "Use getFlashLockState API to check lock state" into nyc-dev 2016-03-04 16:23:10 +00:00