Daniel Nishi
76cd0118e9
Update the deletion helper feature factory for photos and videos.
...
Bug: 28554187
Change-Id: I7fcc34af87ec17e9396f390d851fd31df1dc951a
2016-05-19 10:05:59 -07:00
Daniel Nishi
c408e9c011
Don't show app in deletion helper if it was installed recently.
...
This solves several problems. The first is that if a user installs
a large app which triggers the deletion helper, the deletion helper
may clear out the recently installed large app to free up space.
The second is that it appears that the usage stats may not be
synced from device to device currently using Backup and Restore.
By considering the installation to be a use for deletion helper
filtering, this should avoid the problem for 60 days (and if the
user hasn't used the app at that point, it should be fair game
to clear).
Bug: 28800057
Change-Id: Idb8545aa45a42e45dc673dc5c179c0197204edfd
2016-05-18 09:56:43 -07:00
Daniel Nishi
0216e9dc2e
Add an upsell dialog to activate the storage manager.
...
After a manual clear, the user will be prompted to turn
on the storage manager, if it is turned off. The prompt
will only show up after certain defined delay times and
stop showing up entirely if denied enough times.
Currently, the dialog does not actually turn on the storage
manager because the storage manager is not yet landed.
Bug: 28801159
Change-Id: I3c221786d08a7102b3b5357416ab12692d1894cf
2016-05-18 09:25:38 -07:00
Julia Reynolds
1ca6867e35
Merge "Null check." into nyc-dev
...
am: fc1bb74186
* commit 'fc1bb74186c61712041dfa25e446391f7d8904a1':
Null check.
Change-Id: Idbcee7bd10b0f530c7d48760e93cd3f8be3448b5
2016-05-18 14:10:12 +00:00
Julia Reynolds
fc1bb74186
Merge "Null check." into nyc-dev
2016-05-18 14:02:05 +00:00
Yohei Yukawa
161def60eb
Follow class package change: LocaleList
...
am: 1ef9c4afd5
* commit '1ef9c4afd56b534f836c38437624eabaa6691f0b':
Follow class package change: LocaleList
Change-Id: I5c36047c90d110aa241b86ea74b23648526833e8
2016-05-18 02:24:57 +00:00
Yohei Yukawa
1ef9c4afd5
Follow class package change: LocaleList
...
In order to avoid layering violation, LocaleList needs to be moved from
android.util package to android.os package [1]. This CL follows up that
package change.
No behavior change is intended.
[1]: Ia8de2ee9df3dd0a42b1fe84574439519b680fe18
Bug: 28819696
Change-Id: Ibd7934b30062046830d63f33d1c6febef32da976
2016-05-17 16:25:39 -07:00
Julia Reynolds
47beeec10b
Null check.
...
Change-Id: I16dfe2cf265b4254aa69bc6165a8f72fc3954d7a
Fixes: 28531037
2016-05-17 16:14:10 -04:00
Felipe Leme
26e2c6bc26
Merge "Implemented onRestrictBackgroundBlacklistChanged()." into nyc-dev
...
am: c769ddd330
* commit 'c769ddd330c7b5734c5c319ef7fc3cabd0c226f8':
Implemented onRestrictBackgroundBlacklistChanged().
Change-Id: Ifb0c4bdfa825948cb18d382c0c8eb29ce3d187b7
2016-05-17 18:39:08 +00:00
TreeHugger Robot
c769ddd330
Merge "Implemented onRestrictBackgroundBlacklistChanged()." into nyc-dev
2016-05-17 18:28:21 +00:00
Daniel Nishi
699efba106
Merge "Add the automatic storage manager settings." into nyc-mr1-dev
2016-05-17 18:10:53 +00:00
Rachel Zhang
97a8db3c8a
Merge "Remove settings overflow menu" into nyc-mr1-dev
2016-05-17 16:51:25 +00:00
Daniel Nishi
116a55cdab
Add the automatic storage manager settings.
...
This provides a toggle for changing if the storage manager
is turned on or off and how many days of data to retain.
It is currently not hooked up to anything currently and only acts as
the view, pending b/28600825.
Bug: 28560570
Change-Id: Iaa2d819f26addab4dc02ced80e9ba79e0fcf0980
2016-05-17 09:32:12 -07:00
Daniel Nishi
e86eae854c
Merge "Add an alert dialog before clearing data in deletion helper." into nyc-mr1-dev
2016-05-17 16:21:27 +00:00
shwetachahar
b34112820a
Merge "Modify the TTS engine preference UI so that the radio button and the TTS engine name are a single focusable element." into nyc-dev
...
am: 1cb87b2af5
* commit '1cb87b2af57df71d56951c43aa28b8d01b4fb2a7':
Modify the TTS engine preference UI so that the radio button and the TTS engine name are a single focusable element.
Change-Id: I72f2a0a95aadb87031ab53c9d2479f45f3e452ef
2016-05-17 14:32:16 +00:00
Shweta Chahar
1cb87b2af5
Merge "Modify the TTS engine preference UI so that the radio button and the TTS engine name are a single focusable element." into nyc-dev
2016-05-17 14:27:09 +00:00
Robin Lee
dfd2fc6d06
Don't crash trying to disable lockdown VPN
...
Bug: 28624328
Change-Id: I2b726453da43feaf5f46d45679a702a52e6f4df0
2016-05-17 14:58:32 +01:00
shwetachahar
43d93289ba
Modify the TTS engine preference UI so that the radio button and the TTS
...
engine name are a single focusable element.
Bug: 27136946
Change-Id: I502634e0942b9fe30e290ce9de6ba293f33bf863
2016-05-17 13:56:57 +01:00
Daniel Nishi
46c32b9e32
Add an alert dialog before clearing data in deletion helper.
...
The dialog states how much space will be freed by the deletion
and prompts the user to either cancel or continue with the
deletion.
BUG: 28762412
Change-Id: I8db2a8f928c82ebaa2cf5fea030b6b6f4730eb3e
2016-05-16 15:36:28 -07:00
Rachel Zhang
471815e4bd
Remove settings overflow menu
...
Bug: 28139684
Change-Id: I099af85878fde5f2317be312f979994fbbc87287
2016-05-16 13:43:51 -07:00
Felipe Leme
b2c4949de7
Implemented onRestrictBackgroundBlacklistChanged().
...
BUG: 28743623
Change-Id: I2d8620360858660fed0e745b16dc61ce262b90b9
2016-05-16 20:43:12 +00:00
Julia Reynolds
3d18e1991a
Merge "Fix crash on rotation." into nyc-dev
...
am: 075690875b
* commit '075690875b437822d23dc38df5e1c02564a7b83e':
Fix crash on rotation.
Change-Id: I08a281fa426b81ebcf0021b89adbe04379d305ec
2016-05-16 20:19:46 +00:00
Julia Reynolds
075690875b
Merge "Fix crash on rotation." into nyc-dev
2016-05-16 20:12:06 +00:00
Julia Reynolds
176b28663b
Fix crash on rotation.
...
Change-Id: Ife0a040bfc1a6ecc579d544f78cc45e37f5bca3c
Fixes: 28767083
2016-05-16 15:56:15 -04:00
Julia Reynolds
35dc1899a6
Merge "Catch rule creation exceptions." into nyc-dev
...
am: f1c2e62f4e
* commit 'f1c2e62f4ec00205dc1e78ff66e77d8380d9a6f2':
Catch rule creation exceptions.
Change-Id: Ia0aa67e7aa968b18dc54a4a171780fb283b3bee8
2016-05-16 18:29:16 +00:00
Julia Reynolds
f1c2e62f4e
Merge "Catch rule creation exceptions." into nyc-dev
2016-05-16 18:22:15 +00:00
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
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
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
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
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
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
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
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
TreeHugger Robot
f4f2211b13
Merge "Fixed calls to update() when configuration changed." into nyc-dev
2016-05-13 17:35:20 +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
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
Maurice Lam
1bc12ee9c2
Merge "[ScreenLock] Use requested quality for encryption popup" into nyc-dev
...
am: 102b368172
* commit '102b368172b4e8201b32efb686b3f3334e5ddbda':
[ScreenLock] Use requested quality for encryption popup
Change-Id: I9373cd533e57006e71e9ea7df064f203994c7217
2016-05-13 00:59:26 +00:00