Commit Graph

3054 Commits

Author SHA1 Message Date
Greg Plesur
f38aac7fc0 DPM.isProvisioningAllowed(ACTION_PROVISION_MANAGED_DEVICE) should return 'false' for Wear devices after pairing/upgrade. am: 3514404984
am: 43ed3a5b6a

Change-Id: I20248c835034935c25ee6fa25f8eeeb9125f121e
2016-10-13 21:19:17 +00:00
Greg Plesur
43ed3a5b6a DPM.isProvisioningAllowed(ACTION_PROVISION_MANAGED_DEVICE) should return 'false' for Wear devices after pairing/upgrade.
am: 3514404984

Change-Id: I8d24007831ba030af0d84f717802c79172db970f
2016-10-13 21:12:51 +00:00
Greg Plesur
3514404984 DPM.isProvisioningAllowed(ACTION_PROVISION_MANAGED_DEVICE) should
return 'false' for Wear devices after pairing/upgrade.

BUG: 32019375
Change-Id: I2563efe58c98c5dd8440891e478c89e093d8d9ac
2016-10-13 15:08:14 -04:00
Makoto Onuki
296a5fd5b9 Pass client package name to GAL providers (framework)
Test: Manually tested with a corp account and verified with the log

Bug 32072962

Change-Id: I3575b277973263171288fc8665a830f4b83064ab
2016-10-12 13:18:08 -07:00
Nick Kralevich
44761c81eb Delete "Show CPU usage" am: fc4a5c2d85 am: f0c0188a8a
am: 34547a8dc2

Change-Id: I410846d3ff6856e5f9dee2efd551af8b9d1d94dc
2016-10-11 18:21:32 +00:00
Nick Kralevich
34547a8dc2 Delete "Show CPU usage" am: fc4a5c2d85
am: f0c0188a8a

Change-Id: If33e6687d3ec83904ab6ddbeb008c7b9c8130e7a
2016-10-11 18:15:23 +00:00
Nick Kralevich
f0c0188a8a Delete "Show CPU usage"
am: fc4a5c2d85

Change-Id: I4da784d136601fb3458b8697a0a27a232cd89111
2016-10-11 18:09:10 +00:00
Nick Kralevich
fc4a5c2d85 Delete "Show CPU usage"
This functionality hasn't worked since Lollipop.

Bug: 21388590
Change-Id: Ie4388d88f6e06f3e2d2e84e9c4515b3ebc6a0ea5
2016-10-11 09:01:38 -07:00
Garfield Tan
aba97f3c37 Add findPath API to SAF.
Implement it in ExternalStorageProvider.

Bug: 30948740
Change-Id: I1b7717a794ae3892cd1be5ed90ca155adf9a64f4
(cherry picked from commit 51efc73f3f341393cf93f71604be791205021b69)
2016-10-06 17:34:19 +00:00
Garfield Tan
ab52ea0194 Revert "DO NOT MERGE ANYWHERE: Add findPath API to SAF."
This reverts commit 2f6d0d6db3.

Change-Id: I0b8581c6d5edb2a47ddfb75afaaa52c43964087b
2016-10-06 17:26:05 +00:00
Garfield Tan
2f6d0d6db3 DO NOT MERGE ANYWHERE: Add findPath API to SAF.
Implement it in ExternalStorageProvider.

Bug: 30948740
Change-Id: I03241cdfa561ef2fc0a0b829c9a59ad845e8f844
(cherry picked from commit 51efc73f3f341393cf93f71604be791205021b69)
2016-10-05 23:28:34 +00:00
Suprabh Shukla
502fd881a7 Adding a setting to toggle WAL mode for contacts
Bug: 1492819
Change-Id: I577b4950c57fb4cd85bd6cfc9d3ae05fdcbefda5
2016-09-30 15:06:05 -07:00
Hugo Benichi
76982f5588 New Settings symbols for captive portal detection am: 92eb22fdd2 am: 5e666029f9
am: 9cd1a35660

Change-Id: Iad6840b4edd243a77fe65a69a2f4dcba28e0a7cb
2016-09-29 06:09:56 +00:00
Meng Wang
587a5f9c7f resolve merge conflicts of 68b84f73 to master
Change-Id: If4d5647d199050846aaf250c4341657440dafb78
2016-09-28 21:06:55 -07:00
Hugo Benichi
9cd1a35660 New Settings symbols for captive portal detection am: 92eb22fdd2
am: 5e666029f9

Change-Id: I6e965696ed03b0eb4a49db3b21ad6a382ba1d081
2016-09-29 01:23:59 +00:00
Hugo Benichi
5e666029f9 New Settings symbols for captive portal detection
am: 92eb22fdd2

Change-Id: Id8c19f16c50b22034278c00b55c5431d892f8a95
2016-09-29 01:15:17 +00:00
Hugo Benichi
3fc76c4669 Merge "New Settings symbols for captive portal detection" into nyc-mr1-dev 2016-09-29 01:07:00 +00:00
Meng Wang
68b84f7301 Support WFC roaming preference am: 2c25e4a96b
am: 6db4fbecf8

Change-Id: Idff74a470e26b6c14ba1203290f533813740e192
2016-09-29 00:29:17 +00:00
Meng Wang
6db4fbecf8 Support WFC roaming preference
am: 2c25e4a96b

Change-Id: I8a1af9756ddf5a4359cfd94aa6eebfdcb87b9e13
2016-09-29 00:22:01 +00:00
Meng Wang
cfe950f6be Merge "Support WFC roaming preference" into nyc-mr1-dev 2016-09-29 00:13:51 +00:00
Hugo Benichi
92eb22fdd2 New Settings symbols for captive portal detection
This patch defines new Settings symbols for
  - setting the probe urls for captive portal detection.
  - setting which User-Agent to use for captive portal detection.

The existing default values for these settings are not changed, i.e:
  - HTTP and HTTPS probes urls are unchanged.
  - the fallback probe is not used.
  - User-Agent is empty by default.

Bug: 29367974
Change-Id: I6e4b3b172e56b8b67fffa4b51f776d68d5851f25
2016-09-28 23:13:25 +09:00
Selim Cinek
2cae5760c6 Added Emergency affordance feature am: 705442fa7d am: 0e1f78da65
am: 10691456b8

Change-Id: Ieb3a0da5d5693a186c92ab1c21ba189558207ae3
2016-09-26 08:46:30 +00:00
Daniel Nishi
e58d2a72b3 Add a hidden action to trigger the storage manager settings.
Bug: 31621740
Change-Id: I3ad0b65b0810d468e1f297c7ad312ea8a919ea2a
(cherry picked from commit 4bd88df1fb)
2016-09-25 22:25:12 +00:00
Daniel Nishi
3ece845253 Add a hidden action to trigger the storage manager settings. am: 4bd88df1fb
am: c5cd99dd09

Change-Id: Ic89ef70c64b3841beaab6e039f3b5c5fa1f7cc82
2016-09-24 00:23:54 +00:00
Daniel Nishi
c5cd99dd09 Add a hidden action to trigger the storage manager settings.
am: 4bd88df1fb

Change-Id: Iad3223793afb9ee0fe3de65baf91373160f163a9
2016-09-24 00:20:23 +00:00
Daniel Nishi
83479600cb Merge "Add a hidden action to trigger the storage manager settings." into nyc-mr1-dev 2016-09-24 00:15:53 +00:00
Selim Cinek
10691456b8 Added Emergency affordance feature am: 705442fa7d
am: 0e1f78da65

Change-Id: I6f8220b18bce7889e3b9efe1b075a680a0ae7187
2016-09-23 22:12:33 +00:00
Selim Cinek
0e1f78da65 Added Emergency affordance feature
am: 705442fa7d

Change-Id: I03ebb84119f9cb310882ba9ea90ee1e1d7118d03
2016-09-23 22:00:42 +00:00
Selim Cinek
a05719a278 Merge changes If7c3a55e,I68dcba41,Ib96a15da into nyc-mr1-dev
* changes:
  Fixed a bug where the dimmed background could be invisible
  Fixed an issue where the inline controls where not usable
  Added Emergency affordance feature
2016-09-23 21:51:22 +00:00
Meng Wang
2c25e4a96b Support WFC roaming preference
Added keys in CarrierConfig and Settings.Global

Bug: 31492826
Change-Id: Ice33f6ee5c42b92ed2f7258ff8b28c50510cde31
2016-09-23 12:09:02 -07:00
Todd Kennedy
20cb45c465 Add remote control of Instant Apps am: d15bb75af6 am: f308ffc915
am: 6f38e68456

Change-Id: I4e2344f16a82008023c63f278bce7e215d0874b8
2016-09-22 23:27:21 +00:00
Todd Kennedy
6f38e68456 Add remote control of Instant Apps am: d15bb75af6
am: f308ffc915

Change-Id: If7a6884bb896c1bab38c7d0fe963c06125a44c26
2016-09-22 21:55:44 +00:00
Todd Kennedy
f308ffc915 Add remote control of Instant Apps
am: d15bb75af6

Change-Id: I0433b101966f65daeb5d1d2ea04cf648572a8e58
2016-09-22 19:58:11 +00:00
Selim Cinek
705442fa7d Added Emergency affordance feature
Added a service that listens whether emergency affordances
are necessary.

If the they are needed, it adds an option to the
global actions dialog that directly launches the
emergency call and also adds a long-press listener
to the keyguard emergency button.

Test: adb shell settings put global force_emergency_affordance 1 && adb shell settings put global emergency_affordance_number 111112
Fixes: 30404490
Change-Id: Ib96a15da2ef4b568a8d77140ebca6aa6f20f5ddb
2016-09-22 12:25:57 -07:00
TreeHugger Robot
03779f227a Merge "Add remote control of Instant Apps" into nyc-mr1-dev 2016-09-22 16:57:17 +00:00
Doris Ling
458ea2c05b Add secure settings for Ambient Display pick up and double tap gestures. am: 6403b4050f am: 6591ac6381
am: 4c25818533

Change-Id: I7e956c18c51eb1db10324ebb5f4d6b8ae9630c2d
2016-09-21 06:21:39 +00:00
Lorenzo Colitti
f700a6e87f Support "don't ask again" in the avoid bad wifi dialog. am: 165c51c0eb am: aab02df195 am: 63275aba54
am: 3f67cbec46

Change-Id: I60ebe27ec892658c5a051457b13506e59ba33824
2016-09-21 06:04:15 +00:00
Daniel Nishi
4bd88df1fb Add a hidden action to trigger the storage manager settings.
Bug: 31621740
Change-Id: I3ad0b65b0810d468e1f297c7ad312ea8a919ea2a
2016-09-20 16:42:19 -07:00
Doris Ling
4c25818533 Add secure settings for Ambient Display pick up and double tap gestures. am: 6403b4050f
am: 6591ac6381

Change-Id: I67f40251da88b4e2161a1ff591cc1383079013c0
2016-09-20 18:46:19 +00:00
Doris Ling
6591ac6381 Add secure settings for Ambient Display pick up and double tap gestures.
am: 6403b4050f

Change-Id: I35832dc785c1570b5243910309d029ce3c8af2bc
2016-09-20 18:41:03 +00:00
Doris Ling
b4b96040e0 Merge "Add secure settings for Ambient Display pick up and double tap gestures." into nyc-mr1-dev 2016-09-20 18:26:47 +00:00
Lorenzo Colitti
3f67cbec46 Support "don't ask again" in the avoid bad wifi dialog. am: 165c51c0eb am: aab02df195
am: 63275aba54

Change-Id: I7d8d9f91208bcbe3ff625acf20d943b13f813d8e
2016-09-20 17:39:19 +00:00
Lorenzo Colitti
63275aba54 Support "don't ask again" in the avoid bad wifi dialog. am: 165c51c0eb
am: aab02df195

Change-Id: Id9c694b14085b1959348ddfa91127cbb33f5e785
2016-09-20 17:22:51 +00:00
Lorenzo Colitti
aab02df195 Support "don't ask again" in the avoid bad wifi dialog.
am: 165c51c0eb

Change-Id: Ic6a1917a83e2d847bd673790e2c36f7316ca7acd
2016-09-20 17:14:50 +00:00
Lorenzo Colitti
165c51c0eb Support "don't ask again" in the avoid bad wifi dialog.
This contains the following changes:

1. Make NETWORK_AVOID_BAD_WIFI a tristate: 0 means never avoid
   bad wifi, unset means prompt the user, 1 means always avoid.
2. Look at NETWORK_AVOID_BAD_WIFI only if the carrier restricts
   avoiding bad wifi (previously, we relied on the setting being
   null and defaulting to the value of the config variable).
3. Add an avoidUnvalidated bit to NetworkAgentInfo to track
   whether the user has requested switching away from this
   unvalidated network even though avoiding bad wifi is generally
   disabled. This is set to true when the user selects "switch"
   in the dialog without setting the "Don't ask again" checkbox.
4. Add a hidden setAvoidUnvalidated API to ConnectivityManager to
   set the avoidUnvalidated bit.
5. Additional unit test coverage.

Bug: 31075769
Change-Id: I1be60c3016c8095df3c4752330149ce638bd0ce1
2016-09-20 16:03:53 +09:00
Todd Kennedy
d15bb75af6 Add remote control of Instant Apps
Bug: 31470039
Test: manual
Change-Id: I82eb47f4d24fb88d0f264eca1176aec55364867c
2016-09-15 13:55:56 -07:00
Hugo Benichi
744c370b7c Support ignoring penalty for bad wifi networks am: c8e9e1229a am: c53b5964f8 am: edabb8e617
am: 9ae080aa9d

Change-Id: I995c1adc61263a0536704fd32bd89efe1a8ec42b
2016-09-15 15:45:03 +00:00
Hugo Benichi
9ae080aa9d Support ignoring penalty for bad wifi networks am: c8e9e1229a am: c53b5964f8
am: edabb8e617

Change-Id: Ib9a60eb528eb62ebf26d5d5a1941bfed0bb21163
2016-09-15 15:36:58 +00:00
Hugo Benichi
edabb8e617 Support ignoring penalty for bad wifi networks am: c8e9e1229a
am: c53b5964f8

Change-Id: Ideee96cc5fc1631cfbc90cd9a59f34a2d5fde160
2016-09-15 15:30:26 +00:00
Hugo Benichi
c53b5964f8 Support ignoring penalty for bad wifi networks
am: c8e9e1229a

Change-Id: I6666ee45e9a08c02444c6268b2232bbe8aa2adec
2016-09-15 15:23:57 +00:00