Commit Graph

12851 Commits

Author SHA1 Message Date
Jason Monk
8a5d4bfbb8 Fix apps spinner jank.
Change-Id: I7fbe580627538037fd0f1823787f7dcebbb43252
Fixes: 29056706
2016-06-01 12:57:05 -04:00
Sudheer Shanka
65cabcd4ee Start DeviceAdminSettings in a new task from support dialog.
Bug: 28998790
Change-Id: Ia43d6e719124e0908ec8ccb8c1ba7e80b5297096
2016-06-01 16:29:20 +00:00
Robin Lee
3682dd09e6 Disable restricted VPN actions onResume am: 52541536d0 am: 849edeb23e
am: 93e8676ecc

* commit '93e8676ecc8c449aad03c9cb2e08c7aec50d4550':
  Disable restricted VPN actions onResume

Change-Id: I947153cc892c6d072b287fd5221529913095af79
2016-06-01 14:30:49 +00:00
Robin Lee
93e8676ecc Disable restricted VPN actions onResume am: 52541536d0
am: 849edeb23e

* commit '849edeb23e2bc7e798159a497039aa81320ec47c':
  Disable restricted VPN actions onResume

Change-Id: I2875be42188dc978a431a78d3b4d6260d5a075b1
2016-06-01 14:26:19 +00:00
Robin Lee
8a8f3f2f34 Disable restricted VPN actions onResume
am: 52541536d0

* commit '52541536d0d4c8f78be26f94fa8f0cf297bde1c4':
  Disable restricted VPN actions onResume

Change-Id: I24606b4201605bea8377c5385b5b8d1720a44cb1
2016-06-01 14:22:07 +00:00
Robin Lee
849edeb23e Disable restricted VPN actions onResume
am: 52541536d0

* commit '52541536d0d4c8f78be26f94fa8f0cf297bde1c4':
  Disable restricted VPN actions onResume

Change-Id: I24772b0a6bc5b34bb5dc98508d26ab98d43bc670
2016-06-01 14:22:07 +00:00
Robin Lee
52541536d0 Disable restricted VPN actions onResume
Otherwise it's pretty easy to circumvent any future restrictions by
keeping VPN settings for a particular app open and continuing to use
it even after DISALLOW_CONFIG_VPN is applied.

Two checks:
 1) in onResume (catches almost every case)
 2) in setAlwaysOn (catches every remaining case)

Bug: 28733079
Change-Id: I1c67bb14891ef620df5ed65fbd32678e417b4a65
2016-06-01 11:32:32 +01:00
Victor Chang
13adfba9ad Merge "Show different strings when PO/DO user approves a cert" into nyc-dev am: 36522e8854 am: 5ab70294ed
am: 24b39dce00

* commit '24b39dce002479369c782887b036f936cb27c776':
  Show different strings when PO/DO user approves a cert

Change-Id: Iced70f167bcf899a4dab8c16e048a90d41b0d310
2016-06-01 10:22:44 +00:00
Victor Chang
24b39dce00 Merge "Show different strings when PO/DO user approves a cert" into nyc-dev am: 36522e8854
am: 5ab70294ed

* commit '5ab70294ed03f83fd0789477a005225d8caebd5c':
  Show different strings when PO/DO user approves a cert

Change-Id: Ib0e1fc2a8f086e7ebf06b3f745f18c343a9ac682
2016-06-01 10:18:07 +00:00
Victor Chang
5ab70294ed Merge "Show different strings when PO/DO user approves a cert" into nyc-dev
am: 36522e8854

* commit '36522e885479b30bc49a8a7333f436d5744431bc':
  Show different strings when PO/DO user approves a cert

Change-Id: I1cf166e58afd13c0927eb4460a7d88a22ba9dfe7
2016-06-01 10:13:52 +00:00
Victor Chang
7a37b70bda Merge "Show different strings when PO/DO user approves a cert" into nyc-dev
am: 36522e8854

* commit '36522e885479b30bc49a8a7333f436d5744431bc':
  Show different strings when PO/DO user approves a cert

Change-Id: I5dd1261e9def95d952538736401bb4c16f6fb61a
2016-06-01 10:13:51 +00:00
Victor Chang
36522e8854 Merge "Show different strings when PO/DO user approves a cert" into nyc-dev 2016-06-01 10:07:16 +00:00
宋凯伦
0fb2f2bd00 Fix the memory leak in TetherSettings
https://code.google.com/p/android/issues/detail?id=210848

We need to close the bluetooth adapter's profile proxy in OnDestroy 
method, or it will cause TetherSettings object to be held and won't
release. And finally it will cause OOM issue.
Change-Id: Id7667f751697c8ef9fccaaabfed28a91d4fa4960
Signed-off-by: 宋凯伦 <songkailun@xiaomi.com>
2016-06-01 02:13:50 +00:00
Meng Wang
fddffa539d Launch E911 address management activity at turning on Wifi Calling am: 90e8e4713c
am: 0500f2bede

* commit '0500f2bedefe3ecf61e395d5a2285c6972024b3d':
  Launch E911 address management activity at turning on Wifi Calling

Change-Id: Ibcc27498999a5f2f62589bab349318cbdb6f2a50
2016-06-01 00:57:14 +00:00
Meng Wang
0500f2bede Launch E911 address management activity at turning on Wifi Calling
am: 90e8e4713c

* commit '90e8e4713c7710f765868ed90f69e2424eb19fe5':
  Launch E911 address management activity at turning on Wifi Calling

Change-Id: Ie526f9a5c0d6f66c5e8c79c6ac3299a4aa5a4db6
2016-06-01 00:46:33 +00:00
Meng Wang
90e8e4713c Launch E911 address management activity at turning on Wifi Calling
Bug: 28404126
Change-Id: Id551d784d151e5f24cfcec96e6cf4b999f39ce0f
2016-05-31 15:57:27 -07:00
Victor Chang
71d1fed0e7 Show different strings when PO/DO user approves a cert
1. This is confusing for restricted users who don't have any options other
than 'Trust'.
2. show dialog title of "Check certificate" instead of "Trust or remove certificate"

The change only applies to ProfileOwner and DeviceOwner case

Fix: 28875819
Change-Id: I3f7dc8f3dcac75b4d99814cbc9af67433676a8c7
2016-05-31 22:43:09 +01:00
Andrew Sapperstein
15b78d8f19 Merge "Remove the last vestiges of #ff009587." into nyc-mr1-dev am: 9ca09c020e
am: 59358568d0

* commit '59358568d0220dc800cca3ff7633331dfe7e224a':
  Remove the last vestiges of #ff009587.

Change-Id: I3cc323f8b6c98c602f5d934a1d5afb50e82f49d3
2016-05-31 18:46:26 +00:00
Andrew Sapperstein
59358568d0 Merge "Remove the last vestiges of #ff009587." into nyc-mr1-dev
am: 9ca09c020e

* commit '9ca09c020e561832cd2e4b5abd43c839c461c240':
  Remove the last vestiges of #ff009587.

Change-Id: Iac6ec5047f88b277d313b98c19c4eac4ddce626f
2016-05-31 18:43:59 +00:00
Andrew Sapperstein
9ca09c020e Merge "Remove the last vestiges of #ff009587." into nyc-mr1-dev 2016-05-31 18:38:07 +00:00
Daniel Nishi
b6b9d830d6 Merge "Add an automatic storage management job service." into nyc-mr1-dev am: d7efefa503
am: f878423e3d

* commit 'f878423e3dd6cebaac5b77a91c95f2e3ae58c125':
  Add an automatic storage management job service.

Change-Id: I63cfc0885b1075e73fbeed65eac8c04eef161851
2016-05-31 18:33:56 +00:00
Daniel Nishi
f878423e3d Merge "Add an automatic storage management job service." into nyc-mr1-dev
am: d7efefa503

* commit 'd7efefa503ae408072e45dc6520a4236b8ef40cb':
  Add an automatic storage management job service.

Change-Id: Idd479e72efbe2d62225493c0dfdb7d55ee4f8b20
2016-05-31 18:31:32 +00:00
Daniel Nishi
d7efefa503 Merge "Add an automatic storage management job service." into nyc-mr1-dev 2016-05-31 18:25:18 +00:00
Daniel Nishi
80c204420b Add an automatic storage management job service.
This service runs once a day when plugged in when the device has
under 15% free space remaining. If the FeatureFactory has a
storage management job, it runs the job to begin to free up space
on the device.

This is a temporary landing place and will be refactored very
quickly out of Settings.

Bug: 28600825

Change-Id: Id2ebb42a333b3b4e3daef4e50cf985fe055b85c7
2016-05-31 16:50:48 +00:00
Anna Galusza
062539b7a3 Merge "Change Nav bar style to use system nav (new style for Nexus N+) Bug: 27612740" into nyc-mr1-dev am: bab65d9fc4
am: 92f200b09c

* commit '92f200b09c76ae364c8e1eb9b09a4a012a56a9d8':
  Change Nav bar style to use system nav (new style for Nexus N+) Bug: 27612740

Change-Id: Ied2a365be78f8495aeb293d6c60cfa2da14f2004
2016-05-31 16:50:28 +00:00
Anna Galusza
92f200b09c Merge "Change Nav bar style to use system nav (new style for Nexus N+) Bug: 27612740" into nyc-mr1-dev
am: bab65d9fc4

* commit 'bab65d9fc41836624bf385898ad21ca14d2f72fe':
  Change Nav bar style to use system nav (new style for Nexus N+) Bug: 27612740

Change-Id: Icb6c321b7382fe3816cde21e9db72b07f7ba0084
2016-05-31 16:45:39 +00:00
Anna Galusza
bab65d9fc4 Merge "Change Nav bar style to use system nav (new style for Nexus N+) Bug: 27612740" into nyc-mr1-dev 2016-05-31 16:39:46 +00:00
Roozbeh Pournader
f297a3da49 Merge "Show only up to two locales in Settings" into nyc-dev am: a260cf8931 am: c34946b8fb
am: e784c743d9

* commit 'e784c743d9e255a14030bc006c96433acdb9275c':
  Show only up to two locales in Settings

Change-Id: I9c7c5eaf55bf68aea8f23e28ccf14b622c049bac
2016-05-31 01:31:58 +00:00
Roozbeh Pournader
e784c743d9 Merge "Show only up to two locales in Settings" into nyc-dev am: a260cf8931
am: c34946b8fb

* commit 'c34946b8fb2f612b29401b807a8d774fb64a7812':
  Show only up to two locales in Settings

Change-Id: I14a74579f9742586c7a3ebec7adc2d1d73da32ab
2016-05-31 01:25:59 +00:00
Roozbeh Pournader
c34946b8fb Merge "Show only up to two locales in Settings" into nyc-dev
am: a260cf8931

* commit 'a260cf8931bb51e2a8879deb8461c9444595b786':
  Show only up to two locales in Settings

Change-Id: I8da73979371f5342fc1cd636e0483b7507a06697
2016-05-31 01:20:52 +00:00
Roozbeh Pournader
aacca81c31 Merge "Show only up to two locales in Settings" into nyc-dev
am: a260cf8931

* commit 'a260cf8931bb51e2a8879deb8461c9444595b786':
  Show only up to two locales in Settings

Change-Id: I34fae4ef523d9719ce09cc62cd556c56b232b003
2016-05-31 01:14:42 +00:00
Roozbeh Pournader
a260cf8931 Merge "Show only up to two locales in Settings" into nyc-dev 2016-05-31 01:02:41 +00:00
Anna Galusza
6b1e9dbea4 Change Nav bar style to use system nav (new style for Nexus N+)
Bug: 27612740

Change-Id: I309cf8252285130a0e1d2c03ca664706e73cce16
2016-05-27 18:21:54 -07:00
Jason Monk
f608350097 Merge "Fix pref availability for search" into nyc-dev am: 8eaa3de931 am: 83c2670cda
am: 4a47287267

* commit '4a47287267136866eeecba3d8840454e81028b21':
  Fix pref availability for search

Change-Id: I03caca7f39056d028fa60fdf3f6aaec62619f830
2016-05-27 20:48:14 +00:00
Jason Monk
b0e3a1925a Merge "Don\'t allow restricted data usage of system" into nyc-dev am: da52f08b0a am: ef19af788c
am: 54ed02784f

* commit '54ed02784f15d66f9ad6ea67d27d348a167d83fb':
  Don't allow restricted data usage of system

Change-Id: I8b4142f0b395ba3b5bf907ac6181d9135ca3e8cd
2016-05-27 20:48:12 +00:00
Jason Monk
4a47287267 Merge "Fix pref availability for search" into nyc-dev am: 8eaa3de931
am: 83c2670cda

* commit '83c2670cda20810fc1f338456f36ec0df92b8cf4':
  Fix pref availability for search

Change-Id: If335b521b4064b4f378c8e4aa24a34cb5daa2eba
2016-05-27 17:12:58 +00:00
Jason Monk
54ed02784f Merge "Don\'t allow restricted data usage of system" into nyc-dev am: da52f08b0a
am: ef19af788c

* commit 'ef19af788c6698070dcb8017d084b746bde73abd':
  Don't allow restricted data usage of system

Change-Id: Id7dfcfab1f700b861616dfc9e43a348343f5c64b
2016-05-27 17:12:57 +00:00
Jason Monk
83c2670cda Merge "Fix pref availability for search" into nyc-dev
am: 8eaa3de931

* commit '8eaa3de9317eb21855db43ed276b90ca48ad1d28':
  Fix pref availability for search

Change-Id: I777450a2531d9c817d6ff76068b6ac7c02fcb782
2016-05-27 17:09:56 +00:00
Jason Monk
ef19af788c Merge "Don\'t allow restricted data usage of system" into nyc-dev
am: da52f08b0a

* commit 'da52f08b0a86182cef1f0949f0ef45d5efa092cc':
  Don't allow restricted data usage of system

Change-Id: Ic6bba24f75979f9c9ac1fdcf8127f89770bf1f57
2016-05-27 17:09:55 +00:00
Jason Monk
6ed9be1352 Merge "Fix pref availability for search" into nyc-dev
am: 8eaa3de931

* commit '8eaa3de9317eb21855db43ed276b90ca48ad1d28':
  Fix pref availability for search

Change-Id: If1baba85d5d2897f5a360a75aad96ac72bfe1bd7
2016-05-27 17:08:54 +00:00
Jason Monk
3b8dd1eeae Merge "Don\'t allow restricted data usage of system" into nyc-dev
am: da52f08b0a

* commit 'da52f08b0a86182cef1f0949f0ef45d5efa092cc':
  Don't allow restricted data usage of system

Change-Id: Id5ad8e2b5ab03f397e0340f83b97e3598a308403
2016-05-27 17:08:54 +00:00
Jason Monk
8eaa3de931 Merge "Fix pref availability for search" into nyc-dev 2016-05-27 17:07:23 +00:00
Jason Monk
be9412107d Fix pref availability for search
Change-Id: Ic080e131c6c751456b22d370aade77748d912b6b
Fixes: 28987828
2016-05-27 12:58:53 -04:00
Jason Monk
da52f08b0a Merge "Don't allow restricted data usage of system" into nyc-dev 2016-05-27 16:51:59 +00:00
Julia Reynolds
8bd2978f02 Importance slider updates. am: 9782079130
am: af2e6d69a6

* commit 'af2e6d69a63a3115d9905d3cbb5ad11718afe9b7':
  Importance slider updates.

Change-Id: Id02ae7849bb2ed01afd12a6294418a1bd402fee3
2016-05-27 15:32:40 +00:00
Paul Stewart
536a7fbe79 Merge "Display connect button in the wifi connection menu" am: 9126cfba19 am: ace9f52725 am: aa5afb18fe
am: 38e93b85f0

* commit '38e93b85f0d3d5dff06034d0e3616015b73f50dc':
  Display connect button in the wifi connection menu

Change-Id: Id7025428de1e16e481bfbca8fa61004df36f34dc
2016-05-27 15:32:37 +00:00
Julia Reynolds
af2e6d69a6 Importance slider updates.
am: 9782079130

* commit '9782079130fb6dd3a83bedde31afa4df6a03b63c':
  Importance slider updates.

Change-Id: I267f2237a759b9f86a1b507b1d627ce5367c6cfe
2016-05-27 15:18:08 +00:00
Damien Vagner
38e93b85f0 Merge "Display connect button in the wifi connection menu" am: 9126cfba19 am: ace9f52725
am: aa5afb18fe

* commit 'aa5afb18fe24317584549460f6093826d59d414f':
  Display connect button in the wifi connection menu

Change-Id: If596c032697643ddc1b530dca3827added381ea0
2016-05-27 15:10:43 +00:00
Paul Stewart
aa5afb18fe Merge "Display connect button in the wifi connection menu" am: 9126cfba19
am: ace9f52725

* commit 'ace9f527253a5464308f8dd3aa97f841d5d2d996':
  Display connect button in the wifi connection menu

Change-Id: Ia72d92c7e50cfb316772609e561b34d0b8c62333
2016-05-27 15:06:06 +00:00
Jason Monk
9b926c0bc6 Don't allow restricted data usage of system
Cause it will just crash

Change-Id: I4ee43633eb3fa488816b1d2767073cbe404c2c33
Fixes: 28979013
2016-05-27 10:57:10 -04:00