OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 604cfc2d: Merge "Enhance pin/puk support" into klp-dev
Wink Saville [Fri, 25 Oct 2013 16:43:00 +0000 (09:43 -0700)]
am 604cfc2d: Merge "Enhance pin/puk support" into klp-dev

* commit '604cfc2de963c17ed53fef745b93e3afcfd5a5f8':
  Enhance pin/puk support

10 years agoam 7c900126: Doc fix: update Displaying Bitmaps training class code snippet Bug:...
Adam Koch [Fri, 25 Oct 2013 16:42:56 +0000 (09:42 -0700)]
am 7c900126: Doc fix: update Displaying Bitmaps training class code snippet Bug: 11372790

* commit '7c900126c4591b6ba8e1017f858bf326a4c1b867':
  Doc fix: update Displaying Bitmaps training class code snippet Bug: 11372790

10 years agoMerge "Enhance pin/puk support" into klp-dev
Wink Saville [Fri, 25 Oct 2013 16:40:55 +0000 (16:40 +0000)]
Merge "Enhance pin/puk support" into klp-dev

10 years agoDoc fix: update Displaying Bitmaps training class code snippet
Adam Koch [Fri, 25 Oct 2013 14:14:55 +0000 (10:14 -0400)]
Doc fix: update Displaying Bitmaps training class code snippet
Bug: 11372790

Change-Id: Ifb484b03ac4085eeccadb1602dace37690dc2d6b

10 years agoam 5504537e: Merge "Missing LoudnessEnhancer constructor and UUID in public API"...
Jean-Michel Trivi [Thu, 24 Oct 2013 23:44:24 +0000 (16:44 -0700)]
am 5504537e: Merge "Missing LoudnessEnhancer constructor and UUID in public API" into klp-dev

* commit '5504537e74571fc23a1ff029cf8645f07805a1f2':
  Missing LoudnessEnhancer constructor and UUID in public API

10 years agoMerge "Missing LoudnessEnhancer constructor and UUID in public API" into klp-dev
Jean-Michel Trivi [Thu, 24 Oct 2013 23:42:12 +0000 (23:42 +0000)]
Merge "Missing LoudnessEnhancer constructor and UUID in public API" into klp-dev

10 years agoam 92da1779: Merge "Fix bug in Scene\'s use of setTag" into klp-dev
Adam Powell [Thu, 24 Oct 2013 23:23:38 +0000 (16:23 -0700)]
am 92da1779: Merge "Fix bug in Scene\'s use of setTag" into klp-dev

* commit '92da1779a932aed9c6ce32c117d0334f8d6a7273':
  Fix bug in Scene's use of setTag

10 years agoam fe470c37: Merge "Have the package manager write mimetype of preferred activities...
Erin Dahlgren [Thu, 24 Oct 2013 23:23:34 +0000 (16:23 -0700)]
am fe470c37: Merge "Have the package manager write mimetype of preferred activities to xml." into klp-dev

* commit 'fe470c37deda6b1d51b0a208ae31e101e90c7e1b':
  Have the package manager write mimetype of preferred activities to xml.

10 years agoMerge "Fix bug in Scene's use of setTag" into klp-dev
Adam Powell [Thu, 24 Oct 2013 23:21:56 +0000 (23:21 +0000)]
Merge "Fix bug in Scene's use of setTag" into klp-dev

10 years agoMerge "Have the package manager write mimetype of preferred activities to xml." into...
Erin Dahlgren [Thu, 24 Oct 2013 23:21:16 +0000 (23:21 +0000)]
Merge "Have the package manager write mimetype of preferred activities to xml." into klp-dev

10 years agoFix bug in Scene's use of setTag
Adam Powell [Thu, 24 Oct 2013 22:58:53 +0000 (15:58 -0700)]
Fix bug in Scene's use of setTag

setTagInternal must be used for framework resource IDs.

Bug 11374402

Change-Id: If4d256dbf05055dac70796edd8d7b94bf65d947d

10 years agoam be416248: Merge "Remove persisted stacks when app removed/cleared." into klp-dev
Jeff Sharkey [Thu, 24 Oct 2013 22:37:45 +0000 (15:37 -0700)]
am be416248: Merge "Remove persisted stacks when app removed/cleared." into klp-dev

* commit 'be416248631c001b846297597b25be9bccc960eb':
  Remove persisted stacks when app removed/cleared.

10 years agoMerge "Remove persisted stacks when app removed/cleared." into klp-dev
Jeff Sharkey [Thu, 24 Oct 2013 22:32:58 +0000 (22:32 +0000)]
Merge "Remove persisted stacks when app removed/cleared." into klp-dev

10 years agoHave the package manager write mimetype of preferred activities to xml.
Erin Dahlgren [Thu, 24 Oct 2013 22:13:39 +0000 (15:13 -0700)]
Have the package manager write mimetype of preferred activities to xml.

Issue: 11372979
Change-Id: I5ea4e94c978845426e2650946d0bba076d161c19

10 years agoam 7c2a2ef2: Merge "Track window position with task position." into klp-dev
Craig Mautner [Thu, 24 Oct 2013 21:28:41 +0000 (14:28 -0700)]
am 7c2a2ef2: Merge "Track window position with task position." into klp-dev

* commit '7c2a2ef2ee71d65ac43acf3dad95df1629dfc674':
  Track window position with task position.

10 years agoMerge "Track window position with task position." into klp-dev
Craig Mautner [Thu, 24 Oct 2013 21:26:11 +0000 (21:26 +0000)]
Merge "Track window position with task position." into klp-dev

10 years agoam f9f740da: Merge "Support different watchdog timeouts for different entities" into...
Christopher Tate [Thu, 24 Oct 2013 20:55:09 +0000 (13:55 -0700)]
am f9f740da: Merge "Support different watchdog timeouts for different entities" into klp-dev

* commit 'f9f740dae19a63deb92c6bbe5ebeab8c852910a7':
  Support different watchdog timeouts for different entities

10 years agoMerge "Support different watchdog timeouts for different entities" into klp-dev
Christopher Tate [Thu, 24 Oct 2013 20:52:23 +0000 (20:52 +0000)]
Merge "Support different watchdog timeouts for different entities" into klp-dev

10 years agoTrack window position with task position.
Craig Mautner [Thu, 24 Oct 2013 19:47:07 +0000 (12:47 -0700)]
Track window position with task position.

Windows were previously ordered by TaskStack/ActivityStack order. This
change provides a data structure in DisplayContent that tracks task
movement. Previously Recents and Home activity windows were always
adjacent because they were on the same stack. With this change windows
from other activities can be placed between the two.

Fixes bug 11338594.

Change-Id: Ie34443ff22f330d015141d97db79370c54920d28

10 years agoam 28e26eb3: Merge "Fix for ClassCastException in SystemSensorManager." into klp-dev
Aravind Akella [Thu, 24 Oct 2013 19:36:50 +0000 (12:36 -0700)]
am 28e26eb3: Merge "Fix for ClassCastException in SystemSensorManager." into klp-dev

* commit '28e26eb38d38c5058006f90d5a22347e6186532e':
  Fix for ClassCastException in SystemSensorManager.

10 years agoam 368daafc: Merge "Only simulate the first click if "Always use" button is available...
Amith Yamasani [Thu, 24 Oct 2013 19:32:47 +0000 (12:32 -0700)]
am 368daafc: Merge "Only simulate the first click if "Always use" button is available" into klp-dev

* commit '368daafc34de1a7831d485b6a06fbe0d6bcf1cd4':
  Only simulate the first click if "Always use" button is available

10 years agoMerge "Fix for ClassCastException in SystemSensorManager." into klp-dev
Aravind Akella [Thu, 24 Oct 2013 19:32:01 +0000 (19:32 +0000)]
Merge "Fix for ClassCastException in SystemSensorManager." into klp-dev

10 years agoMerge "Only simulate the first click if "Always use" button is available" into klp-dev
Amith Yamasani [Thu, 24 Oct 2013 19:21:12 +0000 (19:21 +0000)]
Merge "Only simulate the first click if "Always use" button is available" into klp-dev

10 years agoam 5ecfb557: Merge "Long-press on GET_CONTENT app shows its details." into klp-dev
Jeff Sharkey [Thu, 24 Oct 2013 19:15:40 +0000 (12:15 -0700)]
am 5ecfb557: Merge "Long-press on GET_CONTENT app shows its details." into klp-dev

* commit '5ecfb557b1d38537b7a484505b550000980d17f1':
  Long-press on GET_CONTENT app shows its details.

10 years agoam c832ef0d: Merge "Show spinner while waiting for mutations." into klp-dev
Jeff Sharkey [Thu, 24 Oct 2013 19:15:37 +0000 (12:15 -0700)]
am c832ef0d: Merge "Show spinner while waiting for mutations." into klp-dev

* commit 'c832ef0d434f9c3834ef312dcabef43b2787e5ff':
  Show spinner while waiting for mutations.

10 years agoMerge "Long-press on GET_CONTENT app shows its details." into klp-dev
Jeff Sharkey [Thu, 24 Oct 2013 18:23:13 +0000 (18:23 +0000)]
Merge "Long-press on GET_CONTENT app shows its details." into klp-dev

10 years agoMerge "Show spinner while waiting for mutations." into klp-dev
Jeff Sharkey [Thu, 24 Oct 2013 18:23:11 +0000 (18:23 +0000)]
Merge "Show spinner while waiting for mutations." into klp-dev

10 years agoRemove persisted stacks when app removed/cleared.
Jeff Sharkey [Thu, 24 Oct 2013 17:44:03 +0000 (10:44 -0700)]
Remove persisted stacks when app removed/cleared.

When an app's data is cleared, or it's uninstalled, remove any
persisted stacks.

Bug: 11355566
Change-Id: I4e5cf0ec710591ad62f1ad52c2e358616631af41

10 years agoam d0d23f6a: Merge "Disable time consuming debugging code." into klp-dev
Craig Mautner [Thu, 24 Oct 2013 18:01:37 +0000 (11:01 -0700)]
am d0d23f6a: Merge "Disable time consuming debugging code." into klp-dev

* commit 'd0d23f6ae1e289ec781078e7c4d9d733893a5540':
  Disable time consuming debugging code.

10 years agoMerge "Disable time consuming debugging code." into klp-dev
Craig Mautner [Thu, 24 Oct 2013 17:57:24 +0000 (17:57 +0000)]
Merge "Disable time consuming debugging code." into klp-dev

10 years agoam bb8aae5b: Merge "Improve Jank for translucent activities" into klp-dev
Adam Lesinski [Thu, 24 Oct 2013 17:47:11 +0000 (10:47 -0700)]
am bb8aae5b: Merge "Improve Jank for translucent activities" into klp-dev

* commit 'bb8aae5b1973b2a94174af475662c02834a8310d':
  Improve Jank for translucent activities

10 years agoSupport different watchdog timeouts for different entities
Christopher Tate [Thu, 24 Oct 2013 00:28:27 +0000 (17:28 -0700)]
Support different watchdog timeouts for different entities

We need to be able to perform very lengthy operations on some threads
(e.g. the I/O thread responsible for installing multi-gigabyte APKs) but
still have long-run deadlock/hang detection applied to those threads.
Previously the watchdog mechanism applied the same policy to all
monitored threads: unresponsive after 60 seconds => restart the system.

Now, each monitored entity can have its own independent timeout after
which the watchdog declares deadlock and restarts the runtime.  The
halfway-finished intermediate thread stacks are dumped based on the
specific entity's declared timeout, not the global 30 second checking
interval.

With that new mechanism in place, the Package Manager's lengthy-I/O
thread watchdog timeout is raised to 10 minutes.

Bug 11278188

Change-Id: I512599260009c31416b2385f778681e5b9597f05

10 years agoMerge "Improve Jank for translucent activities" into klp-dev
Adam Lesinski [Thu, 24 Oct 2013 17:44:58 +0000 (17:44 +0000)]
Merge "Improve Jank for translucent activities" into klp-dev

10 years agoam 9279d45b: DessertCase memory improvements
Daniel Sandler [Thu, 24 Oct 2013 17:42:22 +0000 (10:42 -0700)]
am 9279d45b: DessertCase memory improvements

* commit '9279d45b8d26c88c69fa917816ea396142627020':
  DessertCase memory improvements

10 years agoDessertCase memory improvements
Daniel Sandler [Thu, 17 Oct 2013 17:05:53 +0000 (13:05 -0400)]
DessertCase memory improvements

  - reuse intermediate bitmaps when loading resources
  - only use hardware layers on views that are animating

Bug: 11269977
Change-Id: I39ad7aff16468632da47448404416404f3b54cc4

10 years agoDisable time consuming debugging code.
Craig Mautner [Thu, 24 Oct 2013 16:13:14 +0000 (09:13 -0700)]
Disable time consuming debugging code.

Scanning bitmaps for monochromicity takes time. Lots of time. Don't do
it.

Fixes bug 11366278.

Change-Id: I7a8ad42751311fc39efc27fb4c51522fc1ba0523

10 years agoam da13330d: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 24 Oct 2013 02:29:34 +0000 (19:29 -0700)]
am da13330d: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev

* commit 'da13330d9b1dc994ae2ea4e5c39b0f6ff6f87ac9':
  Import translations. DO NOT MERGE

10 years agoam ffbc7154: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 24 Oct 2013 02:29:31 +0000 (19:29 -0700)]
am ffbc7154: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev

* commit 'ffbc7154dc2ee436c7b9efd9a26d0d77b3917c6a':
  Import translations. DO NOT MERGE

10 years agoam 39a12d16: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 24 Oct 2013 02:29:28 +0000 (19:29 -0700)]
am 39a12d16: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev

* commit '39a12d163a9dcadff3f9c00f2c582851ef4301b8':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 24 Oct 2013 02:27:01 +0000 (02:27 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 24 Oct 2013 02:25:15 +0000 (02:25 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 24 Oct 2013 02:25:02 +0000 (02:25 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 24 Oct 2013 00:59:26 +0000 (17:59 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImprove Jank for translucent activities
Adam Lesinski [Wed, 23 Oct 2013 17:45:28 +0000 (10:45 -0700)]
Improve Jank for translucent activities

The previous jank improvement only worked when closing
an app, not when bringing one forward (hitting home button).
This should cover the specific case that is being missed: Having the
Home task being brought to front over a translucent window, with
a wallpaper behind both tasks.

bug:11253262
Change-Id: I200ef6fe2dda8d9ab4e1f82059b4f888c59007f4

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 24 Oct 2013 00:17:35 +0000 (17:17 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 24 Oct 2013 00:08:47 +0000 (17:08 -0700)]
Import translations. DO NOT MERGE

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

10 years agoLong-press on GET_CONTENT app shows its details.
Jeff Sharkey [Wed, 23 Oct 2013 23:05:56 +0000 (16:05 -0700)]
Long-press on GET_CONTENT app shows its details.

Matches ResolverActivity behavior.

Bug: 11319259
Change-Id: Id7f2a73b225e4cfd9bdef3b1c7cecb77d9bd2b90

10 years agoOnly simulate the first click if "Always use" button is available
Amith Yamasani [Wed, 23 Oct 2013 23:05:29 +0000 (16:05 -0700)]
Only simulate the first click if "Always use" button is available

This prevents Keep from being selected automatically when shown in the Share dialog
if Keep was previously chosen by the user as Always use for a send action.
This was a regression introduced by the new intent disambig behavior.

Bug: 11294904
Change-Id: I6745060a8ee0a6d680e657b55ee46aaec27bbacb

10 years agoShow spinner while waiting for mutations.
Jeff Sharkey [Wed, 23 Oct 2013 22:46:38 +0000 (15:46 -0700)]
Show spinner while waiting for mutations.

When mutation operations are waiting for a storage backend, show a
spinner in place of the save button.

Bug: 11333249
Change-Id: I2b620b4532ad977a2b60d4bdc5caa55f89021456

10 years agoEnhance pin/puk support
Wink Saville [Wed, 23 Oct 2013 22:44:26 +0000 (15:44 -0700)]
Enhance pin/puk support

Add supplyPinReportResult & supplyPukReportResult that
returns the result code and attempts remaining.

Display "Attempts remaining" in Keyguard

Bug: 9928717
Change-Id: Ibad0635dd1375fabce11ba2b7b9f95f8868489e6

10 years agoam 4d4dd1e1: Merge "Search further than one task for fullscreen." into klp-dev
Craig Mautner [Wed, 23 Oct 2013 22:38:13 +0000 (15:38 -0700)]
am 4d4dd1e1: Merge "Search further than one task for fullscreen." into klp-dev

* commit '4d4dd1e1730f75594add6e8dc9e45ff1cef734eb':
  Search further than one task for fullscreen.

10 years agoMerge "Search further than one task for fullscreen." into klp-dev
Craig Mautner [Wed, 23 Oct 2013 22:35:25 +0000 (22:35 +0000)]
Merge "Search further than one task for fullscreen." into klp-dev

10 years agoMissing LoudnessEnhancer constructor and UUID in public API
Jean-Michel Trivi [Wed, 23 Oct 2013 22:21:08 +0000 (15:21 -0700)]
Missing LoudnessEnhancer constructor and UUID in public API

Bug 11356672

Change-Id: Ia3d16712c8b9bb425a587acd87ba7fad6b4ce31c

10 years agoSearch further than one task for fullscreen.
Craig Mautner [Wed, 23 Oct 2013 22:14:22 +0000 (15:14 -0700)]
Search further than one task for fullscreen.

When a non-fullscreen task over home launches another non-fullscreen
task then the home task might not be displayed. Looking all the way
down the task stacks until reaching a visible, fullscreen activity or
home provides the right information.

Fixes bug 11273803.

Change-Id: I8dab0956c1cda06ddb7850ea3ffac7f6a223c6ad

10 years agoFix for ClassCastException in SystemSensorManager.
Aravind Akella [Wed, 23 Oct 2013 03:04:22 +0000 (20:04 -0700)]
Fix for ClassCastException in SystemSensorManager.

Bug: 11068858
Change-Id: I074798a6978b91766b37dec32f2683d8e4adf5d3

10 years agoam 02e4c3a1: Merge "Cache Scene objects by layout ID on the scene root" into klp-dev
Chet Haase [Wed, 23 Oct 2013 21:48:45 +0000 (14:48 -0700)]
am 02e4c3a1: Merge "Cache Scene objects by layout ID on the scene root" into klp-dev

* commit '02e4c3a1d870be7ced0f70f460d718924f6e348f':
  Cache Scene objects by layout ID on the scene root

10 years agoMerge "Cache Scene objects by layout ID on the scene root" into klp-dev
Chet Haase [Wed, 23 Oct 2013 21:46:01 +0000 (21:46 +0000)]
Merge "Cache Scene objects by layout ID on the scene root" into klp-dev

10 years agoCache Scene objects by layout ID on the scene root
Adam Powell [Wed, 23 Oct 2013 20:26:03 +0000 (13:26 -0700)]
Cache Scene objects by layout ID on the scene root

The current tracking of scene objects in a static ThreadLocal is
problematic as it leaks the Context associated with the SceneRoot and
returns the wrong Scene object if the same layout ID is used across
different scene roots.

Track Scene objects on the scene root view instead to avoid these
issues.

Change-Id: I891986897f757f2666897c937b5ebb0ed1d531c1

10 years agoam c72b18b7: Merge "Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards."...
John Spurlock [Wed, 23 Oct 2013 21:22:39 +0000 (14:22 -0700)]
am c72b18b7: Merge "Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards." into klp-dev

* commit 'c72b18b72eb75c2040bf686b06d52d79bdc7a24a':
  Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards.

10 years agoMerge "Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards." into klp-dev
John Spurlock [Wed, 23 Oct 2013 21:19:24 +0000 (21:19 +0000)]
Merge "Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards." into klp-dev

10 years agoDecouple IME_ACTIVE and IME_VISIBLE for hardware keyboards.
John Spurlock [Wed, 23 Oct 2013 20:36:47 +0000 (16:36 -0400)]
Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards.

Reserve IME_VISIBLE for when software keyboards are actually
showing.

Bug:11186297
Change-Id: I4e09a7de353e564bd1a97dadd603d3104254fa56

10 years agoam 3e1a9eac: Merge "Import button assets from UX repository" into klp-dev
Adam Powell [Wed, 23 Oct 2013 20:31:17 +0000 (13:31 -0700)]
am 3e1a9eac: Merge "Import button assets from UX repository" into klp-dev

* commit '3e1a9eaca6b5e1c699c9962e3932298751829660':
  Import button assets from UX repository

10 years agoMerge "Import button assets from UX repository" into klp-dev
Adam Powell [Wed, 23 Oct 2013 20:28:58 +0000 (20:28 +0000)]
Merge "Import button assets from UX repository" into klp-dev

10 years agoam ca8547b4: Merge "Add notification docs to DocumentsProvider." into klp-dev
Jeff Sharkey [Wed, 23 Oct 2013 19:24:20 +0000 (12:24 -0700)]
am ca8547b4: Merge "Add notification docs to DocumentsProvider." into klp-dev

* commit 'ca8547b435d53aef94646d2e6bc31b09a34a086f':
  Add notification docs to DocumentsProvider.

10 years agoam c9d8e383: Merge "Fix leak with transitions when views get removed" into klp-dev
Chet Haase [Wed, 23 Oct 2013 19:24:16 +0000 (12:24 -0700)]
am c9d8e383: Merge "Fix leak with transitions when views get removed" into klp-dev

* commit 'c9d8e38317947c7860dcf6e8df032373ace183e9':
  Fix leak with transitions when views get removed

10 years agoMerge "Add notification docs to DocumentsProvider." into klp-dev
Jeff Sharkey [Wed, 23 Oct 2013 19:19:07 +0000 (19:19 +0000)]
Merge "Add notification docs to DocumentsProvider." into klp-dev

10 years agoMerge "Fix leak with transitions when views get removed" into klp-dev
Chet Haase [Wed, 23 Oct 2013 19:17:09 +0000 (19:17 +0000)]
Merge "Fix leak with transitions when views get removed" into klp-dev

10 years agoAdd notification docs to DocumentsProvider.
Jeff Sharkey [Wed, 23 Oct 2013 19:14:34 +0000 (12:14 -0700)]
Add notification docs to DocumentsProvider.

Bug: 11272209
Change-Id: I97d67c91c4f4a312cbde82afd9e27509c26517b2

10 years agoam d9e98a4b: Merge "Unhide BIND_NFC_SERVICE permission." into klp-dev
Martijn Coenen [Wed, 23 Oct 2013 18:14:44 +0000 (11:14 -0700)]
am d9e98a4b: Merge "Unhide BIND_NFC_SERVICE permission." into klp-dev

* commit 'd9e98a4b6d3181ab3d58b7781ee2f88a389ecf1f':
  Unhide BIND_NFC_SERVICE permission.

10 years agoMerge "Unhide BIND_NFC_SERVICE permission." into klp-dev
Martijn Coenen [Wed, 23 Oct 2013 18:12:06 +0000 (18:12 +0000)]
Merge "Unhide BIND_NFC_SERVICE permission." into klp-dev

10 years agoam 871cb5d5: Merge "Update roots when data cleared, refresh UI." into klp-dev
Jeff Sharkey [Wed, 23 Oct 2013 18:11:11 +0000 (11:11 -0700)]
am 871cb5d5: Merge "Update roots when data cleared, refresh UI." into klp-dev

* commit '871cb5d53f14ce6ead2c65ee3a4354e22276a169':
  Update roots when data cleared, refresh UI.

10 years agoam a9a6007c: Merge "Treat document thumbnails as preemptable." into klp-dev
Jeff Sharkey [Wed, 23 Oct 2013 18:11:08 +0000 (11:11 -0700)]
am a9a6007c: Merge "Treat document thumbnails as preemptable." into klp-dev

* commit 'a9a6007c0d0acf6d908c897b471492dabbd9ae80':
  Treat document thumbnails as preemptable.

10 years agoam 5eb3e07c: Merge "add accessibility string for location quicksetting" into klp-dev
Victoria Lease [Wed, 23 Oct 2013 18:11:04 +0000 (11:11 -0700)]
am 5eb3e07c: Merge "add accessibility string for location quicksetting" into klp-dev

* commit '5eb3e07c5d8647f2bc250d37feb0c905621b2f90':
  add accessibility string for location quicksetting

10 years agoMerge "Update roots when data cleared, refresh UI." into klp-dev
Jeff Sharkey [Wed, 23 Oct 2013 18:09:54 +0000 (18:09 +0000)]
Merge "Update roots when data cleared, refresh UI." into klp-dev

10 years agoMerge "Treat document thumbnails as preemptable." into klp-dev
Jeff Sharkey [Wed, 23 Oct 2013 18:09:40 +0000 (18:09 +0000)]
Merge "Treat document thumbnails as preemptable." into klp-dev

10 years agoImport button assets from UX repository
Adam Powell [Wed, 23 Oct 2013 18:09:03 +0000 (11:09 -0700)]
Import button assets from UX repository

Bug 11192938

Change-Id: Ib59fd4d288d3ef5f132a4cee2a2e0384053b5594

10 years agoMerge "add accessibility string for location quicksetting" into klp-dev
Victoria Lease [Wed, 23 Oct 2013 17:56:53 +0000 (17:56 +0000)]
Merge "add accessibility string for location quicksetting" into klp-dev

10 years agoam 910c2857: Merge "Fix issue #11278906: Some wm commands fail on shell users" into...
Dianne Hackborn [Wed, 23 Oct 2013 17:47:02 +0000 (10:47 -0700)]
am 910c2857: Merge "Fix issue #11278906: Some wm commands fail on shell users" into klp-dev

* commit '910c2857937b33391e02558c4b396aefa489f213':
  Fix issue #11278906: Some wm commands fail on shell users

10 years agoam 2d76a1a0: Merge "Fix issue #11323037: Android apk incorrectly marked as running...
Dianne Hackborn [Wed, 23 Oct 2013 17:46:58 +0000 (10:46 -0700)]
am 2d76a1a0: Merge "Fix issue #11323037: Android apk incorrectly marked as running in app processes" into klp-dev

* commit '2d76a1a068839ac677e909ba8555fe812eaea841':
  Fix issue #11323037: Android apk incorrectly marked as running in app processes

10 years agoMerge "Fix issue #11278906: Some wm commands fail on shell users" into klp-dev
Dianne Hackborn [Wed, 23 Oct 2013 17:44:21 +0000 (17:44 +0000)]
Merge "Fix issue #11278906: Some wm commands fail on shell users" into klp-dev

10 years agoMerge "Fix issue #11323037: Android apk incorrectly marked as running in app processe...
Dianne Hackborn [Wed, 23 Oct 2013 17:44:11 +0000 (17:44 +0000)]
Merge "Fix issue #11323037: Android apk incorrectly marked as running in app processes" into klp-dev

10 years agoUnhide BIND_NFC_SERVICE permission.
Martijn Coenen [Wed, 23 Oct 2013 17:43:16 +0000 (10:43 -0700)]
Unhide BIND_NFC_SERVICE permission.

Needs to be held by host-based card emulation
apps in order to work.

Bug: 11352063
Change-Id: I8ba42446cd3066b38309d8e9cbc51d140a023547

10 years agoFix issue #11278906: Some wm commands fail on shell users
Dianne Hackborn [Wed, 23 Oct 2013 17:23:39 +0000 (10:23 -0700)]
Fix issue #11278906: Some wm commands fail on shell users

Binder.clearCallingIdentity makes everything better.

Change-Id: I31cd9478c857553b3cf1ea54d5b4987571788796

10 years agoam 2f566900: Merge "Ensure the simple CAB appears below the status bar." into klp-dev
John Spurlock [Wed, 23 Oct 2013 17:17:13 +0000 (10:17 -0700)]
am 2f566900: Merge "Ensure the simple CAB appears below the status bar." into klp-dev

* commit '2f566900a4fdeab75c972259a97dfb40b96df421':
  Ensure the simple CAB appears below the status bar.
  Add 'no system permission' test app.

10 years agoUpdate roots when data cleared, refresh UI.
Jeff Sharkey [Wed, 23 Oct 2013 16:59:06 +0000 (09:59 -0700)]
Update roots when data cleared, refresh UI.

Data cleared usually means accounts went away, so kick off roots
refresh.  Also update any visible UI after a refresh finishes.

Bug: 10899793
Change-Id: Id68c80b5e635e358cfd75f4961ce13cd1c7c5f82

10 years agoTreat document thumbnails as preemptable.
Jeff Sharkey [Wed, 23 Oct 2013 00:09:44 +0000 (17:09 -0700)]
Treat document thumbnails as preemptable.

When a more important request comes along, preempt all outstanding
thumbnail requests.

Bug: 11317901
Change-Id: I164fc8d804bb9c471e6da3f8127228043b3ca482

10 years agoMerge "Ensure the simple CAB appears below the status bar." into klp-dev
John Spurlock [Wed, 23 Oct 2013 15:48:21 +0000 (15:48 +0000)]
Merge "Ensure the simple CAB appears below the status bar." into klp-dev

10 years agoFix issue #11323037: Android apk incorrectly marked as running in app processes
Dianne Hackborn [Wed, 23 Oct 2013 01:45:27 +0000 (18:45 -0700)]
Fix issue #11323037: Android apk incorrectly marked as running in app processes

The android package is now a special case, not being added to the package list
when creating a multi-process component.  There is no need, since this package
is actually the framework itself which must be loaded in every process.

Also cleaned up some of the procstats dump output to help see what is going
on here.

Change-Id: If65d35ecd562f3154bdebfded69c454af6ce8c96

10 years agoMerge "Add 'no system permission' test app." into klp-dev
Brett Chabot [Wed, 23 Oct 2013 01:17:33 +0000 (01:17 +0000)]
Merge "Add 'no system permission' test app." into klp-dev

10 years agoam 5f474fcb: Merge "Edge case: overriden system package moved & became privileged...
Christopher Tate [Tue, 22 Oct 2013 23:42:39 +0000 (16:42 -0700)]
am 5f474fcb: Merge "Edge case: overriden system package moved & became privileged in OTA" into klp-dev

* commit '5f474fcb6d6a0215f7726580921e0610ca6281a1':
  Edge case: overriden system package moved & became privileged in OTA

10 years agoMerge "Edge case: overriden system package moved & became privileged in OTA" into...
Christopher Tate [Tue, 22 Oct 2013 23:38:02 +0000 (23:38 +0000)]
Merge "Edge case: overriden system package moved & became privileged in OTA" into klp-dev

10 years agoFix leak with transitions when views get removed
Chet Haase [Tue, 22 Oct 2013 00:19:37 +0000 (17:19 -0700)]
Fix leak with transitions when views get removed

Transitions, when started, add an OnPreDrawListener to the current
ViewTreeObserver (which is global to the view hierarchy). This listener
is removed when the listener is called.

It is possible to add this listener and then remove the view from
the hierarchy before the listener is called. This could result in
either the listener not getting called at all (since there was no
drawing event) or (in the case of this bug) the listener getting called
when the sceneRoot had no AttachInfo (which is the case when that
root has been removed from the hierarchy). This results in the listener
trying to remove itself from a *different* ViewTreeObserver than the one
it added itself to, leaving the actual listener still sitting on a list
of listeners in that original VTO. This can result in a growing list of
listeners and a growing amount of work that gets done on every frame.
It can also lead to a serious memory leak, since the objects referred to
by the transition may be non-trivial (as in the case of this bug).

The fix is to add another mechanism for the listener to get removed.
Specifically, we now listen for detach events on the sceneRoot. If that
view gets detached before the listener is called, then we have a chance to
remove it from the correct VTO before the AttachInfo becomes null.

Issue #11307391 keyguard is slow after updating to krt16c and playing music

Change-Id: I108413ea2f18f5351df0a11d4ae56fec0b4aa154

10 years agoEdge case: overriden system package moved & became privileged in OTA
Christopher Tate [Tue, 22 Oct 2013 22:36:01 +0000 (15:36 -0700)]
Edge case: overriden system package moved & became privileged in OTA

Because properly continuing permission grants post-OTA has changed
policy to include privilege considerations based on install location,
make sure that we re-evaluate when we determine that the apk has
moved from its pre-OTA location.

Bug 11271490

Change-Id: I6c09986e2851a67504268b289932588457c05dfc

10 years agoam 798adeff: Don\'t use transient states for wallpaper animation.
Craig Mautner [Tue, 22 Oct 2013 21:58:12 +0000 (14:58 -0700)]
am 798adeff: Don\'t use transient states for wallpaper animation.

* commit '798adeffb0b9c22707b493895453e7dd2f608b75':
  Don't use transient states for wallpaper animation.

10 years agoDon't use transient states for wallpaper animation.
Craig Mautner [Tue, 22 Oct 2013 21:29:01 +0000 (14:29 -0700)]
Don't use transient states for wallpaper animation.

The WindowManagerService member mLowerWallpaperTarget is not stable
throughout an app transition. Relying on it to be stable causes the
intra-wallpaper animation to start out right but after the windows
have been relayed out there is no longer a lower wallpaper target.
This causes the wallpaper to start tracking the animation of the
current wallpaper target rather than remain stable.

Switching to a new variable that saves the state of wallpaper
animation at the start of the animation fixes bug 11240590.

Change-Id: I336a59c47665fcf61019f567b8663956ff0e4940

10 years agoam 40006309: Merge "Check for home activity when switching focus." into klp-dev
Craig Mautner [Tue, 22 Oct 2013 20:04:07 +0000 (13:04 -0700)]
am 40006309: Merge "Check for home activity when switching focus." into klp-dev

* commit '40006309990c40f5b4b26646b98df222d8d27922':
  Check for home activity when switching focus.

10 years agoMerge "Check for home activity when switching focus." into klp-dev
Craig Mautner [Tue, 22 Oct 2013 20:01:11 +0000 (20:01 +0000)]
Merge "Check for home activity when switching focus." into klp-dev

10 years agoam d94b7ffc: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 22 Oct 2013 19:52:23 +0000 (12:52 -0700)]
am d94b7ffc: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev

* commit 'd94b7ffc2e621a48bed9f10fa03dcc7508fce8ce':
  Import translations. DO NOT MERGE

10 years agoam f56d8694: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 22 Oct 2013 19:52:16 +0000 (12:52 -0700)]
am f56d8694: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev

* commit 'f56d8694f224ef7082c48a227d18d5612a4cfe11':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 22 Oct 2013 19:48:12 +0000 (19:48 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev