OSDN Git Service
Svetoslav Ganov [Thu, 8 Dec 2016 21:51:00 +0000 (21:51 +0000)]
Fix vulnerability in MemoryIntArray am:
a97171ec49 am:
fb12dd509f am:
a5ee109029
am:
5250d90637
Change-Id: I08c3a670598d8d26694b7d282d0bd18ffb4faf9b
Svetoslav Ganov [Thu, 8 Dec 2016 21:46:34 +0000 (21:46 +0000)]
Fix vulnerability in MemoryIntArray am:
a97171ec49 am:
fb12dd509f
am:
a5ee109029
Change-Id: If1b852faa812b0bcb7419ae0f75a3e2349926de0
Svetoslav Ganov [Thu, 8 Dec 2016 21:42:05 +0000 (21:42 +0000)]
Fix vulnerability in MemoryIntArray am:
a97171ec49
am:
fb12dd509f
Change-Id: I269ec7d61ebdc9f485d759d1398d5fa4eacf868f
Svetoslav Ganov [Thu, 8 Dec 2016 21:37:33 +0000 (21:37 +0000)]
Fix vulnerability in MemoryIntArray
am:
a97171ec49
Change-Id: Ifa2221a9b8ca705ef0239d61772938ac11761ce2
Svetoslav Ganov [Thu, 8 Dec 2016 19:48:19 +0000 (11:48 -0800)]
Fix vulnerability in MemoryIntArray
MemoryIntArray was using the size of the undelying
ashmem region to mmap the data but the ashmem size
can be changed until the former is memory mapped.
Since we use the ashmem region size for boundary
checking and memory unmapping if it does not match
the size used while mapping an attacker can force
the system to unmap memory or to access undefined
memory and crash.
Also we were passing the memory address where the
ashmem region is mapped in the owner process to
support cases where the client can pass back the
MemoryIntArray instance. This allows an attacker
to put invalid address and cause arbitrary memory
to be freed.
Now we no longer support passing back the instance
to the owner process (the passed back instance is
read only), so no need to pass the memory adress
of the owner's mapping, thus not allowing freeing
arbitrary memory.
Further, we now check the memory mapped size against
the size of the underlying ashmem region after we do
the memory mapping (to fix the ahsmem size) and if
an attacker changed the size under us we throw.
Tests: Updated the tests and they pass.
bug:
33039926
bug:
33042690
Change-Id: I1004579181ff7a223ef659e85c46100c47ab2409
Bill Yi [Thu, 8 Dec 2016 17:16:51 +0000 (17:16 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am:
c0b7e766b0 -s ours
Change-Id: I00f0418ff736f2cb861ae7f1339f9ed477215b74
Bill Yi [Thu, 8 Dec 2016 17:16:49 +0000 (17:16 +0000)]
Import translations. DO NOT MERGE
am:
b004945727 -s ours
Change-Id: I4287af7000efb01c1203276a6e1817f52504a560
Bill Yi [Thu, 8 Dec 2016 17:15:12 +0000 (17:15 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am:
e1add91fa1 -s ours
Change-Id: I3c99e350f7130ea39ac29751f104fafc04dde0d2
Bill Yi [Thu, 8 Dec 2016 17:15:09 +0000 (17:15 +0000)]
Import translations. DO NOT MERGE
am:
c30efc0214 -s ours
Change-Id: I93c5e34494eb4d3cb56ca3652406cc2a24d62fd4
Bill Yi [Thu, 8 Dec 2016 17:13:32 +0000 (17:13 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am:
7e212ae873 -s ours
Change-Id: I14cbe78cdcb23fd8f82103395f057dca03a3b171
Bill Yi [Thu, 8 Dec 2016 17:13:31 +0000 (17:13 +0000)]
Import translations. DO NOT MERGE
am:
c300be1cf4 -s ours
Change-Id: I4318b5a4b5d6f927c03696cfe2ee52f5940bbe99
Bill Yi [Thu, 8 Dec 2016 17:12:00 +0000 (17:12 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am:
df9a47a79f -s ours
Change-Id: I5bf1a9de6b0539b8115fb89c738ef903736c9cb4
Bill Yi [Thu, 8 Dec 2016 17:11:59 +0000 (17:11 +0000)]
Import translations. DO NOT MERGE
am:
ef89f62670 -s ours
Change-Id: Ia2a1482ed04988a1d47940402ec868c25e8bd95f
Bill Yi [Thu, 8 Dec 2016 17:08:12 +0000 (17:08 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am:
3c54cdf15e -s ours
Change-Id: I4cdda925e378df0b674bae5c01ab9118d91d0dce
Bill Yi [Thu, 8 Dec 2016 17:08:10 +0000 (17:08 +0000)]
Import translations. DO NOT MERGE
am:
d4bdbc314b -s ours
Change-Id: Ib09ce8f953d127e4fdccaf3848f78678dc1f56b4
TreeHugger Robot [Thu, 8 Dec 2016 17:00:37 +0000 (17:00 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Thu, 8 Dec 2016 17:00:10 +0000 (17:00 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Thu, 8 Dec 2016 16:59:44 +0000 (16:59 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Thu, 8 Dec 2016 16:59:16 +0000 (16:59 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Thu, 8 Dec 2016 16:58:48 +0000 (16:58 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Thu, 8 Dec 2016 07:47:19 +0000 (23:47 -0800)]
Import translations. DO NOT MERGE
Change-Id: Iaf10ebaae14bf032c8e6ee512c3968c970b6438e
Auto-generated-cl: translation import
Bill Yi [Thu, 8 Dec 2016 07:21:48 +0000 (23:21 -0800)]
Import translations. DO NOT MERGE
Change-Id: I82ffbc76e650cbe5b782ad8ff4a257270d11b03f
Auto-generated-cl: translation import
Bill Yi [Thu, 8 Dec 2016 07:18:44 +0000 (23:18 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ifebc058ab8d5b151e49ef51ea2fd895817d70bd9
Auto-generated-cl: translation import
Bill Yi [Thu, 8 Dec 2016 07:00:43 +0000 (23:00 -0800)]
Import translations. DO NOT MERGE
Change-Id: I1b1c0c189c1979a7a885b4e6e6fef21bae6dd22a
Auto-generated-cl: translation import
Bill Yi [Thu, 8 Dec 2016 06:46:57 +0000 (22:46 -0800)]
Import translations. DO NOT MERGE
Change-Id: I4de79adeee71e5aa9f9055d09f6a6dd14d6a5dec
Auto-generated-cl: translation import
Svetoslav Ganov [Thu, 8 Dec 2016 02:40:55 +0000 (02:40 +0000)]
Revert "Fix vulnerability in MemoryIntArray" am:
1f06508bc6 am:
64b5725900 am:
60357eb6bd
am:
590b77da13
Change-Id: Ic676846ed4e671535ed79cbec39ab33ad52c97f1
Svetoslav Ganov [Thu, 8 Dec 2016 02:36:54 +0000 (02:36 +0000)]
Revert "Fix vulnerability in MemoryIntArray" am:
1f06508bc6 am:
64b5725900
am:
60357eb6bd
Change-Id: Ib81f6d25a1f59c14f47fe79325c95b02c7cbe639
Svetoslav Ganov [Thu, 8 Dec 2016 02:33:00 +0000 (02:33 +0000)]
Revert "Fix vulnerability in MemoryIntArray" am:
1f06508bc6
am:
64b5725900
Change-Id: Id7021fb02059cfb3bb9184ef24f417c0be7f55b9
Svetoslav Ganov [Thu, 8 Dec 2016 02:29:00 +0000 (02:29 +0000)]
Revert "Fix vulnerability in MemoryIntArray"
am:
1f06508bc6
Change-Id: Id387817495b1857f304203c8487da3db49bdd0e4
Svetoslav Ganov [Thu, 8 Dec 2016 02:17:40 +0000 (02:17 +0000)]
Revert "Fix vulnerability in MemoryIntArray"
This reverts commit
4694cad51122c20880d00389ef95833d7a14b358.
Change-Id: I235ea3c4bd86d90bf97bc1a2d023f4780251e570
Svetoslav Ganov [Thu, 8 Dec 2016 02:08:23 +0000 (02:08 +0000)]
Fix vulnerability in MemoryIntArray am:
4694cad511 am:
ec40a70ffb am:
138a541eaa
am:
557858b9c0
Change-Id: Ia6b6b59be28f938f4c3a7c4aecb035fd4c6607f6
Aart Bik [Thu, 8 Dec 2016 02:00:56 +0000 (02:00 +0000)]
Revert "Fix vulnerability in MemoryIntArray" am:
29139a8ae5 am:
86699f980f am:
65cf055ad9
am:
278cad4793
Change-Id: I545ba917e74f34716fe773250468e06b1dfd8312
Svetoslav Ganov [Thu, 8 Dec 2016 02:00:55 +0000 (02:00 +0000)]
Fix vulnerability in MemoryIntArray am:
4694cad511 am:
ec40a70ffb
am:
138a541eaa
Change-Id: I659d82f39cab9f6d73ceb118cdc74307ee995dfb
Svetoslav Ganov [Thu, 8 Dec 2016 01:56:24 +0000 (01:56 +0000)]
Fix vulnerability in MemoryIntArray am:
4694cad511
am:
ec40a70ffb
Change-Id: I5d03aaa04fe13b3af20bcc61e9bb925b471ab825
Aart Bik [Thu, 8 Dec 2016 01:52:51 +0000 (01:52 +0000)]
Revert "Fix vulnerability in MemoryIntArray" am:
29139a8ae5 am:
86699f980f
am:
65cf055ad9
Change-Id: Iae6e4fe6eada607d71a20b8ea588ee8efd56a8e0
TreeHugger Robot [Thu, 8 Dec 2016 01:50:09 +0000 (01:50 +0000)]
Merge "EmergencyCryptkeeperText: Make sure we update if airplane mode changes" into nyc-mr2-dev
Svetoslav Ganov [Thu, 8 Dec 2016 01:49:21 +0000 (01:49 +0000)]
Fix vulnerability in MemoryIntArray
am:
4694cad511
Change-Id: I64257a851c06e4a333056ee132ff8a2ea29aef5c
Aart Bik [Thu, 8 Dec 2016 01:44:54 +0000 (01:44 +0000)]
Revert "Fix vulnerability in MemoryIntArray" am:
29139a8ae5
am:
86699f980f
Change-Id: I7876874ba0d6815920f21021a47e3fe1b3e1c42f
Aart Bik [Thu, 8 Dec 2016 01:36:50 +0000 (01:36 +0000)]
Revert "Fix vulnerability in MemoryIntArray"
am:
29139a8ae5
Change-Id: I3975cfc51bd03a65855c113dfdb827d24471e0ba
Svetoslav Ganov [Thu, 8 Dec 2016 01:30:38 +0000 (01:30 +0000)]
Fix vulnerability in MemoryIntArray
MemoryIntArray was using the size of the undelying
ashmem region to mmap the data but the ashmem size
can be changed until the former is memory mapped.
Since we use the ashmem region size for boundary
checking and memory unmapping if it does not match
the size used while mapping an attacker can force
the system to unmap memory or to access undefined
memory and crash.
Also we were passing the memory address where the
ashmem region is mapped in the owner process to
support cases where the client can pass back the
MemoryIntArray instance. This allows an attacker
to put invalid address and cause arbitrary memory
to be freed.
Now we no longer support passing back the instance
to the owner process (the passed back instance is
read only), so no need to pass the memory adress
of the owner's mapping, thus not allowing freeing
arbitrary memory.
Further, we now check the memory mapped size against
the size of the underlying ashmem region after we do
the memory mapping (to fix the ahsmem size) and if
an attacker changed the size under us we throw.
Tests: Updated the tests and they pass.
bug:
33039926
bug:
33042690
Change-Id: Id7f0e8a4c861b0b9fa796767e0c22d96633b14d1
Aart Bik [Thu, 8 Dec 2016 01:05:35 +0000 (01:05 +0000)]
Revert "Fix vulnerability in MemoryIntArray"
This reverts commit
86dfa094de773670743d41c3e3156eace8e403a3.
BROKE BUILD (as shown in some treehugger builds)
frameworks/base/core/java/android/util/MemoryIntArray.java:84: error: cannot find symbol
mCloseGuard.open("close");
^
bug:
33039926
bug:
33042690
Change-Id: Ief875e543ec849fe55c747fb1ed5253f0cd9a122
Svetoslav Ganov [Thu, 8 Dec 2016 01:04:48 +0000 (01:04 +0000)]
Fix vulnerability in MemoryIntArray am:
86dfa094de am:
367023218e am:
e123f41553
am:
b317e60014
Change-Id: I550293e05ce1d1039e3f22f72002e69df919f735
Svetoslav Ganov [Thu, 8 Dec 2016 00:57:21 +0000 (00:57 +0000)]
Fix vulnerability in MemoryIntArray am:
86dfa094de am:
367023218e
am:
e123f41553
Change-Id: Id5cd6072d972b5d03512e83dc342a7c78341ffeb
Svetoslav Ganov [Thu, 8 Dec 2016 00:49:48 +0000 (00:49 +0000)]
Fix vulnerability in MemoryIntArray am:
86dfa094de
am:
367023218e
Change-Id: I38d3f7089b9678210772f79215b44198b262e922
Daniel Nishi [Thu, 8 Dec 2016 00:42:20 +0000 (00:42 +0000)]
Merge "Add methods to query the private storage." into nyc-mr2-dev
Svetoslav Ganov [Thu, 8 Dec 2016 00:42:18 +0000 (00:42 +0000)]
Fix vulnerability in MemoryIntArray
am:
86dfa094de
Change-Id: I664782bea6e2b941ba94e51c65afd7e9b0f95f8d
Adrian Roos [Thu, 8 Dec 2016 00:30:04 +0000 (00:30 +0000)]
Merge "Notifications: Fix bad layout for long texts" into nyc-mr2-dev
Adrian Roos [Thu, 8 Dec 2016 00:25:16 +0000 (00:25 +0000)]
Merge "Revert "Direct Reply: Add back emoji button" This reverts commit
713fed9226a411d1ba83f925c10bc56fec4f2b70." into nyc-mr2-dev
Adrian Roos [Tue, 6 Dec 2016 22:48:43 +0000 (14:48 -0800)]
EmergencyCryptkeeperText: Make sure we update if airplane mode changes
Fixes a race condition that could case the emergency text
to show when it should not, if airplane mode was queried
before it was set by the radio layer.
Change-Id: I146f2877e300d105d8a53af130be46b02ec965b2
Test: Boot into cryptkeeper with a SIM, verify that it does not show 'Emergency Calls Only' until emergency call is initiated.
Fixes:
33278862
Fixes:
32063642
Svetoslav Ganov [Wed, 7 Dec 2016 23:19:09 +0000 (15:19 -0800)]
Fix vulnerability in MemoryIntArray
MemoryIntArray was using the size of the undelying
ashmem region to mmap the data but the ashmem size
can be changed until the former is memory mapped.
Since we use the ashmem region size for boundary
checking and memory unmapping if it does not match
the size used while mapping an attacker can force
the system to unmap memory or to access undefined
memory and crash.
Also we were passing the memory address where the
ashmem region is mapped in the owner process to
support cases where the client can pass back the
MemoryIntArray instance. This allows an attacker
to put invalid address and cause arbitrary memory
to be freed.
Now we no longer support passing back the instance
to the owner process (the passed back instance is
read only), so no need to pass the memory adress
of the owner's mapping, thus not allowing freeing
arbitrary memory.
Further, we now check the memory mapped size against
the size of the underlying ashmem region after we do
the memory mapping (to fix the ahsmem size) and if
an attacker changed the size under us we throw.
Tests: Updated the tests and they pass.
bug:
33039926
bug:
33042690
Change-Id: Ie267646eb88014034fbd048d7a9bc273420c7eff
Ned Burns [Wed, 7 Dec 2016 21:14:51 +0000 (21:14 +0000)]
DO NOT MERGE Fix android:noHistory for Wear
am:
d7a313fb11
Change-Id: I3715b2fb1045b7bfce7f52e9b4982fcc0218d28c
Eric Laurent [Wed, 7 Dec 2016 21:12:38 +0000 (21:12 +0000)]
Merge "AudioService: fix mismatch in device volume index for alias streams" into nyc-mr2-dev
Ned Burns [Tue, 6 Dec 2016 20:52:01 +0000 (15:52 -0500)]
DO NOT MERGE Fix android:noHistory for Wear
Modifies swipe-to-close activities to be opaque by default (instead
of translucent by default). Previously, android:noHistory properties
on most activities in Wear were being ignored because they were
usually transitioning to a swipe-to-close activity that was marked
as translucent. This meant that the noHistory activity was still
technically visible, and so would never be culled from the task
history.
Now, we convert a swiped activity to translucent as soon as a swipe
begins, and convert it back after the swipe finishes. The previous
version of SDL tries to do this, but fails in the case where the
context is a ContextWrapper.
This approach is hacky and isn't merge-able into master. We leave
it DO NOT MERGE and will do a long-term fix after the holidays.
Test: Built a test app to verify that noHistory is now being
correctly respected. Manually verified that new activities start
out opaque and not translucent. Manually verified that Home
correctly starts/stops when it's revealed from underneath a
partially swiped activity. Tested general swipe behavior on Settings,
Contacts, Flashlight, Fit.
Bug:
33252029
Change-Id: Ib2e7f21ea1e0d52db03e78d25676501e5f73b31f
Sunny Goyal [Wed, 7 Dec 2016 19:12:21 +0000 (19:12 +0000)]
Merge "Preventing widgets from exceeding Bitmap memory limit" into nyc-mr2-dev
Eric Laurent [Thu, 3 Nov 2016 23:27:40 +0000 (16:27 -0700)]
AudioService: fix mismatch in device volume index for alias streams
Fix VolumeStreamState.setIndex() to force device volume
index update on an alias stream when no specific device volume exists
on the VolumeStreamState of this alias stream.
This prevents asymetric behaviors of setDeviceVolume() and setAllVolumes()
causing some stream types to be muted and
not unmuted if no specific device volume index exist.
Test: make
Test: wipe device, setup wizard, place call and check nofication volume
Bug:
32626244
Change-Id: Idd170aa9f295b0a9533a589e1891a04c05ab2f2f
(cherry picked from commit
3fb608e4f38df2781461ee601156258c90b6c472)
Tenghui Zhu [Wed, 7 Dec 2016 18:53:28 +0000 (18:53 +0000)]
Merge "Recreate the bitmap cache when it is smaller than needed" into nyc-mr2-dev
TreeHugger Robot [Wed, 7 Dec 2016 18:39:00 +0000 (18:39 +0000)]
Merge "Fix two StrictMode stack collection bugs." into nyc-mr2-dev
TreeHugger Robot [Wed, 7 Dec 2016 17:22:56 +0000 (17:22 +0000)]
Merge "Revert "Allow power button to close an input method"" into nyc-mr2-dev
Jeff Sharkey [Tue, 6 Dec 2016 23:47:00 +0000 (16:47 -0700)]
Fix two StrictMode stack collection bugs.
When Binder calls are nested, we can quickly end up with a snowball
of stacktraces that can cause the original transaction to fail. This
CL makes two specific changes to alleviate this pressure:
-- Consider a nested Binder call from PID A -> B -> C. If both B and
C encounter dozens of StrictMode violations, then gatheredViolations
in B will end up with 10 ViolationInfo (5 from B and 5 from C). This
problem only grows with each successive nested call. To solve this,
always limit ourselves to only ever write out 3 ViolationInfo from
any given process.
-- CrashInfo already nicely truncates any large stack traces to 20kB,
but readAndHandleBinderCallViolations() blindly appends the entire
local trace, and never considers truncating again. Similar to the
first problem above, nested calls can quickly cause the stackTrace
value to explode in size. To solve this, we always re-truncate the
stackTrace value after appending our local stack.
Also fix some NPE bugs when missing crashInfo.
(cherry-picked from commit
58f27b5033542150a78fb050e2f85253a48efa67)
Test: builds, boots
Bug:
32575987
Change-Id: Ie8373ca277296f920f2b1c564d419c702a8ee0f2
Alan Viverette [Fri, 11 Nov 2016 22:11:01 +0000 (17:11 -0500)]
Add missing API diffs for support library 25.0.0
Bug:
33408968
Test: n/a
Change-Id: I497b2a24248c1511c0d6eca4d5951451e4870b83
TreeHugger Robot [Wed, 7 Dec 2016 02:24:34 +0000 (02:24 +0000)]
Merge "Added label for REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission." into nyc-mr2-dev
Felipe Leme [Mon, 5 Dec 2016 18:51:30 +0000 (10:51 -0800)]
Added label for REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission.
Change-Id: I84dc652f7297c2b8c9351e737074ddf43754718d
Fixes:
32950329
Test: manually verified it
Jordan Liu [Tue, 6 Dec 2016 22:23:23 +0000 (22:23 +0000)]
Merge "Treat the mdn as an additional voicemail number" into nyc-mr2-dev
Adrian Roos [Mon, 5 Dec 2016 21:59:52 +0000 (13:59 -0800)]
Notifications: Fix bad layout for long texts
Fixes a bug where the max lines restriction was not properly
passed to ImageFloatingTextView's layout, causing the TextView
to improperly apply bottom padding.
Change-Id: Ibe07515866a4599047712a0482332ed4430c9056
Test: runtest -x core/tests/coretests/src/com/android/internal/widget/ImageFloatingTextViewTest.java
Fixes:
32658499
Bug:
32658499
Pankaj Kanwar [Tue, 6 Dec 2016 20:35:50 +0000 (20:35 +0000)]
Merge "DO NOT MERGE: Add notification delay for when the user needs cannot register to a network and needs to be notified." into nyc-mr2-dev
Yuanlang Song [Tue, 6 Dec 2016 20:13:48 +0000 (20:13 +0000)]
Merge "DO NOT MERGE: Add TouchLatency test" into cw-f-dev
am:
647166e852
Change-Id: I8985e69d3e04f0da6b923cf15db418338ac4edab
John Reck [Tue, 6 Dec 2016 20:13:45 +0000 (20:13 +0000)]
DO NOT MERGE: Add TouchLatency test
am:
91e2e7f460
Change-Id: I84a284f0316f68c24352178685eaa07f2b259411
Yuanlang Song [Tue, 6 Dec 2016 20:05:43 +0000 (20:05 +0000)]
Merge "DO NOT MERGE: Add TouchLatency test" into cw-f-dev
Adrian Roos [Tue, 6 Dec 2016 00:33:32 +0000 (16:33 -0800)]
Revert "Direct Reply: Add back emoji button"
This reverts commit
713fed9226a411d1ba83f925c10bc56fec4f2b70.
Test: Receive SMS, click Reply, check that IME has a send button.
Change-Id: I4632e656828743fbb3172b0331390983df232c68
Fixes:
33185290
pkanwar [Tue, 6 Dec 2016 18:09:37 +0000 (10:09 -0800)]
DO NOT MERGE: Add notification delay for when the user needs cannot register to a
network and needs to be notified.
BUG:
28572539
Change-Id: Iabf5e4476a1c5b02d1de38695f7125ee888dadd9
Damien Bargiacchi [Tue, 6 Dec 2016 18:32:45 +0000 (18:32 +0000)]
Merge "Centre clock text on visible characters instead of : character" into cw-f-dev
am:
ad7c7acad6
Change-Id: Ibc7e4c27b65f87c3b9396b7ae668ed9f55af6f79
Damien Bargiacchi [Tue, 6 Dec 2016 18:32:42 +0000 (18:32 +0000)]
Centre clock text on visible characters instead of : character
am:
45a7644004
Change-Id: I8cf50fd314442a1e42a4cdd4c3f058d680c531dd
TreeHugger Robot [Tue, 6 Dec 2016 18:25:27 +0000 (18:25 +0000)]
Merge "Centre clock text on visible characters instead of : character" into cw-f-dev
Mark Renouf [Fri, 2 Dec 2016 21:00:10 +0000 (16:00 -0500)]
Revert "Allow power button to close an input method"
This reverts commit
d28e907183fe48afc1ea0cb4f939b738cbcc2506.
Test: manually tested
BUG:
33038203
Change-Id: I7a4c6e95a69abb2e40df73509b6e67b93eacf6ff
TreeHugger Robot [Tue, 6 Dec 2016 15:19:52 +0000 (15:19 +0000)]
Merge "[DO NOT MERGE] Allow multiple toasts for the focused app" into nyc-mr2-dev
Michal Karpinski [Tue, 6 Dec 2016 10:16:32 +0000 (10:16 +0000)]
Merge changes from topic 'netd-benchmark-and-logging-nyc-mr2-dev' into nyc-mr2-dev
* changes:
DO NOT MERGE Add connect event reporting
DO NOT MERGE Extending DNS event reporting
Ned Burns [Tue, 6 Dec 2016 02:33:28 +0000 (02:33 +0000)]
Merge "Modify SwipeDismissLayout to perform its own exit animation" into cw-f-dev
am:
3601d3c239
Change-Id: I1ec2e39a533dcd6aefc5cd337be1be45b1a75dff
Ned Burns [Tue, 6 Dec 2016 02:33:13 +0000 (02:33 +0000)]
Modify SwipeDismissLayout to perform its own exit animation
am:
7d6cb913de
Change-Id: I17d086e1c24d9eb91a984c45b88f529006465d34
Ned Burns [Tue, 6 Dec 2016 02:26:40 +0000 (02:26 +0000)]
Merge "Modify SwipeDismissLayout to perform its own exit animation" into cw-f-dev
Michael Kwan [Tue, 6 Dec 2016 02:11:41 +0000 (02:11 +0000)]
Merge "Revert "Change activity dismiss animation to move left to right."" into cw-f-dev
am:
7f2554cfb7
Change-Id: I98f41654b423c85cb940560a8251e67143fc0e82
Michael Kwan [Tue, 6 Dec 2016 02:11:38 +0000 (02:11 +0000)]
Revert "Change activity dismiss animation to move left to right."
am:
ac9443ef9c
Change-Id: I92a48596e4ef5d24591cc063525ad719c24207a8
Elliot Waite [Tue, 6 Dec 2016 02:06:13 +0000 (02:06 +0000)]
Merge "Change insecure HTTP resource link to scheme-relative link." into nyc-mr1-dev am:
050cf854c7
am:
5a701867d5
Change-Id: I7f5b828bd0d68f58c96765be05eb851f45d7677d
Elliot Waite [Tue, 6 Dec 2016 02:05:14 +0000 (02:05 +0000)]
Change insecure HTTP resource link to scheme-relative link. am:
fc175c08cb
am:
c67ea5e3ff
Change-Id: If9c3962ac88678359e687623fc56cfcd803910bc
TreeHugger Robot [Tue, 6 Dec 2016 02:04:26 +0000 (02:04 +0000)]
Merge "Revert "Change activity dismiss animation to move left to right."" into cw-f-dev
Damien Bargiacchi [Tue, 6 Dec 2016 02:02:18 +0000 (18:02 -0800)]
Centre clock text on visible characters instead of : character
Bug:
33340845
Change-Id: I235ad7c6aafc62daa55242f81df2d076f27c56df
Elliot Waite [Tue, 6 Dec 2016 01:59:16 +0000 (01:59 +0000)]
Merge "Change insecure HTTP resource link to scheme-relative link." into nyc-mr1-dev
am:
050cf854c7
Change-Id: Ibf58c209a59a7e9dc64976bafb5f4f9bfaa9a840
Elliot Waite [Tue, 6 Dec 2016 01:59:12 +0000 (01:59 +0000)]
Change insecure HTTP resource link to scheme-relative link.
am:
fc175c08cb
Change-Id: Ib5501d311ed6ee620d81b8399334097ea4c432a2
Elliot Waite [Tue, 6 Dec 2016 01:52:08 +0000 (01:52 +0000)]
Merge "Change insecure HTTP resource link to scheme-relative link." into nyc-mr1-dev
John Reck [Mon, 8 Aug 2016 19:25:59 +0000 (12:25 -0700)]
DO NOT MERGE: Add TouchLatency test
Change-Id: Ic3a788f6b06bf6477ab23b183fb8c76ae8870b6b
(cherry picked from commit
d136ce902c0be4a0cfb8e9d1288ba931ceaf88b4)
Alan Viverette [Tue, 6 Dec 2016 01:02:03 +0000 (01:02 +0000)]
Merge "Show popup transitions when there is no anchor set" into nyc-mr2-dev
Ned Burns [Fri, 2 Dec 2016 22:25:33 +0000 (17:25 -0500)]
Modify SwipeDismissLayout to perform its own exit animation
Instead of relying on the window animation system, in the special
case of a swipe-dismiss, disable any default window exit animation
and perform a custom animation. This bypasses some bugs in the
window animator codebase and allows us to have a nice "rebound"
animation if the user doesn't swipe far/fast enough to trigger a
dismiss.
Bug:
33041168
Change-Id: Ied45700d35a59950bacef1ba0650eaa5bc60fadb
Adrian Roos [Mon, 5 Dec 2016 23:37:46 +0000 (23:37 +0000)]
Merge "Lockscreen: Restrict double taps to prevent falsing" into nyc-mr2-dev
TreeHugger Robot [Mon, 5 Dec 2016 22:41:19 +0000 (22:41 +0000)]
Merge "Avoid NPE around mReusedTask of ActivityStarter" into nyc-mr2-dev
Christine Franks [Mon, 5 Dec 2016 22:38:10 +0000 (22:38 +0000)]
Merge "TwilightService: Ignore (0,0) coordinate location updates" into nyc-mr2-dev
TreeHugger Robot [Mon, 5 Dec 2016 21:21:58 +0000 (21:21 +0000)]
Merge "sysui: fix navbar button view orientation" into nyc-mr2-dev
Shunta Sato [Wed, 12 Oct 2016 09:35:17 +0000 (18:35 +0900)]
Avoid NPE around mReusedTask of ActivityStarter
Symptom:
System crash by NPE is observed on ActivityStarter
during phone boot-up.
Detail and sample:
ActivityStarter has possibility to be called itself recursively
by calling TaskRecord$performClearTaskLocked().
Then class variable of mReusedTask is initialized to null
after the call, because the recursive call isn't guarded by
synchronized block.
Then NPE crash occurs on next statement.
Solutions:
Call performClearTaskLocked() before assigning
intentActivity.task to mReusedTask.
Bug:
32361138
Test: builds, boots, Manual testing of condition in bug
Author: Shigeki Yokomichi <shigeki.x.yokomichi@sonymobile.com>
Change-Id: Iaea3e066a6f7134fcae4338ff864bb236241194c
(cherry picked from commit
0bd28e2c5f7fd7e4448ae489b425e4e5cee57f9a)
Svet Ganov [Mon, 5 Dec 2016 17:03:24 +0000 (09:03 -0800)]
[DO NOT MERGE] Allow multiple toasts for the focused app
We don't allow apps to add multiple toast windows to
prevent an attacker to keep adding the same toast as
a workaround for our measure to ensure toast windows
are removed after a timeout. The may cause backwards
compatibility issue for apps that add multiple toasts.
While we need to fix the security vulnerability it is
desirable to make the fix as backwards compatible as
possible. This change allows the focused app to add
as many toast windows as it wants since they will be
removed after the timeout and once the app is not the
one the user uses it will lose the multiple toast add
capability.
bug:
30150688
Change-Id: I2d9295926cb49b5bb80c7af2546872ff8ca22c64
Xiaohui Chen [Mon, 5 Dec 2016 19:20:16 +0000 (19:20 +0000)]
Merge "Fix vertical nav button direction issue" into nyc-mr2-dev
Christine Franks [Wed, 30 Nov 2016 17:33:07 +0000 (09:33 -0800)]
TwilightService: Ignore (0,0) coordinate location updates
Location providers may erroneously return (0.0, 0.0) when they
fail to determine the device's location. These location updates
can be safely ignored since the chance of a user actually being
at these coordinates is quite low.
Bug:
31009261
Test: added TwilightServiceTest; both tests pass
Change-Id: Ie9d7d10f81ade9b0be10f98ed74978539efaa658
Jordan Liu [Wed, 9 Nov 2016 21:23:42 +0000 (13:23 -0800)]
Treat the mdn as an additional voicemail number
Use carrier config to specify whether the carrier treats the mdn as an
additonal voicemail number.
Change-Id: I7192a3505da87d6b50a100e041d2b502cf37e113
Merged-In: I7192a3505da87d6b50a100e041d2b502cf37e113
Fix:
29145323
Test: build and flash on device