11285 Commits

Author SHA1 Message Date
Craig Mautner
3505a9c6c6 Merge "Use correct stacks for testing changes." 2013-04-20 17:38:59 +00:00
Craig Mautner
165640bbc6 Use correct stacks for testing changes.
Fixes bug 8656057.

Change-Id: I88e48d28d240fced866a82bd3d49f8807300c0ad
2013-04-20 10:37:58 -07:00
Christopher Tate
b86d81d3ff Don't attempt native crash reporting for persistent apps
Bug 8639127

Change-Id: I55035cfed9ba04597422f675ede105dae40b2fbf
2013-04-19 17:39:20 -07:00
Jeff Sharkey
94e602d7b5 am 1b50e4ea: am ca2a6374: Merge "Environment should only warn when asked." into jb-mr2-dev
* commit '1b50e4ead5463f4dcc03f9c5ed64963af0d4d9eb':
  Environment should only warn when asked.
2013-04-19 14:38:36 -07:00
Craig Mautner
8fbe05fb86 Merge "Call updateUsageStats for all stacks." 2013-04-19 21:00:55 +00:00
Craig Mautner
7d9eaa435d Call updateUsageStats for all stacks.
Was only calling it for the frontmost stack. But if we are going to
or from the home activity then the pausing stack moves to the back.

Fixes bug 8666221.

Change-Id: I1d6d19b49da4aa23414303336fa266362ae5f4b1
2013-04-19 13:57:33 -07:00
Ben Gruver
63539dd6a3 Ensure the intent firewall dir exists before starting the FileObserver
Bug: 8667426
Change-Id: I157a7d4702c649228d959cd063eb91bf9f170bb6
2013-04-19 13:51:56 -07:00
Jeff Sharkey
1b50e4ead5 am ca2a6374: Merge "Environment should only warn when asked." into jb-mr2-dev
* commit 'ca2a6374aadb95ca3f151d4bc2fdd3127f04e5e7':
  Environment should only warn when asked.
2013-04-19 13:35:37 -07:00
Jeff Sharkey
48749fc78a Environment should only warn when asked.
Instead of warning on Process.SYSTEM_UID, which is also used by the
Settings app, change to have the parent process explicitly ask for
warnings.

Bug: 8667286
Change-Id: Ib26676694a4041ff4e6d3ffdcc14055b7eba13c7
2013-04-19 13:27:43 -07:00
Amith Yamasani
8dc25e0680 am ba567014: am e37c8f78: Merge "Improve API and documentation" into jb-mr2-dev
* commit 'ba56701493ede3f5f338a03173da0327a215b223':
  Improve API and documentation
2013-04-19 12:49:40 -07:00
Amith Yamasani
ba56701493 am e37c8f78: Merge "Improve API and documentation" into jb-mr2-dev
* commit 'e37c8f781abb045ec4a0b872e5e6afe48eee021a':
  Improve API and documentation
2013-04-19 12:47:01 -07:00
Amith Yamasani
e37c8f781a Merge "Improve API and documentation" into jb-mr2-dev 2013-04-19 19:10:02 +00:00
Amith Yamasani
3b458ad9ee Improve API and documentation
API for querying accounts visible to a specific package.

Improve API and docs for device owner.

Bug: 8657158
Change-Id: I01b8701534f64b383391508a49ae93ed21f22ae0
2013-04-19 12:07:46 -07:00
Irfan Sheriff
cffd753e7b am 3fe5e2a1: am ba1311a3: Merge "Fix API name" into jb-mr2-dev
* commit '3fe5e2a13508ba12f3757619732f0810d1750dc2':
  Fix API name
2013-04-19 09:00:16 -07:00
Irfan Sheriff
3fe5e2a135 am ba1311a3: Merge "Fix API name" into jb-mr2-dev
* commit 'ba1311a3f64efc9f22dea1ab5477002751e478dc':
  Fix API name
2013-04-19 08:57:45 -07:00
Irfan Sheriff
ba1311a3f6 Merge "Fix API name" into jb-mr2-dev 2013-04-19 15:56:11 +00:00
Irfan Sheriff
7ea33eac4b Fix API name
Address council feedback

Bug: 8656932
Change-Id: I92972fc3672afbc38cdeee628c04b639053f7cf3
2013-04-19 08:39:53 -07:00
Craig Mautner
2aa755e7d9 Merge "Handle app dying." 2013-04-19 02:27:39 +00:00
Craig Mautner
f88c50f8da Handle app dying.
Fix bugs related to handleAppDied.
Fixes bug 8658744.

Change-Id: I0ba2466ffac5e465e803e97a781810c34a6de371
2013-04-18 19:25:12 -07:00
Svetoslav
5c0bd520b8 am ab3f5903: am 688a6977: Replacing accessibility service permissions with capability attributes.
* commit 'ab3f5903fc4cefbaed6c5cf2242703d56f80028e':
  Replacing accessibility service permissions with capability attributes.
2013-04-18 18:05:27 -07:00
Svetoslav
ab3f5903fc am 688a6977: Replacing accessibility service permissions with capability attributes.
* commit '688a6977cf7673ed0542ab3d839053c4e38a4dbd':
  Replacing accessibility service permissions with capability attributes.
2013-04-18 18:01:34 -07:00
Svetoslav
688a6977cf Replacing accessibility service permissions with capability attributes.
Accessibility services can perform special operations such as retrieve
the screen content, enable explore by touch, etc. To ensure the user
is aware that the service will perform special operations we were using
permissions. However, the special operations cannot be performed unless
the service is really enabled by the user and it is at this point that
we want to notify the user about the service capabilities.

This change adds capability attributes to the accessibility service's
meta-data XML file. The service has to declare the capability and when
it is enabled we show the user the capabilities in the warining dialog.

bug:8633951

Change-Id: Id3442dc71dad018e606888afdc40834682fdb037
2013-04-18 17:45:44 -07:00
Svetoslav Ganov
732b92db59 am 4d4a0250: am a407994b: Merge "Reload accessibility service infos for reisntalled packages." into jb-mr2-dev
* commit '4d4a02509fec98c63b254b4af8ffab46eee39dc0':
  Reload accessibility service infos for reisntalled packages.
2013-04-18 17:36:02 -07:00
Svetoslav Ganov
4d4a02509f am a407994b: Merge "Reload accessibility service infos for reisntalled packages." into jb-mr2-dev
* commit 'a407994bad9f6d5c2b9a8446e7c3354b753279a1':
  Reload accessibility service infos for reisntalled packages.
2013-04-18 17:31:57 -07:00
Svetoslav Ganov
a407994bad Merge "Reload accessibility service infos for reisntalled packages." into jb-mr2-dev 2013-04-19 00:26:02 +00:00
Daniel Sandler
16edf57069 am 6800dde2: am 9bc3386e: Merge "Once again, cancel all when notifications canceled for pkg." into jb-mr2-dev
* commit '6800dde2fcf4aeec358feb52831933089978edb0':
  Once again, cancel all when notifications canceled for pkg.
2013-04-18 16:23:24 -07:00
Daniel Sandler
6800dde2fc am 9bc3386e: Merge "Once again, cancel all when notifications canceled for pkg." into jb-mr2-dev
* commit '9bc3386e1dfacf6544039dc9f66d07b827632f23':
  Once again, cancel all when notifications canceled for pkg.
2013-04-18 16:19:47 -07:00
Daniel Sandler
9bc3386e1d Merge "Once again, cancel all when notifications canceled for pkg." into jb-mr2-dev 2013-04-18 23:15:51 +00:00
Satoshi Kataoka
a1d7a123c4 am f09993ca: am 1a546dca: Merge "Fixed the problem ime invisible status despite being the icon that appears in the statusbar."
* commit 'f09993ca1d01823f9c60c0be45a8169e09dd27d7':
  Fixed the problem ime invisible status despite being the icon that appears in the statusbar.
2013-04-18 15:32:50 -07:00
Satoshi Kataoka
f09993ca1d am 1a546dca: Merge "Fixed the problem ime invisible status despite being the icon that appears in the statusbar."
* commit '1a546dca77b47b86c87ddf4de7a76662ef8bd48b':
  Fixed the problem ime invisible status despite being the icon that appears in the statusbar.
2013-04-18 15:28:18 -07:00
Jeff Brown
653dbd1f1c am 253bc750: am a454c573: Merge "Sent hint to Wifi driver when enabling WFD." into jb-mr2-dev
* commit '253bc7505c890d57466ce251369367ac384cff67':
  Sent hint to Wifi driver when enabling WFD.
2013-04-18 15:22:25 -07:00
Jeff Brown
253bc7505c am a454c573: Merge "Sent hint to Wifi driver when enabling WFD." into jb-mr2-dev
* commit 'a454c5732cacffdda53ae277b1e43d87b43044b1':
  Sent hint to Wifi driver when enabling WFD.
2013-04-18 15:17:53 -07:00
Jeff Brown
a454c5732c Merge "Sent hint to Wifi driver when enabling WFD." into jb-mr2-dev 2013-04-18 22:16:05 +00:00
Craig Mautner
7bb0ae0d45 Merge "Add null test and remove redundant call." 2013-04-18 21:31:27 +00:00
Craig Mautner
f06b8c1788 Add null test and remove redundant call.
- Did not handle the case where mTaskIdToTask returned null.
Fixes bug 8646178.
- updateInputWindowsLw() was being called in removeWindows
immediately after it was called in performLayoutAndUpdateSurfaces.

Change-Id: I1b8bcfadcc93f8c6638fd4247b426af77feeee23
2013-04-18 14:27:28 -07:00
Craig Mautner
709393fc8c Merge "Fix launching logic." 2013-04-18 21:16:04 +00:00
Craig Mautner
69ada558f5 Fix launching logic.
Fixes bug 8643197.

Change-Id: Ie09a767082dc492b449111da91bc0e77b43fa2f6
2013-04-18 13:51:51 -07:00
Craig Mautner
ab0a890412 Merge "Add transparent frame around focused stack." 2013-04-18 19:57:43 +00:00
Svetoslav Ganov
33cf00a07e am 7a3e91f4: am 467a052e: Magnification does not work if no enabled accessibility services.
* commit '7a3e91f4f99c84463cc481c1d9c68003c2ca4554':
  Magnification does not work if no enabled accessibility services.
2013-04-18 11:40:34 -07:00
Svetoslav Ganov
7a3e91f4f9 am 467a052e: Magnification does not work if no enabled accessibility services.
* commit '467a052e159d5dc87b27ce94f8559576ec73040b':
  Magnification does not work if no enabled accessibility services.
2013-04-18 11:36:42 -07:00
Satoshi Kataoka
1a546dca77 Merge "Fixed the problem ime invisible status despite being the icon that appears in the statusbar." 2013-04-18 17:43:38 +00:00
Svetoslav Ganov
467a052e15 Magnification does not work if no enabled accessibility services.
This is a regression in which the input filter of the accessibility
manager service is not set if magnification is enabled but accessibility
is not - i.e. no accessibility serivces are enabled. Fixed the logic to
install the input filter if magnification is on but services are not
enabled in addition to services being enabled.

bug:8652765

Change-Id: Ia73e1064035f95ba0f246f4cabcc42d58c12a11f
2013-04-18 10:42:30 -07:00
Craig Mautner
a9a3fb1da3 Add transparent frame around focused stack.
- Also fix bugs when removing stack.

Change-Id: I3e0e3029f512f086601add00ccf34b2fea84296d
2013-04-18 10:02:38 -07:00
Svetoslav Ganov
0ecfa017de Reload accessibility service infos for reisntalled packages.
When something that affects the state of accessibility in the sysytem
changes, we run a reolve method that reloads all relevant information and
if it changed we call a method that makes everyting right. One of the
interesting properties we read is the isntalled accessibliity services.

We are using equals to figure out whether these services have changed
but this is not correct since AccessibilityServiceInfo does not use all
internal members for equals and using all memthis is not reasible since
some of these internal members do not support equals propertly, for
example ResolveInfo.

Therefore, when a package is reinstalled we remove all installed services
from the list of ones we know about which forces them to be reloaded,
thus capturing the current state of a reinstalled package.

bug:8621960

Change-Id: Ie1ef4bf1036d8d6e033cd9528ea2292ce24e5320
2013-04-18 09:47:48 -07:00
Daniel Sandler
32e698b12f Once again, cancel all when notifications canceled for pkg.
Right now this only works if you go through the front door
(using setNotificationsEnabledForPackage()); if you set the
AppOps for a package otherwise the existing notifications
will not be cleared (but new ones will be blocked). Since
there's no UI for modifying AppOps today this shouldn't be a
problem.

Bug: 8489214
Change-Id: I84f8c76a0d03959127e9076ab2b7d37dbdaebb17
2013-04-18 11:31:52 -04:00
Satoshi Kataoka
5faf1985af am 3e3a7b3b: am f024e7ac: Merge "Fix possible NPE" into jb-mr2-dev
* commit '3e3a7b3b1ed641dfa7c321f48bd228c59dc3c180':
  Fix possible NPE
2013-04-17 20:40:25 -07:00
Satoshi Kataoka
3e3a7b3b1e am f024e7ac: Merge "Fix possible NPE" into jb-mr2-dev
* commit 'f024e7ac44e00ea560f547b4e5d67645a2e6c9b4':
  Fix possible NPE
2013-04-17 20:36:12 -07:00
Satoshi Kataoka
f024e7ac44 Merge "Fix possible NPE" into jb-mr2-dev 2013-04-18 03:33:39 +00:00
Jeff Brown
f110a3701b Sent hint to Wifi driver when enabling WFD.
Bug: 8521148
Change-Id: I53b4cf7a3714b28f9df457e559abe92711c02cef
2013-04-17 20:25:36 -07:00
Dianne Hackborn
a6e8ebb12f am fb4e1c21: am 25b49734: Merge "Fix issue #8540550: Screenshots should never have transparency" into jb-mr2-dev
* commit 'fb4e1c21eddf07fad7b36ac5e19dd2d479e71c5c':
  Fix issue #8540550: Screenshots should never have transparency
2013-04-17 19:07:03 -07:00