Commit Graph

12851 Commits

Author SHA1 Message Date
Clara Bayarri
0220d40488 Rename requestKeyboardShortcutsHelper
am: fcc411c807

* commit 'fcc411c8078e4be5f1f77d7a28b8ce0be20206d5':
  Rename requestKeyboardShortcutsHelper

Change-Id: I5333409492e2a64d4015c601714e1d0ec041e54f
2016-05-16 15:09:31 +00:00
Julia Reynolds
992422fd5e Catch rule creation exceptions.
Bug: 28775583
Change-Id: I54c4af0352c88b27717660741709ec54e4749656
2016-05-16 09:53:23 -04:00
Clara Bayarri
fcc411c807 Rename requestKeyboardShortcutsHelper
Per API Council feedback

Bug: 28775576
Change-Id: Ia19668dceb7da2222e9716fcb1caff8d0ee86c41
2016-05-16 14:16:46 +01:00
Steven Ng
55077a4851 Merge "Add a Global setting for disabling OEM unlocking setting" into nyc-mr1-dev am: 030060a321
am: 958d1253c5

* commit '958d1253c52bd5556bc5d60153b1002206489c9a':
  Add a Global setting for disabling OEM unlocking setting

Change-Id: I137570ed577c74f023dee6fb059afd34495a4727
2016-05-16 09:28:36 +00:00
Steven Ng
958d1253c5 Merge "Add a Global setting for disabling OEM unlocking setting" into nyc-mr1-dev
am: 030060a321

* commit '030060a32166990585cf0ef2c007e7f787e5dd7d':
  Add a Global setting for disabling OEM unlocking setting

Change-Id: I8fa26a26e174e0e44875eb925aad9f3978373e04
2016-05-16 09:25:39 +00:00
Steven Ng
030060a321 Merge "Add a Global setting for disabling OEM unlocking setting" into nyc-mr1-dev 2016-05-16 09:20:43 +00:00
Daniel Nishi
2f1da3901d Merge "Add an Activity to handle Intents to invoke the Deletion Helper." into nyc-mr1-dev am: 03f26d3997
am: e592a41727

* commit 'e592a41727fc498d3a18a08720dc55b98723c87d':
  Add an Activity to handle Intents to invoke the Deletion Helper.

Change-Id: Ifc706565a021577c05b924b0f8c2ea4f467fb928
2016-05-14 01:26:10 +00:00
Daniel Nishi
e592a41727 Merge "Add an Activity to handle Intents to invoke the Deletion Helper." into nyc-mr1-dev
am: 03f26d3997

* commit '03f26d39972d4d063096ccbc00ebec53365ce455':
  Add an Activity to handle Intents to invoke the Deletion Helper.

Change-Id: I7322ce796fe4910d9904e37d0bf142bbc90b5f47
2016-05-14 01:23:28 +00:00
Daniel Nishi
03f26d3997 Merge "Add an Activity to handle Intents to invoke the Deletion Helper." into nyc-mr1-dev 2016-05-14 01:14:15 +00:00
Daniel Nishi
07e9f774b0 Merge "Add downloads to the deletion helper." into nyc-mr1-dev am: 95c3c5045f
am: de98b25c01

* commit 'de98b25c01341663847252fceaf97d64ceafbb29':
  Add downloads to the deletion helper.

Change-Id: I092289edbde4d9b439cb6a55ce2a507f5a36a444
2016-05-14 00:15:06 +00:00
Daniel Nishi
de98b25c01 Merge "Add downloads to the deletion helper." into nyc-mr1-dev
am: 95c3c5045f

* commit '95c3c5045fde4667e8085d69a0aba4b82126d682':
  Add downloads to the deletion helper.

Change-Id: I192143eb333d584b4ec792913eda79d9614c6150
2016-05-14 00:12:32 +00:00
Daniel Nishi
95c3c5045f Merge "Add downloads to the deletion helper." into nyc-mr1-dev 2016-05-14 00:05:01 +00:00
Daniel Nishi
287d91181f Add an Activity to handle Intents to invoke the Deletion Helper.
This will allow apps to launch the deletion helper when they need to
have space freed up.

To launch the activity using an intent, you can set it as follows:
Intent intent = new Intent(Settings.ACTION_DELETION_HELPER_SETTINGS);
startActivity(intent);

This intent should bring up the Deletion Helper.

Bug: 28675265
Change-Id: I781615ccad4ca1fcae97817ecb823e5dcad67b5b
2016-05-13 17:03:30 -07:00
Felipe Leme
9c7bb2775a Display total storage for Internal shared storage.
Prior to this change, Settings was using
volume.getPath().getTotalBytes() to calculate the total, which includes
the user-accessible storage, but not the internal partitions. As such,
the total displayed was often missing many GBs (for example, in a 32GB
device, it could display "12.09GB of 25.01GB used".

This change fix this problem by using the total size and creating a
"System" section containing the "missing" storage.

BUG: 24128505

Change-Id: Ic35cd7c8406eff16ac1d97c4b4c233ecde64a6e1
2016-05-13 15:40:34 -07:00
Sudheer Shanka
cbc30980d8 Merge "Guard against exception when getting package installer info." into nyc-dev am: 15c1bb48c3 am: 3ad3bd66ad
am: 50f9e16450

* commit '50f9e164506b25552011ef10135b2e6a8960672f':
  Guard against exception when getting package installer info.

Change-Id: Icd833758c22ec8045c1a53b01b26fc14a43bc311
2016-05-13 21:45:58 +00:00
Sudheer Shanka
50f9e16450 Merge "Guard against exception when getting package installer info." into nyc-dev am: 15c1bb48c3
am: 3ad3bd66ad

* commit '3ad3bd66adb2be016654c8655f8bad4ddc0bcd79':
  Guard against exception when getting package installer info.

Change-Id: I2de57942f4e844375e6dfe6f4f0a9489f9d6382b
2016-05-13 21:34:24 +00:00
Sudheer Shanka
b071fdca57 Merge "Guard against exception when getting package installer info." into nyc-dev
am: 15c1bb48c3

* commit '15c1bb48c3da3404a775c7101e3559772aa37d6e':
  Guard against exception when getting package installer info.

Change-Id: I3cf5a62c44b12356b48f841a03874f93b1c23981
2016-05-13 21:29:02 +00:00
Sudheer Shanka
3ad3bd66ad Merge "Guard against exception when getting package installer info." into nyc-dev
am: 15c1bb48c3

* commit '15c1bb48c3da3404a775c7101e3559772aa37d6e':
  Guard against exception when getting package installer info.

Change-Id: Ibe6459ec92ffe90872c3380d865baea6cb257508
2016-05-13 21:29:01 +00:00
TreeHugger Robot
15c1bb48c3 Merge "Guard against exception when getting package installer info." into nyc-dev 2016-05-13 21:18:06 +00:00
Daniel Nishi
2ef20fb36d Add downloads to the deletion helper.
This adds a deletion service to delete files in the Downloads
folder. All of the files there are collected and offered to the
user to delete.

Bug: 28621781
Change-Id: I94431f9abc3a0afa2d07dbab763312c09e830aef
2016-05-13 13:35:37 -07:00
Sudheer Shanka
aed0537aaf Guard against exception when getting package installer info.
Bug: 28742227
Change-Id: I8742c882ae6b18cb8f51a9da04170358a20a7d48
2016-05-13 12:58:42 -07:00
Julia Reynolds
f9535fb4b5 Merge "Don\'t crash on invalid numbers." into nyc-dev am: 5c401966a3 am: 54408a74fa
am: d7a6287f9e

* commit 'd7a6287f9e5d50766e395ba26d5bdf578c11e8e8':
  Don't crash on invalid numbers.

Change-Id: Icc89cd6ad11fa8a66d1a9bb1c7e2f4454dc3223e
2016-05-13 18:30:32 +00:00
Daniel Nishi
15bea421f4 Merge "Entries in the Deletion Helper should be default unchecked." into nyc-mr1-dev am: 4924839515
am: e197dfa1fc

* commit 'e197dfa1fc7701bd28ce9be08332cca66684e329':
  Entries in the Deletion Helper should be default unchecked.

Change-Id: I9c752e88c3821523c7b5319f3239fc49f047e027
2016-05-13 18:30:31 +00:00
Julia Reynolds
d7a6287f9e Merge "Don\'t crash on invalid numbers." into nyc-dev am: 5c401966a3
am: 54408a74fa

* commit '54408a74fa7988a66dc5f68704a2751c23485c0e':
  Don't crash on invalid numbers.

Change-Id: Idbcf00b60beaf13d5d023832ea9a6c9c0a9debbe
2016-05-13 18:24:22 +00:00
Daniel Nishi
e197dfa1fc Merge "Entries in the Deletion Helper should be default unchecked." into nyc-mr1-dev
am: 4924839515

* commit '4924839515811deaff1b0a758101f4db47a77683':
  Entries in the Deletion Helper should be default unchecked.

Change-Id: Iaa1bb02433378e3ad9ec0b1029566fc113d8fb14
2016-05-13 18:24:21 +00:00
Julia Reynolds
6c12a6723c Merge "Don\'t crash on invalid numbers." into nyc-dev
am: 5c401966a3

* commit '5c401966a3106a223eadabb1fbb156160fdd5222':
  Don't crash on invalid numbers.

Change-Id: If4ce5adec9f3297cf45d8a4f3378ed89c8518bef
2016-05-13 18:22:25 +00:00
Julia Reynolds
54408a74fa Merge "Don\'t crash on invalid numbers." into nyc-dev
am: 5c401966a3

* commit '5c401966a3106a223eadabb1fbb156160fdd5222':
  Don't crash on invalid numbers.

Change-Id: Ia622b5a3cb31a6ad0a9aebdb1a3cff28c6d4eb04
2016-05-13 18:22:18 +00:00
Daniel Nishi
4924839515 Merge "Entries in the Deletion Helper should be default unchecked." into nyc-mr1-dev 2016-05-13 18:15:28 +00:00
Julia Reynolds
5c401966a3 Merge "Don't crash on invalid numbers." into nyc-dev 2016-05-13 18:14:59 +00:00
Julia Reynolds
b9cad485af Don't crash on invalid numbers.
Change-Id: I5c1bff5733c5db5f411c2827177b0c1efa1e120e
Fixes: 28756890
2016-05-13 14:01:40 -04:00
Felipe Leme
56ef787183 Merge "Fixed calls to update() when configuration changed." into nyc-dev am: f4f2211b13 am: 23c69bb59f
am: 7e8863479e

* commit '7e8863479eff2c72d9ef495220ccf75dc4077bcf':
  Fixed calls to update() when configuration changed.

Change-Id: Id942919e17543b00169ffa22878f1d6fbf768be7
2016-05-13 17:49:57 +00:00
Felipe Leme
7e8863479e Merge "Fixed calls to update() when configuration changed." into nyc-dev am: f4f2211b13
am: 23c69bb59f

* commit '23c69bb59fa0eb76d9c5e0b6cfeb0af066b4c42d':
  Fixed calls to update() when configuration changed.

Change-Id: I525d4a70ff91c28809ecb01e184587d889060df9
2016-05-13 17:47:12 +00:00
Felipe Leme
312ecda0ec Merge "Fixed calls to update() when configuration changed." into nyc-dev
am: f4f2211b13

* commit 'f4f2211b1364422abec41e056af77c03247c3f4e':
  Fixed calls to update() when configuration changed.

Change-Id: I0192f6a8e94996adbe458f523b0b004b73aa955f
2016-05-13 17:44:45 +00:00
Felipe Leme
23c69bb59f Merge "Fixed calls to update() when configuration changed." into nyc-dev
am: f4f2211b13

* commit 'f4f2211b1364422abec41e056af77c03247c3f4e':
  Fixed calls to update() when configuration changed.

Change-Id: Ia35d89560fe2dd51d1c0dc8da3d1209c2cb03622
2016-05-13 17:44:41 +00:00
Felipe Leme
85779c82be Merge "Removed onRestrictPowerChanged()." into nyc-dev am: 85f4269c9f am: 7fe77ae5db
am: cfe2bfd8b4

* commit 'cfe2bfd8b4ce35c684ddfe696e9f88a270d59b55':
  Removed onRestrictPowerChanged().

Change-Id: I312a9a17609741ab5725e3e2ba409eb9e63b30f7
2016-05-13 17:38:35 +00:00
TreeHugger Robot
f4f2211b13 Merge "Fixed calls to update() when configuration changed." into nyc-dev 2016-05-13 17:35:20 +00:00
Felipe Leme
cfe2bfd8b4 Merge "Removed onRestrictPowerChanged()." into nyc-dev am: 85f4269c9f
am: 7fe77ae5db

* commit '7fe77ae5db69a5ed6e50faa7fd345d4e29ff807a':
  Removed onRestrictPowerChanged().

Change-Id: I6619f264a5ce8692bab48b2e6af64b534d88b238
2016-05-13 17:28:43 +00:00
Felipe Leme
828852a7cc Merge "Removed onRestrictPowerChanged()." into nyc-dev
am: 85f4269c9f

* commit '85f4269c9f3c79f19b2263fc15d2404bde0e1f0e':
  Removed onRestrictPowerChanged().

Change-Id: If0c2f4eb4db3107aeabecb236b5aec93f252f57e
2016-05-13 17:25:34 +00:00
Felipe Leme
7fe77ae5db Merge "Removed onRestrictPowerChanged()." into nyc-dev
am: 85f4269c9f

* commit '85f4269c9f3c79f19b2263fc15d2404bde0e1f0e':
  Removed onRestrictPowerChanged().

Change-Id: Ie44a6664f2fb91a7556d4d8700ce18da8e6512f3
2016-05-13 17:25:33 +00:00
TreeHugger Robot
85f4269c9f Merge "Removed onRestrictPowerChanged()." into nyc-dev 2016-05-13 17:14:12 +00:00
Amit Mahajan
112f529327 Merge "Fix cannot build prefer or restore APN for Secondary SIM/Sub." am: 5620699fb9 am: 1545987bec am: 68026dbac5
am: 038fe280c4

* commit '038fe280c4adbcba85a785602a7609717621bdc1':
  Fix cannot build prefer or restore APN for Secondary SIM/Sub.

Change-Id: I39721e53c7b2bdd63ccbda18a321bc6eb4fa1d03
2016-05-13 16:59:53 +00:00
Yifan Bai
038fe280c4 Merge "Fix cannot build prefer or restore APN for Secondary SIM/Sub." am: 5620699fb9 am: 1545987bec
am: 68026dbac5

* commit '68026dbac56aa837ffd2fead4a2a59440ee3729c':
  Fix cannot build prefer or restore APN for Secondary SIM/Sub.

Change-Id: I3f60ca9fc7d70e6fbc383a18f3238ed341beb968
2016-05-13 16:57:19 +00:00
Amit Mahajan
68026dbac5 Merge "Fix cannot build prefer or restore APN for Secondary SIM/Sub." am: 5620699fb9
am: 1545987bec

* commit '1545987bec5f2f8c5b98c1cfbba610ece2d537b0':
  Fix cannot build prefer or restore APN for Secondary SIM/Sub.

Change-Id: I739817ba6a0adfdd1b8edf9d04ee135346f1283a
2016-05-13 16:54:49 +00:00
Victor Chang
fd965b82bc Merge "Fix NULL instead of DPC name is displayed in Certificate warning" into nyc-dev am: 19c7ef11bd am: 2c41dea8b3
am: 1eb6b46304

* commit '1eb6b46304f26d5b8d5b956a8d9852e473bf4cae':
  Fix NULL instead of DPC name is displayed in Certificate warning

Change-Id: Ic086a7d10107e7d752d41c3118ec3453047b1210
2016-05-13 15:17:49 +00:00
Victor Chang
1eb6b46304 Merge "Fix NULL instead of DPC name is displayed in Certificate warning" into nyc-dev am: 19c7ef11bd
am: 2c41dea8b3

* commit '2c41dea8b37a0289c3f07fbf7cbd5e682523b7a3':
  Fix NULL instead of DPC name is displayed in Certificate warning

Change-Id: I1e119d62cd1369cdd6365c9b3e06d299f30299e8
2016-05-13 15:15:16 +00:00
Victor Chang
2c41dea8b3 Merge "Fix NULL instead of DPC name is displayed in Certificate warning" into nyc-dev
am: 19c7ef11bd

* commit '19c7ef11bdc649b3619f421946225d8953218fd1':
  Fix NULL instead of DPC name is displayed in Certificate warning

Change-Id: I3394d9eb0808f795b8dcce03578a0631731b2bee
2016-05-13 15:12:50 +00:00
Victor Chang
6b5c77a752 Merge "Fix NULL instead of DPC name is displayed in Certificate warning" into nyc-dev
am: 19c7ef11bd

* commit '19c7ef11bdc649b3619f421946225d8953218fd1':
  Fix NULL instead of DPC name is displayed in Certificate warning

Change-Id: I85bb03da5e85fb401e672783295e5f545dbd10ab
2016-05-13 15:12:49 +00:00
Victor Chang
19c7ef11bd Merge "Fix NULL instead of DPC name is displayed in Certificate warning" into nyc-dev 2016-05-13 15:08:17 +00:00
Steven Ng
3fe140315d Add a Global setting for disabling OEM unlocking setting
+ Don't enable OEM unlocking setting if the global setting disallows it.

Bug: 28163088
Change-Id: Ic306da3fa2cecb90865be055566a7e1603e6b5e2
2016-05-13 14:09:59 +00:00
Victor Chang
cba033e4b5 Fix NULL instead of DPC name is displayed in Certificate warning
Bug: 28752118

Change-Id: I5a6e17efd92aaea5188d83f2ccb7e7b8d1f1dc1b
2016-05-13 14:45:30 +01:00