Commit Graph

65313 Commits

Author SHA1 Message Date
Eino-Ville Talvala
fa141e303e DngCreator: Do not cache timezone in static initializer
am: ec727411d2

Change-Id: I86d207b7bfd156f5296aa3f5ba5acecd2d762d4e
2016-09-28 21:27:21 +00:00
Eino-Ville Talvala
ec727411d2 DngCreator: Do not cache timezone in static initializer
The static initializer for a pre-loaded framework class is run
no later than at zygote startup, which happens at device boot.

Which means that if the timezone later changes, DngCreator will use
an incorrect cached timezone until the next reboot.  This is especially
evident in freshly wiped devices, where initial setup will typically
change the timezone.

Instead, read the timezone each time DngCreator is created, which is
also when we query the current time for constructing the timestamps.

Test: android.hardware.camera2.cts.DngCreatorTest#testSingleImageThumbnail
Bug: 31743060
Change-Id: I83a4eac762650e5f904f3b8fa779c094cef30562
2016-09-28 11:10:00 -07:00
Jeremy Klein
140e5cce70 Remove unused mContext from BluetoothGatt[Server].
am: adc26ec1b4

Change-Id: Ic6650d0b5de52b8c4662fb5a103a9ff2c9194d42
2016-09-28 15:38:46 +00:00
Jeremy Klein
adc26ec1b4 Remove unused mContext from BluetoothGatt[Server].
All that this member variable is doing right now is leaking a
reference to a context without any benefit.

Bug: 31752040
Bug: 31710795
Change-Id: If2241422533318b866340e8dcc9f5fbd9518349c
2016-09-28 07:09:38 +00:00
Salvador Martinez
f3209d6c87 Changed themes for core activities
am: 7e2657c303

Change-Id: If4019d7f37ea13bbbcbaeaaccde40a112173683c
2016-09-28 00:08:55 +00:00
TreeHugger Robot
c43f05e669 Merge "Changed themes for core activities" into nyc-mr1-dev 2016-09-28 00:04:00 +00:00
Greg Kaiser
40c0435026 ContextHubService: Hack around 32-bit app ID
am: 1983f9b05b

Change-Id: I9b87a8f35d2f97dcea4bbd73fd2783e1ece26d33
2016-09-27 23:46:08 +00:00
Christopher Tate
cea6cc9d33 Don't leak wakelock instances
am: 4b17e984b6

Change-Id: I952939e1d7e7b7f3ddfff7ecdfb7f3ca70bd9b70
2016-09-27 23:44:51 +00:00
Greg Kaiser
a97c9617ae Merge "ContextHubService: Hack around 32-bit app ID" into nyc-mr1-dev 2016-09-27 23:41:44 +00:00
TreeHugger Robot
121a9941d4 Merge "Don't leak wakelock instances" into nyc-mr1-dev 2016-09-27 23:37:57 +00:00
Greg Kaiser
1983f9b05b ContextHubService: Hack around 32-bit app ID
The NanoApp.java class has a bug (b/30808791) where the API treats
app IDs as 32-bits, instead of 64-bits.  We are too late in the
Android N release cycle to change this API.

We previously put in a hack to fix this only for Google nanoapps.
However, our GTS nanoapps need this to work, and there are other
partners who need this to work in the N timeframe.  So we make
a more robust hack which parses the full 64-bit app ID out of
the header binary.

Test: Compiles and runs GTS
Bug: 31767599
Change-Id: Ic43f1f62c685fb99aac08d08767d1a67c329503f
2016-09-27 15:01:48 -07:00
Christopher Tate
4b17e984b6 Don't leak wakelock instances
Bug 31247436

Change-Id: I7c2ad956c43233b37e53856e9321cb87b01c35da
2016-09-27 15:00:48 -07:00
Svet Ganov
18b725ac0a [DO NOT MERGE] Use tokens instead of account access trackers
am: 32bfb594af

Change-Id: I1706ecca7b3b98a2a38483545270941ce8899939
2016-09-27 20:51:28 +00:00
TreeHugger Robot
5c07d0c2ee Merge "[DO NOT MERGE] Use tokens instead of account access trackers" into nyc-mr1-dev 2016-09-27 20:45:48 +00:00
Doris Liu
fd2c4f186b Allow null target in ObjectAnimator if the target has never been set
am: 4d04b1a446

Change-Id: I5438b8d79f6e245e8a87e1480023c0ac77243f10
2016-09-27 00:43:23 +00:00
TreeHugger Robot
f574ba6eed Merge "Allow null target in ObjectAnimator if the target has never been set" into nyc-mr1-dev 2016-09-27 00:38:05 +00:00
Kevin Hufnagle
52da8b3341 docs: Added min/max values and descriptions for alpha getter/setter in ImageView am: bdb308a059 am: c012a7ed7a
am: 971696f632

Change-Id: Ie85b198034089302bd5fee74c0c01dccfe460cc3
2016-09-27 00:25:13 +00:00
Kevin Hufnagle
5fb698fa29 docs: Added note in getCacheDir() that developers can use directory obtained from getExternalCacheDir() to store app caches larger than 1 MB. am: e9681e192a am: 2e8026acc0
am: e83639f66a

Change-Id: Iccc0b748b9b41e3cb61b2a9852767e9196fcba76
2016-09-27 00:23:39 +00:00
Kevin Hufnagle
8dd1a15ff3 docs: Removed all instances of "i.e." in IntentFilter parameter descriptions. am: e20b3d78e3 am: 9402b319fe
am: abfc0340d7

Change-Id: Iebd2b8d3492d717f26c363aedae741c48f5d8985
2016-09-27 00:19:46 +00:00
Kevin Hufnagle
971696f632 docs: Added min/max values and descriptions for alpha getter/setter in ImageView am: bdb308a059
am: c012a7ed7a

Change-Id: Ib2c868e86e516ae2a2f92e4e26a8c0113237557a
2016-09-27 00:08:50 +00:00
Kevin Hufnagle
32c48b6865 docs: Added note in LayoutTransition class reference that APPEARING and DISAPPEARING animation timelines cannot overlap am: 5232329b4e am: ad5cafd283
am: 8e9b8b6c74

Change-Id: I8baad9aaf6bd0f1fc31b5325f16fbd76f307e8fd
2016-09-27 00:03:31 +00:00
Kevin Hufnagle
e83639f66a docs: Added note in getCacheDir() that developers can use directory obtained from getExternalCacheDir() to store app caches larger than 1 MB. am: e9681e192a
am: 2e8026acc0

Change-Id: I93a1abe6b80a441f8c441390dacbff2824d52e57
2016-09-27 00:02:44 +00:00
Kevin Hufnagle
abfc0340d7 docs: Removed all instances of "i.e." in IntentFilter parameter descriptions. am: e20b3d78e3
am: 9402b319fe

Change-Id: Id7d4b705073802abcb2d902b50673a09933ff3da
2016-09-27 00:01:00 +00:00
Kevin Hufnagle
73bc7dbed2 docs: Clarified definition of KeyEvent.Callback.onKeyMultiple() am: b248b1f689 am: fcd4541b06
am: 8aff16acb7

Change-Id: I81108107b9d9f0cb3e1a58201ebb094552d5e2fd
2016-09-27 00:00:29 +00:00
Kevin Hufnagle
8e9b8b6c74 docs: Added note in LayoutTransition class reference that APPEARING and DISAPPEARING animation timelines cannot overlap am: 5232329b4e
am: ad5cafd283

Change-Id: I8593de353f1186b2aa892cf541a4718d64474b15
2016-09-26 23:50:14 +00:00
Kevin Hufnagle
8aff16acb7 docs: Clarified definition of KeyEvent.Callback.onKeyMultiple() am: b248b1f689
am: fcd4541b06

Change-Id: If0e9042f0df23403a128e45ca61258930b7db982
2016-09-26 23:47:09 +00:00
Kevin Hufnagle
c012a7ed7a docs: Added min/max values and descriptions for alpha getter/setter in ImageView
am: bdb308a059

Change-Id: Ida297f581f7177cd92ec4157a1b735c91d2e26a4
2016-09-26 23:37:36 +00:00
Kevin Hufnagle
2e8026acc0 docs: Added note in getCacheDir() that developers can use directory obtained from getExternalCacheDir() to store app caches larger than 1 MB.
am: e9681e192a

Change-Id: Ide8f3c2dd5414737c798c20c1fe9f11dcd9640ce
2016-09-26 23:36:25 +00:00
Kevin Hufnagle
9402b319fe docs: Removed all instances of "i.e." in IntentFilter parameter descriptions.
am: e20b3d78e3

Change-Id: I8d677ebcf03c28f46874514408240162cd6331c5
2016-09-26 23:34:58 +00:00
Kevin Hufnagle
20dc9e6ef2 docs: Fixed example of ACTION_VIEW intent am: aedfd75b1b am: 2c885fc5ea
am: ee3fc61cf9

Change-Id: Idfc656fb39dbc1b86e114e415065488dc5ec840c
2016-09-26 23:24:57 +00:00
Kevin Hufnagle
ee3fc61cf9 docs: Fixed example of ACTION_VIEW intent am: aedfd75b1b
am: 2c885fc5ea

Change-Id: I1d94ee6938726736d6cbccafea848dd6f3d6a350
2016-09-26 23:16:02 +00:00
Kevin Hufnagle
ad5cafd283 docs: Added note in LayoutTransition class reference that APPEARING and DISAPPEARING animation timelines cannot overlap
am: 5232329b4e

Change-Id: Ib3f8ffa61495a237c6e69b8f9260b46027c26a2a
2016-09-26 23:15:18 +00:00
Kevin Hufnagle
fcd4541b06 docs: Clarified definition of KeyEvent.Callback.onKeyMultiple()
am: b248b1f689

Change-Id: Ie7380c80fc81b65a89337c7c126abc1dfe58a76e
2016-09-26 23:12:46 +00:00
Kevin Hufnagle
720d43bbf0 docs: Adjusted return value desc. for getApplicationEnabledSetting am: 5add769f59 am: d23fc43965
am: bec2e99f95

Change-Id: Id23e76b4fc3d07faed1d16538ff21bd09941de41
2016-09-26 23:05:58 +00:00
Kevin Hufnagle
2c885fc5ea docs: Fixed example of ACTION_VIEW intent
am: aedfd75b1b

Change-Id: Iaaaa1cb0f6d796ad5c5c178c70850fd83e635013
2016-09-26 23:00:51 +00:00
Kevin Hufnagle
bec2e99f95 docs: Adjusted return value desc. for getApplicationEnabledSetting am: 5add769f59
am: d23fc43965

Change-Id: I27847f0935c047e74ab986c501fce160679a80d7
2016-09-26 23:00:16 +00:00
Kevin Hufnagle
d23fc43965 docs: Adjusted return value desc. for getApplicationEnabledSetting
am: 5add769f59

Change-Id: Ic0566aa6e2764a9d0db58c6f66ad028229a8fdca
2016-09-26 22:52:54 +00:00
Doris Liu
4d04b1a446 Allow null target in ObjectAnimator if the target has never been set
BUG: 31684571
Test: http://ag/1484115

Change-Id: I867fc3f93ddf70c58ae4387317ac875c5bafbebe
2016-09-26 22:32:41 +00:00
Chien-Yu Chen
8425ebc28f Camera2: Support early finished tasks
am: dd6629ef86

Change-Id: I7832128fc3fb0ae51d0259a469bf017d50d9f426
2016-09-26 21:40:34 +00:00
Chien-Yu Chen
5fb00f4d05 Merge "Camera2: Support early finished tasks" into nyc-mr1-dev 2016-09-26 21:35:21 +00:00
Salvador Martinez
7e2657c303 Changed themes for core activities
Many activities in core were using the
material theme which would result in teal
colors on all devices. These themes have
all been changed to DeviceDefault so that
the color will be more suited to whatever
device the user has.

Test: Manual Inspection
Bug: 31623421
Change-Id: I6847023c4fb57a1c3384a1f8e483cd740229458f
2016-09-26 12:49:31 -07:00
Hidenari Koshimae
ab8a42f7d9 Increase priority for broadcast intent triggered by HW key
am: 469e65e37f

Change-Id: I7b2aec06b7d2d0375b2f680e7880ca401684cddd
2016-09-26 19:33:25 +00:00
TreeHugger Robot
72f2597b17 Merge "Increase priority for broadcast intent triggered by HW key" into nyc-mr1-dev 2016-09-26 19:20:41 +00:00
Ajay Panicker
26803036be Prevent NPE if someone creates a bad BluetoothHealthAppConfig object
am: 74fa2d6846

Change-Id: I4009d3fae047e80d0804a978acbea6aa0625ef75
2016-09-26 18:32:20 +00:00
Pankaj Kanwar
fe8176bda7 Merge "Prevent NPE if someone creates a bad BluetoothHealthAppConfig object" into nyc-mr1-dev 2016-09-26 18:24:38 +00:00
Mark Lu
56ae75bd81 docs: improve docs for sqlite package summary am: 59640a9f1c am: e9480d08d3
am: fd4f71e3c3

Change-Id: I87bddc7048ca2c5d086662d2d258060905ebc8e6
2016-09-26 17:47:26 +00:00
Mark Lu
ec58f6ef19 docs: Update docs for SQLiteDatabase replace methods am: 1e20208d90 am: 376f3e6b3a
am: 33ec89cd65

Change-Id: I6a208d42360f716a921b740ed86ea420c987f624
2016-09-26 17:45:09 +00:00
Hemal Patel
9d0da98c88 Fixed a typo in the code sample am: 247d1c9ea8 am: 6a400a5190
am: f6356ef3f6

Change-Id: I04a154eeb1bcfdcc5ccfb934880df5bf2b10af41
2016-09-26 17:43:27 +00:00
Mark Lu
fd4f71e3c3 docs: improve docs for sqlite package summary am: 59640a9f1c
am: e9480d08d3

Change-Id: I31119ebf54616d80d1bb2e508014f8563c5a0b88
2016-09-26 17:32:37 +00:00
Mark Lu
33ec89cd65 docs: Update docs for SQLiteDatabase replace methods am: 1e20208d90
am: 376f3e6b3a

Change-Id: Iaeb30e87c43da49c294ca551f778e66d6b309d1d
2016-09-26 17:31:05 +00:00