Alex Naidis
bede012069
Merge "StorageManager: Improve exception handling" am: cf3a4a68bd am: 545cf37844 am: edca8aa3a8
...
am: 32dfe8c611
Change-Id: I5faf99bd2b4425f1615419de43f247f78d74108b
2017-01-09 17:14:34 +00:00
Alex Naidis
32dfe8c611
Merge "StorageManager: Improve exception handling" am: cf3a4a68bd am: 545cf37844
...
am: edca8aa3a8
Change-Id: Idbd8b16f0825bdcf48d2013448c767d0966434fe
2017-01-09 17:09:31 +00:00
Alex Naidis
edca8aa3a8
Merge "StorageManager: Improve exception handling" am: cf3a4a68bd
...
am: 545cf37844
Change-Id: I452e3fcbda9cfa24db5b2bfdd077b7e5a7b241b4
2017-01-09 17:04:32 +00:00
Alex Naidis
545cf37844
Merge "StorageManager: Improve exception handling"
...
am: cf3a4a68bd
Change-Id: Id421cb483655dab6d379251d983da2bdcafe598d
2017-01-09 16:59:56 +00:00
Alison Cichowlas
0f961084ce
Merge "Log wrapper for multi-metrics in tron."
2017-01-09 16:39:04 +00:00
Alex Naidis
19d9c2d03c
StorageManager: Improve exception handling
...
When "getPrimaryStorageSize" provides a path
to "readLong", the option that the path
doesn't exist is expected, since it tries
all paths from "INTERNAL_STORAGE_SIZE_PATHS"
until there is success.
This patch makes us catch the "FileNotFoundException"
and "NumberFormatException" seperately.
For the above reason a "FileNotFoundException"
is now treated as an information only.
The "NumberFormatException" and other exceptions
are now treated as error since those are not
expected to happen.
Change-Id: I5316f9c3108e36c31b27dc5df8bf8ac4d4257629
Signed-off-by: Alex Naidis <alex.naidis@linux.com >
2017-01-09 16:27:52 +00:00
Julia Reynolds
6eb2857ee2
Merge "Cannot have badge only channels"
2017-01-09 14:59:50 +00:00
Charles He
31df867f7e
Merge "Update SystemUpdatePolicy javadoc."
2017-01-09 11:09:58 +00:00
Nick Kralevich
4429993d78
Merge "Dumps total size of primary storage." am: 55dc66dde4 am: 12b387dd87
...
am: a63462c794
Change-Id: I2a62442a581d89054421dd6c44c610fb7ee9a0c4
2017-01-08 15:09:21 +00:00
Nick Kralevich
a63462c794
Merge "Dumps total size of primary storage." am: 55dc66dde4
...
am: 12b387dd87
Change-Id: I08e98467d212a7f9ec01b16a46540bc3d059ee51
2017-01-08 15:04:54 +00:00
Nick Kralevich
12b387dd87
Merge "Dumps total size of primary storage."
...
am: 55dc66dde4
Change-Id: Ifc3537d3aeda5e6eb3b1c003a4eaf392d07bcf86
2017-01-08 15:00:18 +00:00
Felipe Leme
c0d3f0ed52
Dumps total size of primary storage.
...
BUG: 32069168
Test: manual verification
(cherry picked from commit 281389ac54 )
Change-Id: If5dee52a99c03a00dada22736c09d953dc0b66d1
2017-01-08 03:51:37 +01:00
Jeff Sharkey
8d729e8c14
Merge "Initial API shape for storage statistics."
2017-01-07 16:18:38 +00:00
Dave Friedman
a873bf444e
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b am: a111e0f7f0 am: eedb695579 am: fb8676e50c
...
am: 5346355f4d
Change-Id: I67559350187089b64f0ce092c1f6ae8e7a52542e
2017-01-07 03:06:54 +00:00
Dave Friedman
5346355f4d
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b am: a111e0f7f0 am: eedb695579
...
am: fb8676e50c
Change-Id: I5b13dcbab3aed19c805473a6ab91eef197ded51d
2017-01-07 02:58:15 +00:00
Dave Friedman
fb8676e50c
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b am: a111e0f7f0
...
am: eedb695579
Change-Id: Ia5922ed50290cc8f47d07f1516bc5a21b0bec270
2017-01-07 02:50:18 +00:00
TreeHugger Robot
54f0fd1071
Merge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED."
2017-01-07 02:48:44 +00:00
Dave Friedman
eedb695579
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b
...
am: a111e0f7f0
Change-Id: Ic5d7e0ce01bd573e0882122d0709cbc2da56f448
2017-01-07 02:43:44 +00:00
Dmitry Dementyev
ed92d5b55b
Merge "Implement Account Discovery API."
2017-01-07 02:41:44 +00:00
Dave Friedman
a111e0f7f0
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe
...
am: e0fd4c8a3b
Change-Id: I8f65ad71433efbe1121e0617c6d7575b7db3a051
2017-01-07 02:38:45 +00:00
Dave Friedman
e0fd4c8a3b
Docs: Updates Javadoc documentation. Bug: 32532540
...
am: 2a3ebadcbe
Change-Id: Ibee55c5e73d9b51e5f5df24be01b0b797fa8a7a5
2017-01-07 02:30:45 +00:00
Adam Lesinski
6224a32197
Merge changes from topic 'learned_capacity'
...
* changes:
BatteryStats: Report learned battery capacity as event
Parcel/unparcel charge_full state from BatteryProperties
2017-01-07 01:51:07 +00:00
Stefan Kuhne
643ba812eb
Merge "Apps which do not support density cannot be resized"
2017-01-07 01:35:02 +00:00
Alison Cichowlas
803054dccb
Log wrapper for multi-metrics in tron.
...
Test: Added new LogBuilderTest; runtest --path frameworks/base/core/tests/coretests/src/com/android/internal/logging/LogBuilderTest.java
new file: core/java/com/android/internal/logging/LogWrapper.java
Change-Id: I8c64a07b95ab9a70f39663d4ec54f9ec1bf49063
2017-01-06 20:24:16 -05:00
Dmitry Dementyev
58fa836210
Implement Account Discovery API.
...
Bug: https://b.corp.google.com/issues/33046496
Test: cts tests, manual tests.
Change-Id: I03d1ae5dfa1577f191817aa7d508f6b4d0e625ed
2017-01-06 16:44:27 -08:00
Dave Friedman
2a3ebadcbe
Docs: Updates Javadoc documentation.
...
Bug: 32532540
Change-Id: Ia811d9a51812206b18b75a98f6c5a55b92627404
2017-01-06 16:41:19 -08:00
Jeremy Joslin
5519d7cf71
Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED.
...
Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
BUG: 33752149
Change-Id: I7d91fa9a4f6ef4f9170c6af98567ce443c805e74
2017-01-06 15:42:57 -08:00
Makoto Onuki
2e83edb4b0
Merge "Revert "ShortcutManager: Floating shortcuts shouldn't have target activities.""
2017-01-06 21:32:35 +00:00
Julia Reynolds
aebfc4e7a3
Cannot have badge only channels
...
Test: runtest systemui-notification & cts
Change-Id: I256e35a79400c1d25b3d2f1c7c5f8c513242a2aa
2017-01-06 15:56:44 -05:00
Sergei Vasilinetc
ab08c65533
Merge changes I68d56d76,Iad432577
...
* changes:
Hidden method to get a graphic buffer from a hardware bitmap
Move GraphicBuffer to graphics package
2017-01-06 20:36:41 +00:00
TreeHugger Robot
a8d123de10
Merge "Support for WindowContainer controllers and listeners"
2017-01-06 20:07:31 +00:00
TreeHugger Robot
deafcf02c2
Merge changes If135544e,Ic595b01f
...
* changes:
bools: fix use_lock_pattern_drawable javadoc.
widget: Adding support for custom LockPatternView.
2017-01-06 20:06:02 +00:00
Ruchi Kandoi
bc1d78606c
Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings." am: cc4203221b am: 388980d88f am: c1db6c05d0
...
am: bbc00c877f
Change-Id: I1a84b4ce4215136f30ce7936581ee80230c8abbc
2017-01-06 19:19:51 +00:00
Makoto Onuki
9fd9019cf1
Revert "ShortcutManager: Floating shortcuts shouldn't have target activities."
...
This reverts commit 106ff7a0a1 .
Test: All the unit tests (ShortcutManagerTest1*) CtsShortcutHostTestCases and CtsShortcutManagerTestCases
Change-Id: Iadce2b3785cbf728daa60c4e2ff103e516d85896
2017-01-06 11:17:08 -08:00
Ruchi Kandoi
bbc00c877f
Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings." am: cc4203221b am: 388980d88f
...
am: c1db6c05d0
Change-Id: I874bc8b70d34ce2b579ff34eda0fd90c0284661d
2017-01-06 19:10:22 +00:00
Ruchi Kandoi
c1db6c05d0
Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings." am: cc4203221b
...
am: 388980d88f
Change-Id: I8d5498492cae8ffe9048422720427855eaad5ca8
2017-01-06 19:03:07 +00:00
Ruchi Kandoi
388980d88f
Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings."
...
am: cc4203221b
Change-Id: I4add3ce1cf3170aff887865302964b4425094692
2017-01-06 18:58:17 +00:00
Ruchi Kandoi
104e0b4399
nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings.
...
Bug: 32881476
Test: Manual; backup, change settings, restore
Change-Id: Ibc31b23f632c50a2c7120734fc96e7d855df062e
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com >
2017-01-06 18:48:51 +00:00
Alain Vongsouvanh
88a2a61f09
widget: Adding support for custom LockPatternView.
...
OEMs can overlay the default 9 dots by providing two drawables that represent
those dots:
* lockscreen_notselected: asset to display when a cell has not been selected.
* lockscreen_selected: asset to display when a cell has been selected.
BUG: 33755663
Change-Id: Ic595b01f5e1321696b7a3feb0ff73c1acccfb942
2017-01-06 10:22:45 -08:00
TreeHugger Robot
424bce6ec6
Merge "Use internal volume controller and status bar."
2017-01-06 17:39:08 +00:00
Wale Ogunwale
26c0dfed7a
Support for WindowContainer controllers and listeners
...
- WindowContainerController class allows a component outside window manager
to create a window container and communicate directly with it to make
changes. For example, the ActivityRecord class in activity manager uses the
AppWindowContainerController class to create and communicate with
AppWindowToken window container class which is its counterpart on the window
manager side.
- WindowContainerListener interface allows a component outside WM to get
notified of changes to a window container. For example, the ActivityRecord
class in AM implements the AppWindowContainerListener interface to get
notified of changes to the AppWindowToken container.
Bug: 30060889
Test: Existing tests pass and manual testing.
Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerControllerTests
Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerTests
Change-Id: I2896bfa46a80b227052528c7da8cf4e56beab4bc
2017-01-06 09:11:02 -08:00
skuhne@google.com
7e85eb0278
Apps which do not support density cannot be resized
...
This is to prevent apps which do not support density
(so essentially pre-Doughnut) from being resized and / or
windowed in free form mode.
These apps are rendered into a smaller sized buffer and
then scaled onto the screen. Using freeform window mode with
these apps uncovered many different problems.
Bug: 33843467
Test: Pre-N as well as Pre-Doughnut applications are presented
properly in free form mode. (Pre-Doughnut cannot be windowed /
resized, many M apps can).
Change-Id: I3c0eb3681486dc85ace15955432d79200743bce3
2017-01-06 08:39:41 -08:00
Julia Reynolds
bb983d20d2
Use internal volume controller and status bar.
...
Remove code that let these components be replaced by external
processes.
Bug: 33006669
Bug: 34106436
Test: manual. reboot device, play music, change volume,
view notifications
Change-Id: I458f11537ab9db6f23735487513815553004613f
2017-01-06 15:59:45 +00:00
Julia Reynolds
f35e3976e3
Allow apps to enable notification badging.
...
Test: runtest systemui-notification
Change-Id: Ia16d671d864d1eee902652e31f023e30dc6b7387
2017-01-06 10:57:51 -05:00
TreeHugger Robot
414f8fbdbb
Merge "resolve merge conflicts of 2fda2ce159 to nyc-mr1-dev-plus-aosp" into nyc-mr1-dev-plus-aosp
2017-01-06 10:40:36 +00:00
Narayan Kamath
3aea733059
Merge "PackageManagerService: Implement packageParser cache in ParallelPackageParser."
2017-01-06 09:14:03 +00:00
Ajay Panicker
d02e1c3024
Merge "Prevent LocalSocket from creating an fd if fd is already there" am: 616910fd53 am: d76576b6d1 am: e0211af867
...
am: af525ff403
Change-Id: I564721fb1ba889cd159f10e769aee4a5bee3db67
2017-01-06 01:57:10 +00:00
Ajay Panicker
af525ff403
Merge "Prevent LocalSocket from creating an fd if fd is already there" am: 616910fd53 am: d76576b6d1
...
am: e0211af867
Change-Id: I5ac57ca6439359fc65622254090a3ea6cc2aec18
2017-01-06 01:50:03 +00:00
Ajay Panicker
e0211af867
Merge "Prevent LocalSocket from creating an fd if fd is already there" am: 616910fd53
...
am: d76576b6d1
Change-Id: I0b59b10a095bf23d4f26856690bf6be2a5304cbc
2017-01-06 01:46:10 +00:00
Ajay Panicker
d76576b6d1
Merge "Prevent LocalSocket from creating an fd if fd is already there"
...
am: 616910fd53
Change-Id: I90192dd7e656b9bec62815ad628fc4e67f806240
2017-01-06 01:41:09 +00:00