Alan Viverette
cf3a479d59
Adjust touch progress offset to account for changes to AbsSeekBar am: 1d33c3f3a3 am: 1cad05bdc0
...
am: c0acf68d30
Change-Id: Ia751dd2246bcfa0ea2a51411d00ae0f712531808
2016-08-02 02:20:44 +00:00
Fyodor Kupolov
9e01f2ace5
Merge \\\"Fix the API compatibility of \\\"UriMatcher#addURI\\\"\\\" am: 3e151273a3 am: bc8d946e09 am: dbf07bb8ef
...
am: 0d287f1846
Change-Id: Ic9ec776900cbb10470f731409de71ecbf55e700f
2016-08-01 22:06:15 +00:00
Makoto Onuki
a31a6f9f27
Revert \\"LauncherApps should also throw when user is locked\\" am: 2ec16b08ac am: e330d59c2e
...
am: 685091f203
Change-Id: Iacfdd622ce04a86f0f5f573a9e11dc7d1cccc932
2016-08-01 22:06:08 +00:00
George Mount
921891518a
Merge "Convert BackStackRecord Operations to ArrayList."
2016-08-01 21:44:52 +00:00
Alan Viverette
c0acf68d30
Adjust touch progress offset to account for changes to AbsSeekBar am: 1d33c3f3a3
...
am: 1cad05bdc0
Change-Id: Ie542424e2b46805a890cb73e8e1bbe2d155f3aff
2016-08-01 21:11:00 +00:00
Alan Viverette
1cad05bdc0
Adjust touch progress offset to account for changes to AbsSeekBar
...
am: 1d33c3f3a3
Change-Id: I7723f2fd11ea9c8969b9147e1ef893e67e0fb9e0
2016-08-01 20:58:10 +00:00
Alan Viverette
1d33c3f3a3
Adjust touch progress offset to account for changes to AbsSeekBar
...
Previously AbsSeekBar always rounded up, which resulted in poor handling
of touches near the edge of a progress value. We fixed this but forgot
to adjust RatingBar for the new behavior.
Bug: 30558586
Change-Id: I634fa7a0b98568093e16279ef5a80abe08d2e2fe
2016-08-01 15:14:05 -04:00
Svet Ganov
a0030632f8
Prevent apps to overlay other apps via toast windows am: dc24f937b0
...
am: fd8ffb62a9
Change-Id: I94077046a2f38a7cffce5cc73f805f671c35db23
2016-08-01 19:02:53 +00:00
Svet Ganov
fd8ffb62a9
Prevent apps to overlay other apps via toast windows
...
am: dc24f937b0
Change-Id: Ib3a97103f0f9aa980ab72412d4881d609178e641
2016-08-01 18:56:37 +00:00
Svet Ganov
dc24f937b0
Prevent apps to overlay other apps via toast windows
...
It was possible for apps to put toast type windows
that overlay other apps which toast winodws aren't
removed after a timeout.
Now for apps targeting SDK greater than N MR1 to add a
toast window one needs to have a special token. The token
is added by the notificatoion manager service only for
the lifetime of the shown toast and is then removed
including all windows associated with this token. This
prevents apps to add arbitrary toast windows.
Since legacy apps may rely on the ability to directly
add toasts we mitigate by allowing these apps to still
add such windows for unlimited duration if this app is
the currently focused one, i.e. the user interacts with
it then it can overlay itself, otherwise we make sure
these toast windows are removed after a timeout like
a toast would be.
We don't allow more that one toast window per UID being
added at a time which prevents 1) legacy apps to put the
same toast after a timeout to go around our new policy
of hiding toasts after a while; 2) modern apps to reuse
the passed token to add more than one window; Note that
the notification manager shows toasts one at a time.
bug:30150688
Change-Id: Icc8f8dbd060762ae1a7b1720e96c5afdb8aff3fd
2016-08-01 11:46:02 -07:00
Hidehiko Tsuchiya
0d287f1846
Merge \\\"Fix the API compatibility of \\\"UriMatcher#addURI\\\"\\\" am: 3e151273a3 am: bc8d946e09
...
am: dbf07bb8ef
Change-Id: I105800630bb0b5b2ed610c27741eb027d60b61a2
2016-08-01 17:56:38 +00:00
Fyodor Kupolov
dbf07bb8ef
Merge \\"Fix the API compatibility of \\"UriMatcher#addURI\\"\\" am: 3e151273a3
...
am: bc8d946e09
Change-Id: I6ab069a0e02e6b1053dafe98671ab68ef99ff527
2016-08-01 17:50:09 +00:00
Makoto Onuki
685091f203
Revert \\"LauncherApps should also throw when user is locked\\" am: 2ec16b08ac
...
am: e330d59c2e
Change-Id: I18070a0a1a69ab8ba366cef5295f09ac598c5e9f
2016-08-01 17:47:10 +00:00
Hidehiko Tsuchiya
bc8d946e09
Merge \"Fix the API compatibility of \"UriMatcher#addURI\"\"
...
am: 3e151273a3
Change-Id: Ic06ade3ce6dd795e7d12cfba150286933512433d
2016-08-01 17:43:30 +00:00
Makoto Onuki
e330d59c2e
Revert \"LauncherApps should also throw when user is locked\"
...
am: 2ec16b08ac
Change-Id: If702a26519de3c3fcf13f0bfb6bc7ebd7ca255ea
2016-08-01 17:41:55 +00:00
Makoto Onuki
2ec16b08ac
Revert "LauncherApps should also throw when user is locked"
...
This reverts commit bc4ad85d29 .
Will retry when the updated launcher is in.
Change-Id: I428dc93132615480df70aeca7977089af008c041
2016-08-01 17:20:59 +00:00
Jack Yu
ac4ec090bb
Added todo items for a potential metrics issue am: dc5a63bdd1 am: 94f2fe22b4
...
am: c92cb8b816
Change-Id: Iad996bf83a9d1766f4b5dcb90d71f20488491aac
2016-07-31 03:48:25 +00:00
Dianne Hackborn
cc30b55159
Work on issue #30407061 : OverflowArrayMap.stopObject unable to find object am: 657153bd28 am: ae7bdd8dde
...
am: 347c006732
Change-Id: Ib69b728931b30b2092becb89d55a46b92245a0fc
2016-07-31 03:46:08 +00:00
Prashant Malani
e481885e18
Let Rotary encoder events skip IME am: fecbc67e0d
...
am: a6bc98c003
Change-Id: Iecf4f32e56e3fac398b8ded665285af5e3632d2f
2016-07-31 02:59:11 +00:00
Makoto Onuki
07996bce98
LauncherApps should also throw when user is locked am: bc4ad85d29 am: 5ec63fc3c7
...
am: 3b5920b2a1
Change-Id: I60beb409a55297a9a2adaaf52f1ea1e185668c88
2016-07-31 02:25:45 +00:00
Hugo Benichi
4d29c8f83f
Merge \\\"IpConnectivityMetrics: no metrics upload in tests\\\" into nyc-mr1-dev am: 1b4bd22f41 am: 6b104bdabf
...
am: 9ecb72151b
Change-Id: Iaa83e8914614fa874a88beb8821bb83e0dce5c09
2016-07-31 02:12:51 +00:00
Jack Yu
c92cb8b816
Added todo items for a potential metrics issue am: dc5a63bdd1
...
am: 94f2fe22b4
Change-Id: Id3a4f8985536f312c35718a1c992ecb505dbbebf
2016-07-30 23:34:10 +00:00
Dianne Hackborn
347c006732
Work on issue #30407061 : OverflowArrayMap.stopObject unable to find object am: 657153bd28
...
am: ae7bdd8dde
Change-Id: Id9a3dfa2e18f62b2dc35396ae34ffb450ef8cbdc
2016-07-30 22:27:22 +00:00
Jack Yu
94f2fe22b4
Added todo items for a potential metrics issue
...
am: dc5a63bdd1
Change-Id: Ibf846f026d137db2c10fd076a408f2702cab5eaf
2016-07-30 06:41:29 +00:00
Dianne Hackborn
ae7bdd8dde
Work on issue #30407061 : OverflowArrayMap.stopObject unable to find object
...
am: 657153bd28
Change-Id: Icf5ac1ea479e098f18972111e44724698086a255
2016-07-30 06:41:23 +00:00
Prashant Malani
a6bc98c003
Let Rotary encoder events skip IME
...
am: fecbc67e0d
Change-Id: If46602275688cceef347b593571e50196bfdaba1
2016-07-30 06:30:14 +00:00
Hidehiko Tsuchiya
5acd41d155
Fix the API compatibility of "UriMatcher#addURI"
...
The previous patch (ef23bf19 Allow leading slash in path...) made
a single slash path unmatchable.
To solve it, this patch stops removing a slash character if the path
only has a slash character.
Now, a single slash is a matchable path for a URI without path string.
Bug: 29524484
Change-Id: I90b357aa48be1a3e0cf36e75ed2a9d6532908972
2016-07-30 01:47:50 +00:00
TreeHugger Robot
1fb9d1a848
Merge "Let Rotary encoder events skip IME" into cw-f-dev
2016-07-29 23:48:55 +00:00
Jack Yu
dc5a63bdd1
Added todo items for a potential metrics issue
...
bug: 29390529
Change-Id: I15826d5f513748a423eb4cc103f1b010ddad2126
2016-07-29 15:01:18 -07:00
Dianne Hackborn
657153bd28
Work on issue #30407061 : OverflowArrayMap.stopObject unable to find object
...
Add more debug info when this happens to try to better
understand what is going on.
Change-Id: Id8c979d1c2d3769ce68156fb7e69d5ff9d5ded1c
2016-07-29 14:54:14 -07:00
Makoto Onuki
3b5920b2a1
LauncherApps should also throw when user is locked am: bc4ad85d29
...
am: 5ec63fc3c7
Change-Id: Iacb1a0725553ff8e2c205eba8e74d26b19a9a5dd
2016-07-29 18:38:12 +00:00
Makoto Onuki
5ec63fc3c7
LauncherApps should also throw when user is locked
...
am: bc4ad85d29
Change-Id: Ic7bc111861634f2a38cd262a93f56976924c64ba
2016-07-29 18:21:53 +00:00
Fyodor Kupolov
539d36f23b
Set secure setting when all preloaded apps are installed
...
Bug: 30280710
Change-Id: Id87b51c53b1e553a6ab0a257be93baf7d31b6fe5
2016-07-29 10:36:06 -07:00
Makoto Onuki
bc4ad85d29
LauncherApps should also throw when user is locked
...
otherwise it'd be racy.
Bug 30406401
Change-Id: Id6b0295933c5639fa23c56d737a7f0199cbd7497
2016-07-29 09:40:40 -07:00
Jorim Jaggi
5ecf859494
Follow up for I420bee8a11d430b1e52ded050536e56a85a48800 am: 8d4f5f52a1 am: ffb289c7b3
...
am: f878d518c1
Change-Id: I45a3a50685cceb2c59476a236cb883846ae0f51a
2016-07-29 16:07:35 +00:00
TreeHugger Robot
347117f556
Merge "fix javadoc for grantRuntimePermission"
2016-07-29 13:35:19 +00:00
Hugo Benichi
9ecb72151b
Fix missing IpConnectivity metrics am: 90cbc5b444
...
am: 384818b99d
Change-Id: I62f174cc615f40e450ba72f8c6f86d46ed5fc096
2016-07-29 09:47:21 +00:00
Hugo Benichi
384818b99d
Fix missing IpConnectivity metrics
...
am: 90cbc5b444
Change-Id: I636a187e94428f6974a3dc4e9588ea95f3293da8
2016-07-29 09:42:13 +00:00
TreeHugger Robot
66e7752ad1
Merge "Fix missing IpConnectivity metrics" into nyc-mr1-dev
2016-07-29 09:38:28 +00:00
Hugo Benichi
90cbc5b444
Fix missing IpConnectivity metrics
...
The IpConnectivityLog class looks up MetricsLoggerService once only
at creation. If a IpConnectivityLog user instantiates this class too
early during the boot process, the MetricsLoggerService is not found
and no event can be recorded.
This patch makes IpConnectivityLog attempt to look up
MetricsLoggerService as long as it hasn't found it yet.
This allows IpManager and ConnectivityService to upload
android.net.metrics events.
Bug: 30490301
Change-Id: I97102b95a775ea9e90351b9887ae4661fddc2af9
2016-07-29 17:07:38 +09:00
Andrii Kulian
6bb7cacc3b
Merge \\\"Correctly finish activity in non-focused stack\\\" into nyc-mr1-dev am: d3786148f3 am: 4cad633101
...
am: 498ad9a370
Change-Id: I4f081328330d121fa70a0e202d1f163dda157ebf
2016-07-29 00:37:04 +00:00
Chong Zhang
237ee66bd9
Merge \\\"Cleanup mAnimatingExit flag before maybeUpdateTransitToWallpaper()\\\" into nyc-mr1-dev am: f84d9f91ce am: 68a518c49a
...
am: 5d0649a35e
Change-Id: I2ce986ce8e998c9a63bb1ac743ed9bcdfe754c4e
2016-07-29 00:33:50 +00:00
Todd Kennedy
a8eb6a89d6
fix javadoc for grantRuntimePermission
...
javadoc and implementation were out of sync.
Change-Id: I53b50ac999134d3f10557cc3b2c3e2586aaa48de
fixes: 30119755
2016-07-28 16:35:42 -07:00
Makoto Onuki
4830a0c5ca
Prevent shortcut access when user is locked am: 9c850012ca am: cab2462e38
...
am: 890f85d70f
Change-Id: Ie6653dcc55b37598a45987d938f07ba31e173ef5
2016-07-28 23:15:16 +00:00
Fyodor Kupolov
892f55e7ad
Set secure setting when all preloaded apps are installed am: 51ce8ee3b1
...
am: 65d5e75895
Change-Id: I0413cdb3dd7139066712caab59a5593d866ac2a7
2016-07-28 22:03:04 +00:00
Fyodor Kupolov
65d5e75895
Set secure setting when all preloaded apps are installed
...
am: 51ce8ee3b1
Change-Id: I8f2f0f9c2f8db92231e5da100634bfebb8ae6455
2016-07-28 21:58:05 +00:00
TreeHugger Robot
65e3c7420d
Merge "Set secure setting when all preloaded apps are installed" into nyc-mr1-dev
2016-07-28 21:53:02 +00:00
Fyodor Kupolov
51ce8ee3b1
Set secure setting when all preloaded apps are installed
...
Bug: 30280710
Change-Id: Id87b51c53b1e553a6ab0a257be93baf7d31b6fe5
2016-07-28 13:22:26 -07:00
Jorim Jaggi
f878d518c1
Follow up for I420bee8a11d430b1e52ded050536e56a85a48800 am: 8d4f5f52a1
...
am: ffb289c7b3
Change-Id: Ia0befac114b3e1f534c477300d5875c2c6f0e588
2016-07-28 20:13:44 +00:00
Jorim Jaggi
ffb289c7b3
Follow up for I420bee8a11d430b1e52ded050536e56a85a48800
...
am: 8d4f5f52a1
Change-Id: I9b5c7d18520d57c355f3c8ea76e2dfc0e6d6ff39
2016-07-28 20:03:58 +00:00