OSDN Git Service

android-x86/frameworks-base.git
8 years agoMake wake-and-unlock faster
Jorim Jaggi [Thu, 20 Aug 2015 23:59:44 +0000 (16:59 -0700)]
Make wake-and-unlock faster

- Scrims: When dismissing Keyguard, don't wait until the next frame
to start the animation. Saves 16ms
- Scrims: Skip first frame, because it's completely black anyways.
Saves 16ms.
- Don't wait with navigation bar to show until the screen has turned
on. Window manager is blocked on DisplayPowerController anyways, so
the animation will exactly be started when the screen turns on. Fixes
some jank as well.
- Window manager: Don't wait for the window below Keyguard for draw
completion until turning on screen. Saves a lot of time depending on
how the app is behaving.

Bug: 23401557
Change-Id: I9734f9a12143f0e3c0647e9aa066831a29a6de63

8 years agoFix fingerprint listening state race conditions
Jorim Jaggi [Fri, 21 Aug 2015 01:20:02 +0000 (18:20 -0700)]
Fix fingerprint listening state race conditions

When calling cancel() on the cancellation signal, it doesn't happen
immediately. Now, because of a state messup during boot, we go
through the sequence

startListeningForFingerprint
stopListeningForFingerprint
startListeningForFingerprint

However, the cancellation callback from stopListeningForFingeprint
happened AFTER the second startListeningForFingerprint, so we assumed
that fingerprint detection was not running anymore but in reality it
was - leading to weird states and all kinds of small state messups.

Introduce a state machine to track when we we called cancel but
waiting for the confirmation of FingerprintService in order to track
this properly.

Bug: 23380500
Change-Id: I403479fb749cf7c22b73611b69698e8b771777d0

8 years agoam cb59747d: Merge "Add missing removed permissions to the platform manifest" into...
Svetoslav Ganov [Fri, 21 Aug 2015 12:41:29 +0000 (12:41 +0000)]
am cb59747d: Merge "Add missing removed permissions to the platform manifest" into mnc-dev

* commit 'cb59747de7222bc7310162c4174f7b460c34adef':
  Add missing removed permissions to the platform manifest

8 years agoMerge "Add missing removed permissions to the platform manifest" into mnc-dev
Svetoslav Ganov [Fri, 21 Aug 2015 12:34:37 +0000 (12:34 +0000)]
Merge "Add missing removed permissions to the platform manifest" into mnc-dev

8 years agoam 7cd2d343: am 852c6178: (-s ours) am b63e291d: am 88556ac2: am 599dc2bd: am 50af68e...
Sebastien Hertz [Fri, 21 Aug 2015 11:14:23 +0000 (11:14 +0000)]
am 7cd2d343: am 852c6178: (-s ours) am b63e291d: am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '7cd2d3431c157fa20576e84a8a9f04ba4f7e1dd9':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 852c6178: (-s ours) am b63e291d: am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b1...
Sebastien Hertz [Fri, 21 Aug 2015 11:10:18 +0000 (11:10 +0000)]
am 852c6178: (-s ours) am b63e291d: am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '852c6178629d3bdcd7d2c958379b0b71539f460f':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam b63e291d: am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0dd...
Sebastien Hertz [Fri, 21 Aug 2015 11:02:27 +0000 (11:02 +0000)]
am b63e291d: am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit 'b63e291d05aa9522b2ef9b399936c52079820c3f':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ce...
Sebastien Hertz [Fri, 21 Aug 2015 10:53:07 +0000 (10:53 +0000)]
am 88556ac2: am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '88556ac22157ddfe154be6ee7c8853e0a81dc83c':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow...
Sebastien Hertz [Fri, 21 Aug 2015 10:37:46 +0000 (10:37 +0000)]
am 599dc2bd: am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '599dc2bd1c809ae5a413fc3800fc3fbb71432de6':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only...
Sebastien Hertz [Fri, 21 Aug 2015 10:29:30 +0000 (10:29 +0000)]
am 50af68e7: am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '50af68e74a756d0fc81eda2a3580dbcf70362d42':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked...
Sebastien Hertz [Fri, 21 Aug 2015 10:18:38 +0000 (10:18 +0000)]
am 55f86b18: (-s ours) am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '55f86b1811f0411a5d685d6c97772b846a706e19':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT...
Sebastien Hertz [Fri, 21 Aug 2015 10:09:22 +0000 (10:09 +0000)]
am 9e7a0ddb: am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '9e7a0ddb65ad0bd04d49a24a68aa96730b2ba9a1':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam c5151d2c: am b60bc0ec: resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev
Sebastien Hertz [Fri, 21 Aug 2015 10:03:51 +0000 (10:03 +0000)]
am c5151d2c: am b60bc0ec: resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev

* commit 'c5151d2c378e4dad4d1312caf2021d7515297d06':
  Allow debugging only for apps forked from zygote

8 years agoam 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE
Sebastien Hertz [Fri, 21 Aug 2015 09:50:24 +0000 (09:50 +0000)]
am 18089ceb: Allow debugging only for apps forked from zygote DO NOT MERGE

* commit '18089ceb71ad4ce2332096b8e7b5f8c1f8e263db':
  Allow debugging only for apps forked from zygote DO NOT MERGE

8 years agoam b60bc0ec: resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev
Sebastien Hertz [Fri, 21 Aug 2015 09:49:11 +0000 (09:49 +0000)]
am b60bc0ec: resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev

* commit 'b60bc0ece2b2714845eff37c97cb19d41a308122':
  Allow debugging only for apps forked from zygote

8 years agoresolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev
Sebastien Hertz [Fri, 21 Aug 2015 07:53:41 +0000 (09:53 +0200)]
resolved conflicts for merge of a2d19318 to lmp-mr1-ub-dev

Change-Id: I4cb38241b5efab1eb7af161e1589fa477a473a39

8 years agoam 87a786af: am 445ab7fa: am ff8dc212: Allow debugging only for apps forked from...
Sebastien Hertz [Fri, 21 Aug 2015 07:19:10 +0000 (07:19 +0000)]
am 87a786af: am 445ab7fa: am ff8dc212: Allow debugging only for apps forked from zygote

* commit '87a786afdba8ec94036c62fb58265d364a7064ae':
  Allow debugging only for apps forked from zygote

8 years agoam 445ab7fa: am ff8dc212: Allow debugging only for apps forked from zygote
Sebastien Hertz [Fri, 21 Aug 2015 07:08:43 +0000 (07:08 +0000)]
am 445ab7fa: am ff8dc212: Allow debugging only for apps forked from zygote

* commit '445ab7fa43f32ac1a256b15f5ab2bd619e9711e4':
  Allow debugging only for apps forked from zygote

8 years agoam ff8dc212: Allow debugging only for apps forked from zygote
Sebastien Hertz [Fri, 21 Aug 2015 07:01:02 +0000 (07:01 +0000)]
am ff8dc212: Allow debugging only for apps forked from zygote

* commit 'ff8dc21278b19b22ed8dc9f9475850838336d351':
  Allow debugging only for apps forked from zygote

8 years agoam ddc2536d: Make sure to kill restore-at-install full-data targets after restore
Christopher Tate [Thu, 20 Aug 2015 23:09:39 +0000 (23:09 +0000)]
am ddc2536d: Make sure to kill restore-at-install full-data targets after restore

* commit 'ddc2536d2b6f277a7828278a066be874e4f9502e':
  Make sure to kill restore-at-install full-data targets after restore

8 years agoMake sure to kill restore-at-install full-data targets after restore
Christopher Tate [Thu, 20 Aug 2015 19:30:50 +0000 (12:30 -0700)]
Make sure to kill restore-at-install full-data targets after restore

Specifically: correctly distinguish the "I want to restore my own data"
case, in which the app is intentionally not killed, from the single-package
restore at install operation.

Bug 23357388

Change-Id: Ic50ac39fe942af1f6ec9e04a32d81a39b70a0b2b

8 years agoam 54c807e7: Merge "Translate ripple mask to account for drawable bounds" into mnc-dev
Alan Viverette [Thu, 20 Aug 2015 20:38:24 +0000 (20:38 +0000)]
am 54c807e7: Merge "Translate ripple mask to account for drawable bounds" into mnc-dev

* commit '54c807e713c0d04134108b7d13e4abd467e318d5':
  Translate ripple mask to account for drawable bounds

8 years agoMerge "Translate ripple mask to account for drawable bounds" into mnc-dev
Alan Viverette [Thu, 20 Aug 2015 20:31:27 +0000 (20:31 +0000)]
Merge "Translate ripple mask to account for drawable bounds" into mnc-dev

8 years agoTranslate ripple mask to account for drawable bounds
Alan Viverette [Thu, 20 Aug 2015 20:27:21 +0000 (16:27 -0400)]
Translate ripple mask to account for drawable bounds

Bug: 23354529
Change-Id: Iaa4fde6b37645492cf902f141f975bdef8e7e14e

8 years agoam 1773ded8: Merge "Fixed key comparison in equals method" into mnc-dev
Fyodor Kupolov [Thu, 20 Aug 2015 19:53:29 +0000 (19:53 +0000)]
am 1773ded8: Merge "Fixed key comparison in equals method" into mnc-dev

* commit '1773ded84684593f459b19f3271d471b38f14f85':
  Fixed key comparison in equals method

8 years agoMerge "Fixed key comparison in equals method" into mnc-dev
Fyodor Kupolov [Thu, 20 Aug 2015 19:47:38 +0000 (19:47 +0000)]
Merge "Fixed key comparison in equals method" into mnc-dev

8 years agoam 46eddef4: am 504623e1: am 5389f46c: Docs: Fixes to interactive-watch-face docs...
David Friedman [Thu, 20 Aug 2015 18:07:18 +0000 (18:07 +0000)]
am 46eddef4: am 504623e1: am 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)

* commit '46eddef4d46e11269c4f13d695c46cdd7f071a34':
  Docs: Fixes to interactive-watch-face docs (CL 743190)

8 years agoam 504623e1: am 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)
David Friedman [Thu, 20 Aug 2015 17:53:49 +0000 (17:53 +0000)]
am 504623e1: am 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)

* commit '504623e1a7b20ff7ce66ec487fb329f4b3d2c3cf':
  Docs: Fixes to interactive-watch-face docs (CL 743190)

8 years agoFixed key comparison in equals method
Fyodor Kupolov [Thu, 20 Aug 2015 17:20:34 +0000 (10:20 -0700)]
Fixed key comparison in equals method

Bug: 23376695
Change-Id: Ie4bd55a88f5f86fd8de7b087d0a5f1755951e90d

8 years agoMerge "Add carrier config variable to hide merge call button" into mnc-dr-dev
Tyler Gunn [Thu, 20 Aug 2015 17:19:17 +0000 (17:19 +0000)]
Merge "Add carrier config variable to hide merge call button" into mnc-dr-dev

8 years agoam 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)
David Friedman [Thu, 20 Aug 2015 16:59:08 +0000 (16:59 +0000)]
am 5389f46c: Docs: Fixes to interactive-watch-face docs (CL 743190)

* commit '5389f46ce4245a6a0cfc931160ea13dab17f6590':
  Docs: Fixes to interactive-watch-face docs (CL 743190)

8 years agoMerge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev
Mitchell Wills [Thu, 20 Aug 2015 16:58:02 +0000 (16:58 +0000)]
Merge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev

8 years agoDocs: Fixes to interactive-watch-face docs (CL 743190)
David Friedman [Thu, 20 Aug 2015 15:31:07 +0000 (08:31 -0700)]
Docs: Fixes to interactive-watch-face docs (CL 743190)

Change-Id: I2b9c7d7afbf5583da01808027869e1e98873c7d1

8 years agoAdd missing removed permissions to the platform manifest
Svet Ganov [Thu, 20 Aug 2015 13:57:31 +0000 (06:57 -0700)]
Add missing removed permissions to the platform manifest

We need to keep in the manifest as normal hidden permissions
all removed dangerous ones to ensure backwards compatibility
as apps may be gating operations based on whether they have
a removed permission.

bug:23377184

Change-Id: I105bd646c4594d85c501f53a10ea393ee50046bc

8 years agoMerge "Save interactive/screen-on state in KeyguardServiceDelegate" into mnc-dr-dev
Jorim Jaggi [Thu, 20 Aug 2015 02:18:36 +0000 (02:18 +0000)]
Merge "Save interactive/screen-on state in KeyguardServiceDelegate" into mnc-dr-dev

8 years agoMerge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev
Jorim Jaggi [Thu, 20 Aug 2015 02:18:20 +0000 (02:18 +0000)]
Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev

* changes:
  Fix jank in wake-and-unlock while pulsing
  Don't call authenticate immediately after getting valid fingerprint

8 years agoam c14cbac4: Merge "Fix issue #23361510: Increase assist timeout from 500ms to 1...
Dianne Hackborn [Thu, 20 Aug 2015 02:03:31 +0000 (02:03 +0000)]
am c14cbac4: Merge "Fix issue #23361510: Increase assist timeout from 500ms to 1 second" into mnc-dev

* commit 'c14cbac4a3e76d924621b34367cc8b6bcf977908':
  Fix issue #23361510: Increase assist timeout from 500ms to 1 second

8 years agoMerge "Fix issue #23361510: Increase assist timeout from 500ms to 1 second" into...
Dianne Hackborn [Thu, 20 Aug 2015 01:56:02 +0000 (01:56 +0000)]
Merge "Fix issue #23361510: Increase assist timeout from 500ms to 1 second" into mnc-dev

8 years agoFix issue #23361510: Increase assist timeout from 500ms to 1 second
Dianne Hackborn [Thu, 20 Aug 2015 01:54:38 +0000 (18:54 -0700)]
Fix issue #23361510: Increase assist timeout from 500ms to 1 second

Actually, timeout is okay, but need to schedule it on UI thread.

Change-Id: I5b4ffa7caa33815a5223e3ddd08d4809bc7cf7b6

8 years agoSave interactive/screen-on state in KeyguardServiceDelegate
Jorim Jaggi [Wed, 19 Aug 2015 22:14:52 +0000 (15:14 -0700)]
Save interactive/screen-on state in KeyguardServiceDelegate

So when SystemUI/Keyguard crashes, we only call onStartedWakingUp and
onScreenTurnedOn when the device is interactive and/or the screen is
on.

Bug: 23344236
Change-Id: I0d0be91ff15d6c552304659956770ab88bb26ba4

8 years agoam f3ad1eab: Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev
Jeff Sharkey [Thu, 20 Aug 2015 01:33:59 +0000 (01:33 +0000)]
am f3ad1eab: Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev

* commit 'f3ad1eabc1fa5252165bfe1516690d1026507f0a':
  Pass underlying volume UUID to StorageVolume.

8 years agoDon't animate in the navigation bar when going to full shade
Jorim Jaggi [Wed, 19 Aug 2015 03:27:54 +0000 (20:27 -0700)]
Don't animate in the navigation bar when going to full shade

Fixes some jank.

Bug: 22537253
Change-Id: Ia816fea6274e38cc2b18e2f28008b3a8341d37f7

8 years agoMerge "Pass underlying volume UUID to StorageVolume." into mnc-dev
Jeff Sharkey [Thu, 20 Aug 2015 01:28:30 +0000 (01:28 +0000)]
Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev

8 years agoam 6a21a5a1: am 9f4ddca9: am 56c22d29: Merge "Docs: Creating interactive watch faces...
David Friedman [Thu, 20 Aug 2015 01:24:02 +0000 (01:24 +0000)]
am 6a21a5a1: am 9f4ddca9: am 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs

* commit '6a21a5a142dad98c7bc678a9c9d0859d7558da4b':
  Docs: Creating interactive watch faces Bug: 21721463

8 years agoam 9f4ddca9: am 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463...
David Friedman [Thu, 20 Aug 2015 01:15:08 +0000 (01:15 +0000)]
am 9f4ddca9: am 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs

* commit '9f4ddca909e1f7d4274da3282a05494d6fb2f3f9':
  Docs: Creating interactive watch faces Bug: 21721463

8 years agoam 6540375a: am 311f8eee: am ed54f60a: Merge "Docs: Updating, clarifying Debug-over...
David Friedman [Thu, 20 Aug 2015 01:14:52 +0000 (01:14 +0000)]
am 6540375a: am 311f8eee: am ed54f60a: Merge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836" into mnc-preview-docs

* commit '6540375add2eafe9734ea6a54ebaa2c0587608e8':
  Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836

8 years agoam 311f8eee: am ed54f60a: Merge "Docs: Updating, clarifying Debug-over-WiFi instructi...
David Friedman [Thu, 20 Aug 2015 01:06:29 +0000 (01:06 +0000)]
am 311f8eee: am ed54f60a: Merge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836" into mnc-preview-docs

* commit '311f8eeee04937a08dd3576aaab74be19645c14e':
  Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836

8 years agoam 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc...
David Friedman [Thu, 20 Aug 2015 00:57:50 +0000 (00:57 +0000)]
am 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs

* commit '56c22d29b8727e55073cede04b51e65eb6125b9f':
  Docs: Creating interactive watch faces Bug: 21721463

8 years agoMerge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs
David Friedman [Thu, 20 Aug 2015 00:44:58 +0000 (00:44 +0000)]
Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs

8 years agoDocs: Creating interactive watch faces
David Friedman [Wed, 15 Jul 2015 05:42:53 +0000 (22:42 -0700)]
Docs: Creating interactive watch faces
Bug: 21721463

Training module and related API-reference documentation. This is new
material for Android Wear D(iamond) release.

Change-Id: I9959bca50fd96812abd7cfb693139986bc59b133

8 years agoFix jank in wake-and-unlock while pulsing
Jorim Jaggi [Wed, 19 Aug 2015 02:55:53 +0000 (19:55 -0700)]
Fix jank in wake-and-unlock while pulsing

- Don't hide keyguard after the animation is done, because this
would cause a measure in the middle of the fade animation.
- Don't use a layer for the notification panel in this case - we
don't need it and it only adds latency.
- Speed up the whole thing a bit because the animation is now
smoother.

Bug: 23225107
Change-Id: Ie8264c4d0e62bd6a78227e04b9900b4348ddd649

8 years agoDon't call authenticate immediately after getting valid fingerprint
Jorim Jaggi [Wed, 19 Aug 2015 02:49:04 +0000 (19:49 -0700)]
Don't call authenticate immediately after getting valid fingerprint

After gettin a callback onAuthenticationSucceded we set the
fingerprint listening state to false. However, when waking up, we
immediately started listening again because the state was false.
Protect against that by only calling authenticate only once, except
when the unlock doesn't go through because unlocking with fingerprint
is not allowed.

Also fixes some animation "jank" because of the state messup.

Bug: 23304421
Change-Id: Ic83ac0f1590dd4f8017bb55dca9e19a60cfdf99f

8 years agoam ed54f60a: Merge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug...
David Friedman [Wed, 19 Aug 2015 22:31:15 +0000 (22:31 +0000)]
am ed54f60a: Merge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836" into mnc-preview-docs

* commit 'ed54f60ae4d57ed1e9cc963fc3baf5de91d51c53':
  Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836

8 years agoam 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.
Tyler Gunn [Wed, 19 Aug 2015 22:29:51 +0000 (22:29 +0000)]
am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.

* commit '1e9bfc6461d3fe5455c9d7a21414ec66695b5798':
  Fix incorrect android.telecom.Call.Details equality check.

8 years agoMerge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836" into...
David Friedman [Wed, 19 Aug 2015 22:21:41 +0000 (22:21 +0000)]
Merge "Docs: Updating, clarifying Debug-over-WiFi instructions. Bug: 21371836" into mnc-preview-docs

8 years agoDocs: Updating, clarifying Debug-over-WiFi instructions.
David Friedman [Thu, 23 Jul 2015 16:05:08 +0000 (09:05 -0700)]
Docs: Updating, clarifying Debug-over-WiFi instructions.
Bug: 21371836

Change-Id: Ieef63c416c85f778e4b00ef08b434040709c2493

8 years agoPass underlying volume UUID to StorageVolume.
Jeff Sharkey [Wed, 19 Aug 2015 21:15:33 +0000 (14:15 -0700)]
Pass underlying volume UUID to StorageVolume.

To help MediaProvider uniquely identify storage devices, pass through
the UUID of the underlying private storage volume.

Bug: 23329611
Change-Id: I22ee7ea98fcb208d7797310acb3396a3f074f09b

8 years agoam 11e84bde: Merge "Don\'t mark NetworkRequests restricted when they don\'t have...
Lorenzo Colitti [Wed, 19 Aug 2015 20:54:48 +0000 (20:54 +0000)]
am 11e84bde: Merge "Don\'t mark NetworkRequests restricted when they don\'t have restricted caps" into mnc-dev

* commit '11e84bde9e98cb4b777a67208989d259883e9375':
  Don't mark NetworkRequests restricted when they don't have restricted caps

8 years agoFix incorrect android.telecom.Call.Details equality check.
Tyler Gunn [Wed, 19 Aug 2015 18:18:58 +0000 (11:18 -0700)]
Fix incorrect android.telecom.Call.Details equality check.

The the android.telecom.Call.Details class provides its own equals
implementation.  Recently added in M is to also check if the mExtras
and mIntentExtras are different.  Unfortunately, Bundles do not implement
equals.  As a result when Telecom calls are parceled and sent to the
InCallServices, this means that the internalUpdate method will always
assume that the Details of a call have changed, even if they have not.
This was causing a LOT of extra calls to onUpdate in the InCall UI (2x the
amount).  Although there is still room for improvement in the number of
callbacks from Telecom, this fix prevents a pretty significant regression
on that front.

Bug: 23218195
Change-Id: I128e996faf60376ed3df1dc848a97c4a7b0482ee

8 years agoMerge "Fix wakelock leak for dozing" into mnc-dr-dev
Adrian Roos [Wed, 19 Aug 2015 20:50:04 +0000 (20:50 +0000)]
Merge "Fix wakelock leak for dozing" into mnc-dr-dev

8 years agoMerge "Don't mark NetworkRequests restricted when they don't have restricted caps...
Lorenzo Colitti [Wed, 19 Aug 2015 20:48:31 +0000 (20:48 +0000)]
Merge "Don't mark NetworkRequests restricted when they don't have restricted caps" into mnc-dev

8 years agoMerge "Camera2: Handle surface size change" into mnc-dr-dev
Chien-Yu Chen [Wed, 19 Aug 2015 20:40:11 +0000 (20:40 +0000)]
Merge "Camera2: Handle surface size change" into mnc-dr-dev

8 years agoam e3de6c5d: Merge "Fix crashes when removing work profile" into mnc-dev
Amith Yamasani [Wed, 19 Aug 2015 20:19:28 +0000 (20:19 +0000)]
am e3de6c5d: Merge "Fix crashes when removing work profile" into mnc-dev

* commit 'e3de6c5df5a94e627c5ee0f188cbb066233a3dd0':
  Fix crashes when removing work profile

8 years agoFix wakelock leak for dozing
Jorim Jaggi [Wed, 19 Aug 2015 20:01:19 +0000 (13:01 -0700)]
Fix wakelock leak for dozing

Bug: 23344235
Change-Id: I7f4233cfe15bdd3e8cc5f01a70707bdde9fc1737

8 years agoMerge "Fix crashes when removing work profile" into mnc-dev
Amith Yamasani [Wed, 19 Aug 2015 20:10:30 +0000 (20:10 +0000)]
Merge "Fix crashes when removing work profile" into mnc-dev

8 years agoam 29cd8808: Merge "Fix issue #23326715: Clarify --checkin/-c options in batterystats...
Dianne Hackborn [Wed, 19 Aug 2015 18:31:20 +0000 (18:31 +0000)]
am 29cd8808: Merge "Fix issue #23326715: Clarify --checkin/-c options in batterystats" into mnc-dev

* commit '29cd880890825ce15a1b2da977bcb1796db6f4e3':
  Fix issue #23326715: Clarify --checkin/-c options in batterystats

8 years agoMerge "Fix issue #23326715: Clarify --checkin/-c options in batterystats" into mnc-dev
Dianne Hackborn [Wed, 19 Aug 2015 18:25:29 +0000 (18:25 +0000)]
Merge "Fix issue #23326715: Clarify --checkin/-c options in batterystats" into mnc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 19 Aug 2015 16:15:00 +0000 (16:15 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

8 years agoMerge "Launched camera in the correct user." into mnc-dr-dev
Zhentao Sun [Wed, 19 Aug 2015 16:12:25 +0000 (16:12 +0000)]
Merge "Launched camera in the correct user." into mnc-dr-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 19 Aug 2015 16:00:52 +0000 (11:00 -0500)]
Import translations. DO NOT MERGE

Change-Id: Ibf82892f48ab6cc0b5aa3eb2460859afa8e44332
Auto-generated-cl: translation import

8 years agoAllow debugging only for apps forked from zygote DO NOT MERGE
Sebastien Hertz [Mon, 10 Aug 2015 16:55:34 +0000 (18:55 +0200)]
Allow debugging only for apps forked from zygote DO NOT MERGE

When starting the runtime from app_process, we only pass JDWP options
if starting zygote. It prevents from opening a JDWP connection in
non-zygote programs while Android apps (forked from zygote) remain
debuggable.

Bug: 23050463

(cherry picked from commit 7a09b8322cab26d6e3da1362d3c74964ae66b5d4)

Change-Id: I2400ecc8aea7579c43300efccf288b69f70eef53

8 years agoDon't mark NetworkRequests restricted when they don't have restricted caps
Paul Jensen [Wed, 19 Aug 2015 15:06:15 +0000 (11:06 -0400)]
Don't mark NetworkRequests restricted when they don't have restricted caps

Requests without NET_CAPABILITIES_INTERNET and just the default network
capabilities should not be marked restricted.  Without this fix apps
can hit permissions exceptions if they inadvertently make requests
without NET_CAPABILITIES_INTERNET.

Bug:23164917
Change-Id: I4c7136821315bcb05dfc42ffbc505a5d4f6109e6

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 19 Aug 2015 14:07:13 +0000 (14:07 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 19 Aug 2015 14:02:46 +0000 (07:02 -0700)]
Import translations. DO NOT MERGE

Change-Id: I13d19cb68c1b7b7880e2168e621c377c2b750b1b
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 19 Aug 2015 13:53:44 +0000 (06:53 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ifd3cfe65e9a82e21d6a1611368dcbe9d6dfee829
Auto-generated-cl: translation import

8 years agoAllow debugging only for apps forked from zygote
Sebastien Hertz [Mon, 10 Aug 2015 16:55:34 +0000 (18:55 +0200)]
Allow debugging only for apps forked from zygote

When starting the runtime from app_process, we only pass JDWP options
if starting zygote. It prevents from opening a JDWP connection in
non-zygote programs while Android apps (forked from zygote) remain
debuggable.

Bug: 23050463

(cherry picked from commit 7a09b8322cab26d6e3da1362d3c74964ae66b5d4)

Change-Id: Ib5b6d3bc4d45389993c3c54226df5a7b72479d19

8 years agoam 8b8fa3e9: Fix SysUI crash when no metadata is provided
Jorim Jaggi [Wed, 19 Aug 2015 02:20:10 +0000 (02:20 +0000)]
am 8b8fa3e9: Fix SysUI crash when no metadata is provided

* commit '8b8fa3e934e3ddf01790e647b4401dc88b24bf67':
  Fix SysUI crash when no metadata is provided

8 years agoFix SysUI crash when no metadata is provided
Jorim Jaggi [Wed, 19 Aug 2015 01:33:49 +0000 (18:33 -0700)]
Fix SysUI crash when no metadata is provided

Bug: 23327474
Change-Id: I4903c0812c9677e1b31e1f645e3d6f1a03150c38

8 years agoam f610bd78: Fix race conditions for camera prewarm service
Jorim Jaggi [Wed, 19 Aug 2015 01:08:27 +0000 (01:08 +0000)]
am f610bd78: Fix race conditions for camera prewarm service

* commit 'f610bd78b2cf574faa197ed9f21128ac7795a407':
  Fix race conditions for camera prewarm service

8 years agoMerge "Improve motion for wake-and-unlocking while pulsing" into mnc-dr-dev
Jorim Jaggi [Wed, 19 Aug 2015 01:04:58 +0000 (01:04 +0000)]
Merge "Improve motion for wake-and-unlocking while pulsing" into mnc-dr-dev

8 years agoMerge "Fix race condition for doze mode and wake-and-unlocking" into mnc-dr-dev
Jorim Jaggi [Wed, 19 Aug 2015 01:04:54 +0000 (01:04 +0000)]
Merge "Fix race condition for doze mode and wake-and-unlocking" into mnc-dr-dev

8 years agoImprove motion for wake-and-unlocking while pulsing
Jorim Jaggi [Tue, 18 Aug 2015 00:38:58 +0000 (17:38 -0700)]
Improve motion for wake-and-unlocking while pulsing

- Move all fingerprint related to logic in on central class in
SystemUI that knows all the state of the UI so there is exactly ONE
place in which we decide what to do when we acquire a fingerprint.
- When pulsing and we get a valid finger, we fade the contents of the
Keyguard out and fade the scrim out almost the same way as we would do
in a normal wake-and-unlock sequence.
- Hide shadows while dozing, so we don't see the artifacts when we fade
the dozed Keyguard out.

Bug: 23225107
Change-Id: I82f78e61f2530cf7d507ade80f6f0a340c082567

8 years agoam 0b804542: Merge "Constrain drawBitmap matrix-to-rect optimization" into mnc-dev
Chris Craik [Wed, 19 Aug 2015 00:54:00 +0000 (00:54 +0000)]
am 0b804542: Merge "Constrain drawBitmap matrix-to-rect optimization" into mnc-dev

* commit '0b8045425ff58f992046ff2be35bc91001dabf7b':
  Constrain drawBitmap matrix-to-rect optimization

8 years agoam c9ecc985: Merge "Add some bookmarks to plugin-for-gradle page" into mnc-dev
Tenghui Zhu [Wed, 19 Aug 2015 00:53:52 +0000 (00:53 +0000)]
am c9ecc985: Merge "Add some bookmarks to plugin-for-gradle page" into mnc-dev

* commit 'c9ecc985947462e3032fdd3b1c6abc0d5b5b1084':
  Add some bookmarks to plugin-for-gradle page

8 years agoam 54bdb2e7: Merge "docs: Updated hardware system images for M." into mnc-dev
Quddus Chong [Wed, 19 Aug 2015 00:53:39 +0000 (00:53 +0000)]
am 54bdb2e7: Merge "docs: Updated hardware system images for M." into mnc-dev

* commit '54bdb2e732de98ae2829101570dc29970e377fa3':
  docs: Updated hardware system images for M.

8 years agoam 886e7a63: Merge "Change default cellular activity timeout to 10" into mnc-dev
Adam Lesinski [Wed, 19 Aug 2015 00:53:35 +0000 (00:53 +0000)]
am 886e7a63: Merge "Change default cellular activity timeout to 10" into mnc-dev

* commit '886e7a63b122a30c69c663d32e3e5f880a07593e':
  Change default cellular activity timeout to 10

8 years agoOnly call authenticate when we are not listening yet
Jorim Jaggi [Tue, 18 Aug 2015 22:25:09 +0000 (15:25 -0700)]
Only call authenticate when we are not listening yet

Bug: 23304421
Change-Id: I5c589ba8992039ca995138d7d74abd123b911a5c

8 years agoFix issue #23326715: Clarify --checkin/-c options in batterystats
Dianne Hackborn [Wed, 19 Aug 2015 00:33:00 +0000 (17:33 -0700)]
Fix issue #23326715: Clarify --checkin/-c options in batterystats

Change-Id: I3f026447ba7c6d2c3f9ef065269c31a78cf73512

8 years agoLaunched camera in the correct user.
Zhentao Sun [Fri, 14 Aug 2015 22:57:18 +0000 (15:57 -0700)]
Launched camera in the correct user.

Fixed b/23325974.
The camera was always launched in the device owner's profile. Now it can
work with secondary users.

Change-Id: I826b341a7e73a9dd603dd5df7aa31bfaf4d440c4

8 years agoFix race conditions for camera prewarm service
Jorim Jaggi [Tue, 18 Aug 2015 03:17:30 +0000 (20:17 -0700)]
Fix race conditions for camera prewarm service

When the unbind request came in before the service was actually
bound, we dropped the unbind request because mPrewarmBound was still
false. Fix that by tracking whether a bind is pending and if a unbind
event comes in during that time, set another flag to unbind it
directly again when the service is actually bound. In addition, don't
allow binding again if any of the previous events are still pending.

Bug: 23143748
Change-Id: I2b8ace86e35479a9848668a3462a2ce687835413

8 years agoMerge "Constrain drawBitmap matrix-to-rect optimization" into mnc-dev
Chris Craik [Tue, 18 Aug 2015 23:51:11 +0000 (23:51 +0000)]
Merge "Constrain drawBitmap matrix-to-rect optimization" into mnc-dev

8 years agoFix crashes when removing work profile
Amith Yamasani [Tue, 18 Aug 2015 21:32:14 +0000 (14:32 -0700)]
Fix crashes when removing work profile

This isn't specific to work profile. When multiple user
deletions happen in sequence, a race causes a dying user
to lose permissions prematurely. This fix delays removal of
user state until the user is completely cleaned up and all the
processes have been killed.

Bug: 23178833
Change-Id: I1636bc2022416359a25f19a3f65d113c05289cd3

8 years agoMerge "Add some bookmarks to plugin-for-gradle page" into mnc-dev
Tenghui Zhu [Tue, 18 Aug 2015 23:13:12 +0000 (23:13 +0000)]
Merge "Add some bookmarks to plugin-for-gradle page" into mnc-dev

8 years agoMerge "Reset fingerprint lockout timer when strong auth is used." into mnc-dr-dev
Jim Miller [Tue, 18 Aug 2015 23:12:18 +0000 (23:12 +0000)]
Merge "Reset fingerprint lockout timer when strong auth is used." into mnc-dr-dev

8 years agoCamera2: Handle surface size change
Chien-Yu Chen [Tue, 18 Aug 2015 19:46:39 +0000 (12:46 -0700)]
Camera2: Handle surface size change

When comparing if two OutputConfigurations are equal, also check
the width, height, format, dataspace when the output configurations
were created. With this, CameraDeviceImpl knows that the surface has
changed sizes and will reconfigure the stream.

Bug: 12250682
Change-Id: Ie5965d242b2017b87a76d26cdc2f6b700082e002

8 years agoMerge "docs: Updated hardware system images for M." into mnc-dev
Quddus Chong [Tue, 18 Aug 2015 22:03:21 +0000 (22:03 +0000)]
Merge "docs: Updated hardware system images for M." into mnc-dev

8 years agoConstrain drawBitmap matrix-to-rect optimization
Chris Craik [Tue, 18 Aug 2015 21:52:52 +0000 (14:52 -0700)]
Constrain drawBitmap matrix-to-rect optimization

bug:22962165

Optimization is not valid if matrix would flip image.

Change-Id: Ieee42390517bd3466b7d94596f0fbbe192ab757e

8 years agodocs: Updated hardware system images for M.
Quddus Chong [Tue, 18 Aug 2015 19:59:24 +0000 (12:59 -0700)]
docs: Updated hardware system images for M.

Change-Id: Ied1658cd2c3052e4c6cf23aa18b65b291d03dbc6

8 years agoMerge "Change default cellular activity timeout to 10" into mnc-dev
Adam Lesinski [Tue, 18 Aug 2015 20:43:34 +0000 (20:43 +0000)]
Merge "Change default cellular activity timeout to 10" into mnc-dev

8 years agoDo not start with a black frame in bootanimation
Jorim Jaggi [Wed, 12 Aug 2015 03:23:56 +0000 (20:23 -0700)]
Do not start with a black frame in bootanimation

Bug: 23128307
Change-Id: I0ec044f983c1c30960be046e43a882c63205dc5f