Commit Graph

9332 Commits

Author SHA1 Message Date
Sudheer Shanka
7e09747415 Fix summaries of some restricted switch preferences.
Bug: 27659072
Change-Id: I2cfb270ba77b0cfe3c81097b59779f70062b9b65
2016-04-19 21:46:31 -07:00
Andrew Sapperstein
13792886a7 Create feature factory interface & initial impl.
Creates the abstract class FeatureFactory and an AOSP implementation
called Factory.

Also creates a static library for generating logtags since we need to use the code generated
by the logtags in multiple packages now.

BUG: 27751878
Change-Id: I88d826333642d3efc252134c4facb7b1ca014f32
(cherry picked from commit 867bb9c07a)
2016-04-19 23:01:49 +00:00
Maurice Lam
fd03c3b366 [Fingerprint] Update strings
Update the label for the options in setup to match the flow model of
setup wizard.

Bug: 28219260
Change-Id: Ia975b5fc95c7c82c5ec23a2af5dcdcd9d69bb594
2016-04-19 14:24:17 -07:00
Noah Wang
f2ff8893ff Merge "Fix preview screen crashing and glitches for Display / Font size Bug: 28223545 Bug: 28223533 Bug: 28210654 Bug: 28210242 Bug: 28208955 Bug: 27699996" into nyc-dev am: 4f63bb6 am: 1c94e6d
am: 0b420fd

* commit '0b420fdad1d020ed20effc6230378074b03f7547':
  Fix preview screen crashing and glitches for Display / Font size Bug: 28223545 Bug: 28223533 Bug: 28210654 Bug: 28210242 Bug: 28208955 Bug: 27699996

Change-Id: I0e02bc9da6da571079ec560ab89a64c1283e8586
2016-04-19 18:21:55 +00:00
Noah Wang
1c94e6dd90 Merge "Fix preview screen crashing and glitches for Display / Font size Bug: 28223545 Bug: 28223533 Bug: 28210654 Bug: 28210242 Bug: 28208955 Bug: 27699996" into nyc-dev
am: 4f63bb6

* commit '4f63bb69f5f63a19e0fdf03b1c240bd6d12d0ce1':
  Fix preview screen crashing and glitches for Display / Font size Bug: 28223545 Bug: 28223533 Bug: 28210654 Bug: 28210242 Bug: 28208955 Bug: 27699996

Change-Id: Ie9845c3f043d9fcb0733fe7204696b5792d8e9d9
2016-04-19 18:07:20 +00:00
Noah Wang
4f63bb69f5 Merge "Fix preview screen crashing and glitches for Display / Font size Bug: 28223545 Bug: 28223533 Bug: 28210654 Bug: 28210242 Bug: 28208955 Bug: 27699996" into nyc-dev 2016-04-19 17:56:50 +00:00
Fan Zhang
6fca010cd6 Merge "Request SupportFeatureProvider to provide a support tab." 2016-04-19 17:13:16 +00:00
Fan Zhang
bd1c27ee1e Request SupportFeatureProvider to provide a support tab.
Bug: 28139604

In dashboard container, if supportFeatureProvider is able to provide a
tab, we display it in tabbed layout. Otherwise, display just
DashboardSummary without changing UI.

Change-Id: Ib7601ac925e1315e6b0928d020fe2d09bd389cd7
2016-04-19 08:30:20 -07:00
Zoltan Szatmary-Ban
f533314aad Merge "Apply policy transparency to HotspotCondition and WiFi settings..." into nyc-dev am: 295f106 am: f89218e
am: c82afdc

* commit 'c82afdc5dc24d311b29bcbcc6889924d8b39ef2c':
  Apply policy transparency to HotspotCondition and WiFi settings...

Change-Id: I13deb3633ef6c6606498f8152f6395c37a015f90
2016-04-19 13:38:35 +00:00
Zoltan Szatmary-Ban
f89218e281 Merge "Apply policy transparency to HotspotCondition and WiFi settings..." into nyc-dev
am: 295f106

* commit '295f1060e990299fec7e2aa375064f9f09246e8d':
  Apply policy transparency to HotspotCondition and WiFi settings...

Change-Id: Ia7518fe9369e9f045ca120d1cb91ca81db0a5836
2016-04-19 13:32:20 +00:00
Zoltan Szatmary-Ban
295f1060e9 Merge "Apply policy transparency to HotspotCondition and WiFi settings..." into nyc-dev 2016-04-19 13:25:22 +00:00
Felipe Leme
b2ada34cbe Handle blacklisted apps on Data Saver whitelist. am: c2ef27f am: 004a33f
am: 52e92fd

* commit '52e92fd6c429960c4434c1736215255b57271d9a':
  Handle blacklisted apps on Data Saver whitelist.

Change-Id: I548b211925145174681ae74c606c92b0fb0e6dee
2016-04-18 22:53:21 +00:00
Felipe Leme
52e92fd6c4 Handle blacklisted apps on Data Saver whitelist. am: c2ef27f
am: 004a33f

* commit '004a33f8e9bb66cfd0bcaf1e1aa8d4c238be45e5':
  Handle blacklisted apps on Data Saver whitelist.

Change-Id: Ia71178dfff5f27ff495cf5b5f884383ac15607d8
2016-04-18 22:42:43 +00:00
Felipe Leme
90a3102abd Handle blacklisted apps on Data Saver whitelist.
am: c2ef27f

* commit 'c2ef27faf4afca6c4f6634b5de975a1bdadf0752':
  Handle blacklisted apps on Data Saver whitelist.

Change-Id: Ia221750b24003af71c6dd106b1247d7178573cf4
2016-04-18 22:38:41 +00:00
Felipe Leme
c2ef27faf4 Handle blacklisted apps on Data Saver whitelist.
When user blacklists an app for background data access, the
"Unrestricted data access" list should not display the whitelist toggle
option, but rather explain background access is turned off and offer the
option to open the app's data usage screen to turn it back on.

It still does not handle changed received by DataSaverBackend, so the UI
will be stale when the user removes a blacklist and navigates back to
the list.

BUG: 27481520

Change-Id: I9d0fa9f0180a69ce9bd1417921bf89ec3ba31f01
2016-04-18 13:14:01 -07:00
Noah Wang
35a95617fd Fix preview screen crashing and glitches for
Display / Font size
Bug: 28223545
Bug: 28223533
Bug: 28210654
Bug: 28210242
Bug: 28208955
Bug: 27699996

Change-Id: I80339dabbd089db8a6c6a80645baabb9b4cad00e
2016-04-18 13:08:56 -07:00
Daniel Nishi
781ad72bc7 Merge "Add a deletion helper view for clearing space." 2016-04-18 16:43:26 +00:00
shwetachahar
3f7c85eb79 Merge "Add a button to reset pitch to default value." into nyc-dev am: da4ecea am: 3cf8d61
am: a961b00

* commit 'a961b006c411af203f62cbff61ed1cf13264b402':
  Add a button to reset pitch to default value.

Change-Id: I87f2d329fd04a57e3cb3af5e734227064a3fea93
2016-04-18 15:34:24 +00:00
shwetachahar
3cf8d61458 Merge "Add a button to reset pitch to default value." into nyc-dev
am: da4ecea

* commit 'da4ecea84517b4071bef3ae6c6b1eb180a890008':
  Add a button to reset pitch to default value.

Change-Id: Ib8be9f4d0d5ff5b2a028ab83df3b271b6377b30c
2016-04-18 15:22:54 +00:00
Shweta Chahar
da4ecea845 Merge "Add a button to reset pitch to default value." into nyc-dev 2016-04-18 15:14:24 +00:00
Ido Ofir
f472716ba2 Merge "Changing dimensions and margins for fingerprint image in portrait mode. Landscape layout remains the same with fixed size." into nyc-dev am: 7f4892f
am: 5a9cff7

* commit '5a9cff708f3c83a71c9610ec52453acf21aff649':
  Changing dimensions and margins for fingerprint image in portrait mode. Landscape layout remains the same with fixed size.

Change-Id: I12d6c2c7fe63f1bc7a3a6798a3070f8cef2bf541
2016-04-15 23:29:13 +00:00
Ido Ofir
5a9cff708f Merge "Changing dimensions and margins for fingerprint image in portrait mode. Landscape layout remains the same with fixed size." into nyc-dev
am: 7f4892f

* commit '7f4892f223ec265fdee5223fdec92440849160ac':
  Changing dimensions and margins for fingerprint image in portrait mode. Landscape layout remains the same with fixed size.

Change-Id: Iacab34944705d4ad8e49d9b32fecdfa0cc9cd40b
2016-04-15 23:24:34 +00:00
Ido Ofir
7f4892f223 Merge "Changing dimensions and margins for fingerprint image in portrait mode. Landscape layout remains the same with fixed size." into nyc-dev 2016-04-15 23:16:51 +00:00
Ido Ofir
81513d7a88 Changing dimensions and margins for fingerprint image in portrait mode.
Landscape layout remains the same with fixed size.

Bug: 27875410

Change-Id: I82ee12ef5efab8bee6a0e187810b399cb45b7f67
2016-04-15 13:30:01 -07:00
Daniel Nishi
a671272bf6 Add a deletion helper view for clearing space.
This view provides an interface which allows users to clear out
apps and other data which they may no longer need to alleviate
storage pressure. This implementation gives the bits to uninstall
apps which have not been used within the last 60 days from the
system.

A future patch will add in the ability to extend the deletion helper
view to have additional clearing types.

Change-Id: I65cba54ca247d52227e67e2fa9b84fe63fb8ab34
2016-04-15 09:06:32 -07:00
Julia Reynolds
0986daa6cc Merge "Notification slider changes." into nyc-dev am: 8b01df5
am: 29eeaf9

* commit '29eeaf9530fa116f7ad890ed438c4e5de7486dff':
  Notification slider changes.

Change-Id: I6427f467d58cf40a8b6ba3067b0007b6e11a2927
2016-04-15 15:38:32 +00:00
Julia Reynolds
29eeaf9530 Merge "Notification slider changes." into nyc-dev
am: 8b01df5

* commit '8b01df5d7869b392ad542b5c27fe8dd21b8759ba':
  Notification slider changes.

Change-Id: Ibb5c1fc046096c0c1b3c04367d95b557d2291997
2016-04-15 15:32:17 +00:00
Zoltan Szatmary-Ban
3f6208170d Apply policy transparency to HotspotCondition and WiFi settings...
...when there is an active hotspot and user restriction for disallowing
tether config is in effect. This is to avoid getting security exceptions
from WifiManager when engaging with HotspotCondition or Wifi enable switch.

Bug:27936528
Change-Id: Ib3324e853277c177966b55668758d349ffe6ecf5
2016-04-15 16:13:27 +01:00
Julia Reynolds
088fb52ef8 Notification slider changes.
Bug: 27558254
Change-Id: I15635ae19e82a57d6e6fcb2f8f946f31bebf5d0f
2016-04-15 11:04:13 -04:00
shwetachahar
aaf9df3b19 Add a button to reset pitch to default value.
Bug: 27949093
Change-Id: Ia7fd2f824b8e87c08f9e2f3defca6e645c5c1bfb
2016-04-15 15:56:13 +01:00
Sudheer Shanka
64872b637d Merge "Add additional summaries for some restricted switch preferences." into nyc-dev am: cdb089c
am: 3718041

* commit '371804159ce68fb43053ca42ed68fcb934634d8e':
  Add additional summaries for some restricted switch preferences.

Change-Id: I87eb43c585cb53571e507aceb2121289662eb7b7
2016-04-14 21:26:21 +00:00
Sudheer Shanka
371804159c Merge "Add additional summaries for some restricted switch preferences." into nyc-dev
am: cdb089c

* commit 'cdb089c96d9b23d389619783ff68cb333daf6b27':
  Add additional summaries for some restricted switch preferences.

Change-Id: I8640613299b71a2a4c60ef49a363508541234bc5
2016-04-14 21:19:26 +00:00
Sudheer Shanka
cdb089c96d Merge "Add additional summaries for some restricted switch preferences." into nyc-dev 2016-04-14 21:05:25 +00:00
Oleksandr Peletskyi
00fabe1e63 Merge "Improved UX for DISALLOW_SET_USER_ICON restriction." into nyc-dev am: 9abb6b0
am: dfa04e2

* commit 'dfa04e2017b584b33dd11ae8da67e4578bdee5e0':
  Improved UX for DISALLOW_SET_USER_ICON restriction.

Change-Id: I403f6bb442e4e255c3f2daf70a9f88d8a02fe6e6
2016-04-14 20:29:11 +00:00
Noah Wang
644f7785e9 Merge "Remove the preview screens from Display/Font size settings when the activity height is smaller. Also refactored for readability. Bug: 27699996 Change-Id: Iff3c3ffdc1ccf82080cafdcedf392e499175acaf" into nyc-dev am: 7444be6
am: 36b15ba

* commit '36b15ba0be48d0d417ad66f516f30b6f2035252c':
  Remove the preview screens from Display/Font size settings when the activity height is smaller. Also refactored for readability. Bug: 27699996 Change-Id: Iff3c3ffdc1ccf82080cafdcedf392e499175acaf

Change-Id: I4912c21ebabec8430b62054e55689956695b42b7
2016-04-14 20:29:09 +00:00
Noah Wang
1dd3622cf8 Merge "Instantiating background image of preview video in Magnification Gesture screen using ImageView, also set GlobalLayoutListener to adjust its position. Bug: 27992162 Bug: 27901691" into nyc-dev am: 6e15861
am: 105c088

* commit '105c088d8f7dc5ed3eabec0001e821b62f460a73':
  Instantiating background image of preview video in Magnification Gesture screen using ImageView, also set GlobalLayoutListener to adjust its position. Bug: 27992162 Bug: 27901691

Change-Id: Id35f0a4b3ba3affc44338980451d5082e6b6b8eb
2016-04-14 20:29:08 +00:00
Julia Reynolds
4744f085c3 Merge "Notification listeners have full DND access." into nyc-dev am: cc43dd9
am: de8799c

* commit 'de8799cc032270c3b1990d34c9f664059c4e31c7':
  Notification listeners have full DND access.

Change-Id: I53ed3ed064179423196d10e9692c51e98ad5508e
2016-04-14 20:29:07 +00:00
TreeHugger Robot
44c2379757 Merge "Data Saver Mode phrasing tweaks." into nyc-dev am: 6a41da8
am: 4e77421

* commit '4e7742114bb33ffb008bb937a67b26f7cac70570':
  Data Saver Mode phrasing tweaks.

Change-Id: I9220415d09ebb32abbf917f8f347416dba02768a
2016-04-14 20:29:06 +00:00
Oleksandr Peletskyi
dfa04e2017 Merge "Improved UX for DISALLOW_SET_USER_ICON restriction." into nyc-dev
am: 9abb6b0

* commit '9abb6b01f45bb6fbabf3235f989286783db1a7ae':
  Improved UX for DISALLOW_SET_USER_ICON restriction.

Change-Id: I7ea20af30bb84529cdc971ecdc9f41ac0a188751
2016-04-14 10:53:21 +00:00
Oleksandr Peletskyi
9abb6b01f4 Merge "Improved UX for DISALLOW_SET_USER_ICON restriction." into nyc-dev 2016-04-14 10:46:08 +00:00
Noah Wang
36b15ba0be Merge "Remove the preview screens from Display/Font size settings when the activity height is smaller. Also refactored for readability. Bug: 27699996 Change-Id: Iff3c3ffdc1ccf82080cafdcedf392e499175acaf" into nyc-dev
am: 7444be6

* commit '7444be6f289f72b09551b4ee865ad6beb157e5e6':
  Remove the preview screens from Display/Font size settings when the activity height is smaller. Also refactored for readability. Bug: 27699996 Change-Id: Iff3c3ffdc1ccf82080cafdcedf392e499175acaf

Change-Id: Ia5097feabb5da6713634a2466a15b0c809d6ea58
2016-04-14 05:15:02 +00:00
Noah Wang
105c088d8f Merge "Instantiating background image of preview video in Magnification Gesture screen using ImageView, also set GlobalLayoutListener to adjust its position. Bug: 27992162 Bug: 27901691" into nyc-dev
am: 6e15861

* commit '6e1586150e5e97b4f7f0bdd15b380c99b668770b':
  Instantiating background image of preview video in Magnification Gesture screen using ImageView, also set GlobalLayoutListener to adjust its position. Bug: 27992162 Bug: 27901691

Change-Id: I1713e7dc4ba7b17ecbd9bb472e3b3ac72056befb
2016-04-14 05:15:02 +00:00
Noah Wang
7444be6f28 Merge "Remove the preview screens from Display/Font size settings when the activity height is smaller. Also refactored for readability. Bug: 27699996 Change-Id: Iff3c3ffdc1ccf82080cafdcedf392e499175acaf" into nyc-dev 2016-04-14 05:10:49 +00:00
Noah Wang
6e1586150e Merge "Instantiating background image of preview video in Magnification Gesture screen using ImageView, also set GlobalLayoutListener to adjust its position. Bug: 27992162 Bug: 27901691" into nyc-dev 2016-04-14 05:10:34 +00:00
Sudheer Shanka
415bd9ece1 Add additional summaries for some restricted switch preferences.
For some of the switch preferences, we need the new summary
"Enabled/Disabled" so that the user know about the switch state but
we can't replace some existing summaries because they provide
context.

Bug: 27659072
Change-Id: I65aca79184f543ef3fc85634594cad75f516d2fa
2016-04-13 21:34:30 -07:00
Noah Wang
f3a20cc9bc Instantiating background image of preview video in
Magnification Gesture screen using ImageView, also
set GlobalLayoutListener to adjust its position.
Bug: 27992162
Bug: 27901691

Change-Id: I9563eb2776bcde3d7edeb4a420a9b3c02481baf8
2016-04-13 19:02:41 -07:00
Julia Reynolds
de8799cc03 Merge "Notification listeners have full DND access." into nyc-dev
am: cc43dd9

* commit 'cc43dd935f654b133e84c3cd745d1e8cf52e3959':
  Notification listeners have full DND access.

Change-Id: I7d968d327cb7d17c130bb7d8945747b6d4d025a3
2016-04-14 01:07:18 +00:00
Julia Reynolds
cc43dd935f Merge "Notification listeners have full DND access." into nyc-dev 2016-04-14 00:58:09 +00:00
Noah Wang
45393213da Remove the preview screens from Display/Font size settings
when the activity height is smaller.
Also refactored for readability.
Bug: 27699996
Change-Id: Iff3c3ffdc1ccf82080cafdcedf392e499175acaf
2016-04-13 16:55:11 -07:00
Felipe Leme
4e7742114b Merge "Data Saver Mode phrasing tweaks." into nyc-dev
am: 6a41da8

* commit '6a41da8e9a6fb016cd93f991d65cf8334fb1d3a2':
  Data Saver Mode phrasing tweaks.

Change-Id: I2061eb0fee1a6c2a2f2bdfd3a823bbaa5f7a4bbc
2016-04-13 23:48:15 +00:00